Allin,

Okay, fine. I still get this, however:

----------------------------------------------------------------------------------------------------------------------------------------------------
clive@clivubu:~/gretl-2015d$ ./configure --prefix=/usr/local --enable-quiet-build --enable-openmp
configuring for gretl 2015d (library version 15.0.0)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for a sed that does not truncate output... /bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether ln -s works... yes
checking for sin in -lm... yes
checking for fopen in -lc... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking libproc.h usability... no
checking libproc.h presence... no
checking for libproc.h... no
checking sys/proc_info.h usability... no
checking sys/proc_info.h presence... no
checking for sys/proc_info.h... no
checking for an ANSI C-conforming const... yes
checking for long double with more range or precision than double... yes
checking for vasprintf... yes
checking for posix_memalign... yes
checking size of int... 4
checking return type of signal handlers... void
checking whether byte ordering is bigendian... no
checking whether to use SSE2... yes
checking whether to use AVX... yes
checking whether to use OpenMP... yes
checking immintrin.h usability... yes
checking immintrin.h presence... yes
checking for immintrin.h... yes
checking for mpicc... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for struct sockaddr_in... yes
checking for struct in_addr... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking for tgetent in -lncurses... yes
checking for readline in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes
checking for xdg-mime... yes
checking for mmap... yes
checking for gzopen in -lz... yes
checking for GMP - version >= 4.0.1... yes
checking for MPFR - version >= 2.2.0... yes
checking for libgfortran... checking for _gfortran_abort in -lgfortran... yes
checking for LAPACK... yes
checking for dgejsv_ in -llapack... yes
checking for gnuplot... yes
checking for gnuplot >= 4.4.0 with PNG support... yes
checking for pdflatex... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FFTW... yes
checking for CURL... yes
checking for GLIB... yes
checking for GLIB28... yes
checking for JSON_GLIB... yes
checking for GTK3... no
GTK 3 >= 3.0.1 not found
checking for GTK2... yes
checking for GTKSPINNER... yes
checking for GTKSOURCEVIEW... yes
checking for GDK_PIXBUF... yes
checking for XML... yes
checking for RLIB... yes
checking whether CC supports -Wno-deprecated-declarations... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gretl_sh
config.status: creating gretl.pc
config.status: creating gui2/Makefile
config.status: creating gui2/debug
config.status: creating xdg/gretl.desktop
config.status: creating xdg/Makefile
config.status: creating cli/Makefile
config.status: creating cli/debug
config.status: creating lib/Makefile
config.status: creating plugin/Makefile
config.status: creating po/Makefile.in
config.status: creating share/Makefile
config.status: creating share/bcih/Makefile
config.status: creating tests/Makefile
config.status: creating extra/Makefile
config.status: creating osx/Makefile
config.status: creating osx/gretl.sh
config.status: creating osx/fixlinks.sh
config.status: creating osx/Info.plist
config.status: creating redhat/gretl.spec
config.status: creating utils/emacs/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gretl_sh
config.status: creating gretl.pc
config.status: creating gui2/Makefile
config.status: creating gui2/debug
config.status: creating xdg/gretl.desktop
config.status: creating xdg/Makefile
config.status: creating cli/Makefile
config.status: creating cli/debug
config.status: creating lib/Makefile
config.status: creating plugin/Makefile
config.status: creating po/Makefile.in
config.status: creating share/Makefile
config.status: creating share/bcih/Makefile
config.status: creating tests/Makefile
config.status: creating extra/Makefile
config.status: creating osx/Makefile
config.status: creating osx/gretl.sh
config.status: creating osx/fixlinks.sh
config.status: creating osx/Info.plist
config.status: creating redhat/gretl.spec
config.status: creating utils/emacs/Makefile
config.status: creating doc/gretl.sty
config.status: creating doc/gretl-lite.sty
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands

Configuration:

  Installation path:                      /usr/local
  Use readline library:                   yes
  Use gnuplot for graphs:                 yes
  Use pdflatex for typesetting:           yes
  Use libgsf for zip/unzip:               no
  MPFR support:                           yes
  sse2 support for RNG:                   yes
  OpenMP support:                         yes
  MPI support:                            no
  AVX support for arithmetic:             yes
  Build with GTK version:                 2.0
  Build gretl documentation:              no
  Use Lucida fonts:                       no
  Build message catalogs:                 yes
  Build gretl addons:                     no
  X-12-ARIMA support:                     yes
  TRAMO/SEATS support:                    yes
  libR support:                           yes
  ODBC support:                           no
  JSON parsing support:                   yes
  Experimental audio support:             no
  Use xdg-utils in installation:          if DESTDIR not set

  LAPACK libraries:
    -llapack -lblas -lgfortran

Now type 'make' to build gretl.

clive@clivubu:~/gretl-2015d$ make -j3
./builddate
make -C po
make -C xdg
build.h is current
make -C lib
make[1]: Entering directory '/home/clive/gretl-2015d/po'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/clive/gretl-2015d/po'
make[1]: Entering directory '/home/clive/gretl-2015d/xdg'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/clive/gretl-2015d/xdg'
make[1]: Entering directory '/home/clive/gretl-2015d/lib'
  LD    libgretl-1.0.la
make[1]: Leaving directory '/home/clive/gretl-2015d/lib'
make -C cli
make -C gui2
make -C plugin
make[1]: Entering directory '/home/clive/gretl-2015d/cli'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/clive/gretl-2015d/cli'
make -C share
make[1]: Entering directory '/home/clive/gretl-2015d/share'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/clive/gretl-2015d/share'
make[1]: Entering directory '/home/clive/gretl-2015d/plugin'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/clive/gretl-2015d/plugin'
make[1]: Entering directory '/home/clive/gretl-2015d/gui2'
./mklang > gretl.lang
make[1]: Leaving directory '/home/clive/gretl-2015d/gui2'
clive@clivubu:~/gretl-2015d$ make pdfdocs
make -C
make: option requires an argument -- 'C'
Usage: make [options] [target] ...
Options:
  -b, -m Ignored for compatibility.
  -B, --always-make Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d Print lots of debugging information.
  --debug[=FLAGS] Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  --eval=STRING               Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE

                              Read FILE as a makefile.

  -h, --help Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules Disable the built-in implicit rules.
  -R, --no-builtin-variables Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version Print the version number of make and exit.
  -w, --print-directory Print the current directory.
  --no-print-directory Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>
Makefile:68: recipe for target 'pdfdocs' failed
make: *** [pdfdocs] Error 2
----------------------------------------------------------------------------------------------------------------------------------------------------

Thoughts?

C

On 25 October 2015 at 21:05, Allin Cottrell <cottrell@wfu.edu> wrote:
On Sun, 25 Oct 2015, Clive Nicholas wrote:

Sorry for the delay in response: the weekend took over! See my code and
(very long) output below:

clive@clivubu:~/gretl-git$ sudo ./configure --prefix=/usr/local
--enable-quiet-build --enable-openmp --enable-build-doc

You don't want to use "sudo" for any of the steps in a gretl build (or git pull) except the final "make install". If you perform any of the prior steps as the superuser you're thereby creating files that you cannot modify "as yourself", so the build will run into permissions problems such as the following:

clive@clivubu:~/gretl-git$ make
./builddate
Can't write to build.h
Makefile:103: recipe for target 'buildstamp' failed

The "sudo" in "sudo make install" is required (only) because at that point you need to write to public file-space (under /usr/local by default) for which you don't have write permission as an ordinary user.


Allin Cottrell
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users



--
Clive Nicholas

"My colleagues in the social sciences talk a great deal about methodology. I prefer to call it style." -- Freeman J. Dyson