romulo@Romulo-YOGA:~/Softwares/hdf-4.2.12$ sudo ./configure --with-jpeg=/usr/local --prefix=/usr/local --disable-netcdf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/romulo/Softwares/hdf-4.2.12/bin/missing: Unknown `--is-lightweight' option Try `/home/romulo/Softwares/hdf-4.2.12/bin/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking shell variables initial values... done checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking if basename works... yes checking if xargs works... yes checking for config x86_64-unknown-linux-gnu... no checking for config x86_64-unknown-linux-gnu... no checking for config unknown-linux-gnu... no checking for config unknown-linux-gnu... no checking for config x86_64-linux-gnu... no checking for config x86_64-linux-gnu... no checking for config x86_64-unknown... no checking for config linux-gnu... found checking whether make sets $(MAKE)... (cached) yes 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes checking how to get verbose linking output from gfortran... -v checking for Fortran 77 libraries of gfortran... -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lgfortran -lm -lquadmath checking for dummy main to link with Fortran 77 libraries... none checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore checking if Java JNI interface enabled... no checking whether ln -s works... yes checking for ar... ar checking for bison... bison -y checking for flex... flex checking for diff... diff -w checking for makeinfo... makeinfo checking for neqn... neqn checking for tbl... tbl checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-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 archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no 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 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 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... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... yes checking if gfortran supports -c -o file.o... yes checking if gfortran supports -c -o file.o... (cached) yes checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: creating ./config.lt config.lt: creating libtool checking if we should install only statically linked executables... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for compress2 in -lz... yes checking for compress2... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_start_decompress in -ljpeg... yes checking for szlib... suppressed checking for xdr library support... yes checking for ANSI C header files... (cached) yes checking whether gcc and cc understand -c and -o together... yes checking how to run the C++ preprocessor... g++ -E checking whether gfortran understands -c and -o together... yes checking size of int*... 8 checking whether byte ordering is bigendian... no checking for build mode... production checking for math library support... yes checking for fork... yes checking for system... yes checking for vfork... yes checking for wait... yes checking if deprecated public symbols are available... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libhdf4.settings config.status: creating hdf/Makefile config.status: creating hdf/examples/Makefile config.status: creating hdf/fortran/Makefile config.status: creating hdf/fortran/examples/Makefile config.status: creating hdf/src/Makefile config.status: creating hdf/test/Makefile config.status: creating hdf/util/Makefile config.status: creating hdf/util/h4cc config.status: creating hdf/util/h4fc config.status: creating hdf/util/h4redeploy config.status: creating hdf/util/testutil.sh config.status: creating man/Makefile config.status: creating mfhdf/fortran/ftest.f config.status: creating mfhdf/fortran/jackets.c config.status: creating mfhdf/fortran/netcdf.inc config.status: creating mfhdf/libsrc/netcdf.h config.status: creating mfhdf/Makefile config.status: creating mfhdf/dumper/Makefile config.status: creating mfhdf/dumper/testhdp.sh config.status: creating mfhdf/examples/Makefile config.status: creating mfhdf/examples/testexamples.sh config.status: creating mfhdf/fortran/Makefile config.status: creating mfhdf/fortran/examples/Makefile config.status: creating mfhdf/fortran/testfortran.sh config.status: creating mfhdf/hdfimport/Makefile config.status: creating mfhdf/hdfimport/testutil.sh config.status: creating mfhdf/hdiff/Makefile config.status: creating mfhdf/hdiff/testhdiff.sh config.status: creating mfhdf/hrepack/Makefile config.status: creating mfhdf/hrepack/hrepack.sh config.status: creating mfhdf/hrepack/hrepack_all.sh config.status: creating mfhdf/libsrc/Makefile config.status: creating mfhdf/ncdump/Makefile config.status: creating mfhdf/ncdump/testncdump.sh config.status: creating mfhdf/ncgen/Makefile config.status: creating mfhdf/ncgen/testncgen.sh config.status: creating mfhdf/nctest/Makefile config.status: creating mfhdf/test/Makefile config.status: creating mfhdf/test/testmfhdf.sh config.status: creating mfhdf/xdr/Makefile config.status: creating java/Makefile config.status: creating java/src/Makefile config.status: creating java/src/jni/Makefile config.status: creating java/test/Makefile config.status: creating java/test/junit.sh config.status: creating java/examples/Makefile config.status: creating hdf/src/h4config.h config.status: executing h4config commands modifying hdf/src/h4config.h Post process libhdf4.settings config.status: executing depfiles commands config.status: executing libtool commands config.status: executing .classes commands Renaming "mfhdf/libsrc/netcdf.h" to "mfhdf/libsrc/hdf4_netcdf.h" . SUMMARY OF THE HDF4 CONFIGURATION ================================= General Information: ------------------- HDF4 Version: 4.2.12 Configured on: Thu Jul 7 08:27:30 MDT 2016 Configured by: root@Romulo-YOGA Configure mode: production Host system: x86_64-unknown-linux-gnu Uname information: Linux Romulo-YOGA 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Libraries: Installation point: /usr/local Compiling Options: ------------------ Compilation Mode: production C compiler: /usr/bin/gcc CFLAGS: -O3 -fomit-frame-pointer CPPFLAGS: -I/usr/local/include -DBIG_LONGS -DSWAP Shared Libraries: no Static Libraries: yes Statically Linked Executables: no LDFLAGS: -L/usr/local/lib Extra libraries: -ljpeg -lz Archiver: ar Ranlib: ranlib Languages: ---------- Fortran: yes Fortran Compiler: /usr/bin/gfortran FFLAGS: -O Java: no Features: --------- SZIP compression: disabled Support for netCDF API 2.3.2: no romulo@Romulo-YOGA:~/Softwares/hdf-4.2.12$ ls aclocal.m4 CMakeLists.txt config.status CTestConfig.cmake libhdf4.settings.in Makefile.am MANIFEST release_notes bin config configure hdf libtool Makefile.dist mfhdf UserMacros.cmake CMakeFilters.cmake config.log configure.ac java m4 Makefile.in move-if-change CMakeInstallation.cmake config.lt COPYING libhdf4.settings Makefile man README.txt romulo@Romulo-YOGA:~/Softwares/hdf-4.2.12$ sudo make && sudo make install Making all in hdf make[1]: Entering directory '/home/romulo/Softwares/hdf-4.2.12/hdf' Making all in src make[2]: Entering directory '/home/romulo/Softwares/hdf-4.2.12/hdf/src' make all-am make[3]: Entering directory '/home/romulo/Softwares/hdf-4.2.12/hdf/src' /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -DBIG_LONGS -DSWAP -O3 -fomit-frame-pointer -MT atom.lo -MD -MP -MF .deps/atom.Tpo -c -o atom.lo atom.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -DBIG_LONGS -DSWAP -O3 -fomit-frame-pointer -MT atom.lo -MD -MP -MF .deps/atom.Tpo -c atom.c -o atom.o mv -f .deps/atom.Tpo .deps/atom.Plo /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -DBIG_LONGS -DSWAP -O3 -fomit-frame-pointer -MT bitvect.lo -MD -MP -MF .deps/bitvect.Tpo -c -o bitvect.lo bitvect.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -DBIG_LONGS -DSWAP -O3 -fomit-frame-pointer -MT bitvect.lo -MD -MP -MF .deps/bitvect.Tpo -c bitvect.c -o bitvect.o mv -f .deps/bitvect.Tpo .deps/bitvect.Plo /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -DBIG_LONGS -DSWAP -O3 -fomit-frame-pointer -MT cdeflate.lo -MD -MP -MF .deps/cdeflate.Tpo -c -o cdeflate.lo cdeflate.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -DBIG_LONGS -DSWAP -O3 -fomit-frame-pointer -MT cdeflate.lo -MD -MP -MF .deps/cdeflate.Tpo -c cdeflate.c -o cdeflate.o mv -f .deps/cdeflate.Tpo .deps/cdeflate.Plo /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -DBIG_LONGS -DSWAP -O3 -fomit-frame-pointer -MT cnbit.lo -MD -MP -MF .deps/cnbit.Tpo -c -o cnbit.lo cnbit.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -DBIG_LONGS -DSWAP -O3 -fomit-frame-pointer -MT cnbit.lo -MD -MP -MF .deps/cnbit.Tpo -c cnbit.c -o cnbit.o In file included from hdf.h:20:0, from cnbit.c:37: cnbit.c: In function 'HCIcnbit_init': hdf.h:102:24: error: expected expression before ')' token # define TRUE (!FALSE) ^ hdfi.h:1283:61: note: in definition of macro 'HDmemset' # define HDmemset(dst,c,n) (memset((void *)(dst),(intn)(c),(size_t)(n))) ^ cnbit.c:132:59: note: in expansion of macro 'TRUE' HDmemset(nbit_info->mask_buf, (nbit_info->fill_one == TRUE ? 0xff : 0), ^ In file included from cnbit.c:37:0: hdf.h:102:24: error: expected expression before ')' token # define TRUE (!FALSE) ^ cnbit.c:205:32: note: in expansion of macro 'TRUE' if (nbit_info->fill_one == TRUE) ^ Makefile:665: recipe for target 'cnbit.lo' failed make[3]: *** [cnbit.lo] Error 1 make[3]: Leaving directory '/home/romulo/Softwares/hdf-4.2.12/hdf/src' Makefile:484: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/romulo/Softwares/hdf-4.2.12/hdf/src' Makefile:424: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/romulo/Softwares/hdf-4.2.12/hdf' Makefile:514: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1