I'm trying to compile gnuworld (downloaded from the cvs as of Monday January 6th) on my redhat 8.0, but it won't compile......
Is this a gnuworld problem? postgresql? openssl? Please help..... Thanks. Making all in mod.ccontrol make[1]: Entering directory `/home/gnuworld/gnuworld/mod.ccontrol' if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include -I/home/gnuworld/gnuworld/liblt$ -c -o ccontrol.lo `test -f 'ccontrol.cc' || echo './'`ccontrol.cc; \ then mv ".deps/ccontrol.Tpo" ".deps/ccontrol.Plo"; \ else rm -f ".deps/ccontrol.Tpo"; exit 1; \ fi mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include -I/home/gnuworld/gnuworld/libltdl -Wall -pipe -g -O0 -I/home/gnuworl$ cc1plus: warning: changing search order for system directory "/usr/include" cc1plus: warning: as it has already been specified as a non-system directory In file included from /usr/include/openssl/evp.h:89, from /usr/include/openssl/x509.h:67, from /usr/include/openssl/ssl.h:69, from /usr/include/libpq-fe.h:33, from /usr/include/libpq++/pgconnection.h:41, from /usr/include/libpq++.h:27, from ccUser.h:10, from ccontrol.cc:48: /usr/include/openssl/des.h:193: declaration of `char* crypt(const char*, const char*)' throws different exceptions /usr/include/unistd.h:946: than previous declaration `char* crypt(const char*, const char*) throw ()' make[1]: *** [ccontrol.lo] Error 1 make[1]: Leaving directory `/home/gnuworld/gnuworld/mod.ccontrol' make: *** [all-recursive] Error 1 Here's the ./configure output if it helps: 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 whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for strerror in -lcposix... no checking build system type... i686-pc-linux-gnu checking host 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 for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for egrep... 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 dlfcn.h usability... yes checking dlfcn.h presence... yes 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... yes checking whether -lc should be explicitly linked in... no creating libtool 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 ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 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 how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... (cached) yes checking whether to detect pthread libraries... yes checking whether gcc accepts the -pthread option... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking how to run the C++ preprocessor... g++ -E checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for unistd.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking asm/ioctls.h usability... yes checking asm/ioctls.h presence... yes checking for asm/ioctls.h... yes checking xti_inet.h usability... no checking xti_inet.h presence... no checking for xti_inet.h... no checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking return type of signal handlers... void checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking for libpq++.h... yes checking for libpq++.so... yes Detecting modules.. (Adding modules & creating Makefiles cut) configure: configuring in libltdl configure: running /bin/sh './configure' --prefix=/home/gnuworld/gnuworld '--with-pgsql-include=/usr/include' '--with-pgsq$ loading cache /dev/null 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... 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... 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 for working const... yes checking for inline... inline checking for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... gcc -E checking host system type... i686-pc-linux-gnu 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 for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent 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... yes checking whether -lc should be explicitly linked in... no creating libtool checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... 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 shl_load... no checking for shl_load in -ldld... no checking for dlopen in -ldl... yes 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... 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... 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 /dev/null creating ./config.status creating Makefile creating config.h