From: Gaurav T. <g_t...@ya...> - 2012-08-28 00:23:42
|
Hi, I'm trying to install the Infomap tool. I already installed the required GNU DBM library in a local directory. When running Infomap configure, I set the environment variables on the command line to point to the appropriate GNU DBM path. But configure is unsuccessful with warnings highlighted in red below. > ./configure --prefix=/home/user/install CC="/usr/bin/gcc" LDFLAGS="-L/home/user/install/lib/" CPPFLAGS="-I/home/user/install/include/" CFLAGS="-I/home/user/install/include/" checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... /usr/bin/gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of /usr/bin/gcc... gcc3 checking how to run the C preprocessor... /usr/bin/gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for sqrt in -lm... yes checking for dbm_open in -lgdbm... no checking for dbm_open in -lgdbm_compat... yes checking for egrep... grep -E checking for ANSI C header files... no configure: WARNING: configure has detected that you do not have the ANSI standard C header files. Compilation cannot proceed. Please install the ANSI C headers, or write to inf...@li... for advice. 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking ndbm.h usability... yes checking ndbm.h presence... yes checking for ndbm.h... yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... no configure: WARNING: configure has detected that your system does not have a GNU-compatible malloc() function. (malloc(0) should return a valid (non-null) pointer.) Please install a GNU-compatible malloc() on your system, or write to inf...@li... for advice. checking whether lstat dereferences a symlink specified with a trailing slash... no checking whether stat accepts an empty string... no checking for getcwd... yes checking for memset... yes checking for setlocale... yes checking for sqrt... yes checking for strchr... yes checking for strdup... yes checking for strstr... yes checking for dbm_open... yes checking for dbm_close... yes checking for dbm_fetch... yes checking for dbm_store... yes configure: error: One or more errors found (see output above for details). Configuration unsuccessful. If I don't specify the GNU DBM path, it doesn't throw any of these warnings, but rightfully suggest missing DBM files. What could be missing in this case? Thanks, Gaurav |