[Gambas-user] Problem compiling 0.72 with debian unstable

Grahame White grahame at ...307...
Sat Nov 22 02:40:46 CET 2003


I downloaded the 0.72 source, untarred and did a ./configure which produced 
the following

creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for malloc.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking return type of signal handlers... void
checking for working strcoll... yes
checking for strftime... yes
checking for vprintf... yes
checking for wait3 that fills in rusage... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for rmdir... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strtod... yes
checking for strtol... yes
checking for setenv... yes
checking for unsetenv... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking build system type... i686-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 /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
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 -lc should be explicitly linked in... no
creating libtool
checking for main in -lm... yes
checking for main in -lz... yes
checking for main in -lgcc_s... yes
checking for main in -lstdc++... yes
checking which extension is used for shared libraries... .so
checking for threading compiler options... 
checking for threading linker options... -lpthread
checking for internationalization headers... /usr/include/
checking for internationalization libraries... no
configure: warning: *** internationalization is disabled
checking for charset conversion headers... /usr/include/
checking for charset conversion libraries... no
configure: warning: *** charset conversion is disabled
checking for QT component headers... /usr/include/qt3/
checking for QT component libraries... /usr/lib/
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for QT meta-object compiler... /usr/lib//../bin/moc
checking for KDE 3.x component headers... /usr/include/kde/
checking for KDE 3.x component libraries... /usr/lib/
checking for Networking component headers... 
checking for Networking component libraries... 
checking for PostgreSQL driver headers... no
checking for PostgreSQL driver libraries... no
configure: warning: *** PostgreSQL driver is disabled
checking for MySQL driver headers... no
checking for MySQL driver libraries... no
configure: warning: *** MySQL driver is disabled
checking for SDL component headers... /usr/include/SDL/
checking for SDL component libraries... /usr/lib/
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/share/Makefile
creating src/comp/Makefile
creating src/exec/Makefile
creating src/lib/Makefile
creating src/lib/eval/Makefile
creating src/lib/example/Makefile
creating src/lib/qt/Makefile
creating src/lib/qt/editor/Makefile
creating src/lib/qt/ext/Makefile
creating src/lib/qt/kde/Makefile
creating src/lib/db/Makefile
creating src/lib/db/mysql/Makefile
creating src/lib/db/postgresql/Makefile
creating src/lib/sdl/Makefile
creating src/lib/net/Makefile
creating config.h
configuring in libltdl
running /bin/sh ./configure  --enable-ltdl-convenience --cache-file=.././
config.cache --srcdir=.
loading cache .././config.cache
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 whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for working const... (cached) yes
checking for inline... inline
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached)  -fPIC
checking if gcc PIC flag  -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/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 whether -lc should be explicitly linked in... (cached) no
creating libtool
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking whether gcc supports assert without backlinking... 
checking which extension is used for shared libraries... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for dlopen in -ldl... (cached) yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking for errno.h... yes
checking for malloc.h... (cached) yes
checking for memory.h... yes
checking for stdlib.h... yes
checking for stdio.h... yes
checking for ctype.h... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for string.h... yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
updating cache .././config.cache
creating ./config.status
creating Makefile
creating config.h

Which, to me, aside from a few minor points, looks fine

I then proceeded to do a make, which also seemed to be going fine until the 
following error

 c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt3/ -I../../../src/
share -g -O2 -pipe -Wall -fno-exceptions -g -O0 -c main.cpp  -fPIC -DPIC 
-o main.lo
In file included from CWindow.h:37,
                 from main.cpp:56:
CContainer.h:28:22: qobjcoll.h: No such file or directory
In file included from CWindow.h:38,
                 from main.cpp:56:
CMenu.h:32:19: qlist.h: No such file or directory
In file included from main.cpp:76:
CTabStrip.h:34:21: qvector.h: No such file or directory
make[5]: *** [main.lo] Error 1
make[5]: Leaving directory `/home/grahame/gambas-0.72/src/lib/qt'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/grahame/gambas-0.72/src/lib/qt'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/grahame/gambas-0.72/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/grahame/gambas-0.72/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/grahame/gambas-0.72'
make: *** [all-recursive-am] Error 2

I'm using :
gcc 3.3.2
automake 1.4
autoconf 2.58






More information about the User mailing list