gnupic: gpsim's configure script


Previous by date: 28 Aug 2000 17:25:45 -0000 Re: Problem with compiling of gpsim in Debian/Linux 2.2, Joop Stakenborg
Next by date: 28 Aug 2000 17:25:45 -0000 Re: gpsim's configure script, Scott Dattalo
Previous in thread:
Next in thread: 28 Aug 2000 17:25:45 -0000 Re: gpsim's configure script, Scott Dattalo

Subject: gpsim's configure script
From: ####@####.####
Date: 28 Aug 2000 17:25:45 -0000
Message-Id: <20000828202401.A11700@small.mydmn>

configure fails when checking for eXdbm. I installed the file
eXdbm-0.1.0b2.tar.gz.

bash-2.01$ ls /usr/local/lib/libeXdbm.*
/usr/local/lib/libeXdbm.a         /usr/local/lib/libeXdbm.so.0
/usr/local/lib/libeXdbm.la        /usr/local/lib/libeXdbm.so.0.0.0
/usr/local/lib/libeXdbm.so


bash-2.01$ ls /usr/local/include/eXdbm/
eXdbm.h        eXdbmErrors.h  eXdbmTypes.h


bash-2.01$ pwd
/home/ralf/work/gpsim/gpsim-0.20.2


bash-2.01$ ./configure --with-exdbm=/usr/local
loading cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for bison... (cached) bison -y
checking for gcc... (cached) gcc
checking whether the C compiler (gcc   -L/usr/local/lib) works... yes
checking whether the C compiler (gcc   -L/usr/local/lib) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for c++... (cached) c++
checking whether the C++ compiler (c++   -L/usr/local/lib) works... yes
checking whether the C++ compiler (c++   -L/usr/local/lib) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
enabling gui support
checking for main in -lreadline... yes
checking for gtk-config... /usr/bin/gtk-config
checking for gtkextra-config... /usr/local/bin/gtkextra-config
checking for eXdbm/eXdbm.h... yes
checking for eXdbmInit in -leXdbm... no
configure: error: eXdbm is needed. please use --with-exdbm option.
  see ./configure --help for instructions

The end of config.log, it's not too verbose though:

configure:2239: checking for gtk-config
configure:2280: checking for gtkextra-config
configure:2330: checking for eXdbm/eXdbm.h
configure:2340: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.ou
t
configure:2367: checking for eXdbmInit in -leXdbm
configure:2386: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib c
onftest.c -leXdbm  -lreadline  1>&5
/usr/local/lib/libeXdbm.so: undefined reference to `ceil'
/usr/local/lib/libeXdbm.so: undefined reference to `floor'
/usr/local/lib/libeXdbm.so: undefined reference to `fmod'
configure: failed program was:
#line 2375 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char eXdbmInit();

int main() {
eXdbmInit()
; return 0; }


I tried to follow what happens but didn't have enough energy.

 / Ralf



Previous by date: 28 Aug 2000 17:25:45 -0000 Re: Problem with compiling of gpsim in Debian/Linux 2.2, Joop Stakenborg
Next by date: 28 Aug 2000 17:25:45 -0000 Re: gpsim's configure script, Scott Dattalo
Previous in thread:
Next in thread: 28 Aug 2000 17:25:45 -0000 Re: gpsim's configure script, Scott Dattalo


Powered by ezmlm-browse 0.20.