[htdig] Compiling 3.2b2 under Solaris (X86)


Subject: [htdig] Compiling 3.2b2 under Solaris (X86)
From: Roger Salisbury (rogers@axs4u.net)
Date: Wed Apr 19 2000 - 11:10:18 PDT


If I switch out "/usr/include" to "/opt/gnu/include" it will compile but
then all
of the HT programs core dump.

www# uname -a
SunOS www 5.7 Generic_106542-10 i86pc i386 i86pc

www# gcc -v Reading specs from
/opt/gnu/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)

www#configure --prefix=/data/htdig
creating cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether make sets ${MAKE}... (cached) yes
checking host system type... i386-pc-solaris2.7
checking build system type... i386-pc-solaris2.7
checking for ranlib... ranlib
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 ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
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 ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/ccs/bin/ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.7 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
updating cache ./config.cache
loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
configuring ht://Dig version 3.2.0b2
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
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 maximum warning verbosity option... -Wall for C++ -Wall for C
checking for ranlib... (cached) ranlib
checking for ar... /usr/ccs/bin/ar
checking for sh... /bin/sh
checking for sed... /bin/sed
checking for perl... /opt/gnu/bin/perl
checking for find... /bin/find
checking for gunzip... /opt/gnu/bin/gunzip
checking for tar... tar
checking for mv... /bin/mv
checking for sendmail... /usr/lib/sendmail
checking for time... /bin/time
checking verbose time flag...
checking how to run the C preprocessor... gcc -E
checking for flex... no
checking for lex... lex
checking for flex... (cached) lex
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking for bison... no
checking for byacc... no
checking for AIX... no
checking for socket in -lsocket... yes
checking for t_accept in -lnsl... yes
checking if zlib is wanted... yes
checking for inflateEnd in -lz... yes
checking for zlib.h... yes
checking for inflateEnd in -lz... (cached) yes
checking zlib in /usr... ok
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking how to run the C++ preprocessor... c++ -E
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for getopt.h... no
checking for strings.h... yes
checking for zlib.h... (cached) yes
checking for alloca.h... yes
checking for sys/select.h... yes
checking for fstream.h... yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking for working const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strftime... yes
checking for strptime... yes
checking for strptime declaration in time.h... yes
checking for localtime_r... yes
checking for timegm... no
checking if we should use the included regex?... no
checking whether we need gethostname() prototype?... yes
checking how to call getpeername?... checking how to call select?... fd_set
checking for bool data type?... yes
checking for true and false?... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating db/Makefile
creating htcommon/Makefile
creating htword/Makefile
creating htnet/Makefile
creating htlib/Makefile
creating htdb/Makefile
creating htdig/Makefile
creating htmerge/Makefile
creating httools/Makefile
creating htfuzzy/Makefile
creating htsearch/Makefile
creating installdir/Makefile
creating include/Makefile
creating htdoc/Makefile
creating test/Makefile
creating test/test_functions
creating include/htconfig.h
configuring in db/dist
running /bin/sh
./configure --prefix=/data/htdig --enable-cxx --cache-file=../.././config.c
ache --srcdir=.
loading cache ../.././config.cache
checking if building in the top-level directory... checking for a BSD
compatible install... ./install-sh -c
checking host system type... i386-pc-solaris2.7
checking if --enable-debug option specified... no
checking for cc... (cached) gcc
checking for gcc... (cached) gcc
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O ) works... yes
checking whether the C compiler (gcc -O ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking if --enable-diagnostic option specified... no
checking if --enable-cxx option specified... yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ -O ) works... yes
checking whether the C++ compiler (c++ -O ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking if --enable-compat185 option specified... no
checking if --enable-dump185 option specified... no
checking for ar... /usr/ccs/bin/ar
checking for chmod... /bin/chmod
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
checking for ranlib... /usr/ccs/bin/ranlib
checking for rm... /bin/rm
checking for sh... /bin/sh
checking for strip... /usr/ccs/bin/strip
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for ssize_t... yes
checking whether byte ordering is bigendian... no
checking for working const... (cached) yes
checking for st_blksize in struct stat... yes
checking whether stat file-mode macros are broken... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/select.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for getcwd... yes
checking for getopt... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for raise... yes
checking for snprintf... yes
checking for strerror... (cached) yes
checking for strsep... no
checking for vsnprintf... yes
checking for getuid... yes
checking for pread... yes
checking for pstat_getdynamic... no
checking for sysconf... yes
checking for shmget... yes
checking for mmap... yes
checking for munmap... yes
checking for qsort... yes
checking for select... yes
checking for sigfillset... yes
checking for int type sprintf return value... yes
checking if --disable-bigfile option specified... no
checking for spinlocks... solaris/func
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking for u_int8_t... unsigned char
checking for u_int16_t... unsigned short
checking for int16_t... yes
checking for u_int32_t... unsigned int
checking for int32_t... yes
checking if --enable-test option specified... no
checking if zlib is wanted... yes
checking for inflateEnd in -lz... (cached) yes
checking for zlib.h... (cached) yes
checking for inflateEnd in -lz... (cached) yes
checking zlib in /usr... ok
checking shared lib... no
updating cache ../.././config.cache
creating ./config.status
creating Makefile
creating include.tcl
creating db.h
creating db_int.h
creating db_185.h
creating config.h

Now you must run 'make' followed by 'make install'

www#make
Making all in db
make[1]: Entering directory `/export/soft/htdig-3.2.0b2/db'
cd dist ; if [ -f Makefile ] ; then make PACKAGE=htdig all ; fi
make[2]: Entering directory `/export/soft/htdig-3.2.0b2/db/dist'
gcc -c -O -I. -I./../include -D_REENTRANT -I/usr/include ../common/db_err.c
../common/db_err.c: In function `__db_err':
../common/db_err.c:119: `__builtin_va_alist' undeclared (first use in this
funct
ion)
../common/db_err.c:119: (Each undeclared identifier is reported only once
../common/db_err.c:119: for each function it appears in.)
make[2]: *** [db_err.o] Error 1
make[2]: Leaving directory `/export/soft/htdig-3.2.0b2/db/dist'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/soft/htdig-3.2.0b2/db'
make: *** [all-recursive] Error 1

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Wed Apr 19 2000 - 08:57:05 PDT