|
From: Michael C. <Mic...@ir...> - 2001-11-22 01:26:08
|
No need to read on if someone can:
Compile htdig for solaris 2.6 and help with a link to download from. =
htdocs dir is /webdocs/prodn/, apache is /opt/apache/cgi-bin/, htdocs =
install dir /opt/apache/htdig/
Anyway, if no one can do that then read on:
Ok, I have encountered a problem when compiling on Solaris 2.6. Configure =
runs perfect, then when it comes to make, I get the following (Am going =
into full detail here):
###########################################################################=
######
./configure=20
loading 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
configuring ht://Dig version 3.1.5
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 c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... yes
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking for ar... /usr/ccs/bin//ar
checking for sh... /bin/sh
checking for sed... /usr/bin/sed
checking for sort... /usr/bin/sort
checking for find... /usr/bin/find
checking for gunzip... /usr/local/bin//gunzip
checking for tar... tar
checking for acroread... /usr/local/bin/acroread
checking for sendmail... /usr/lib/sendmail
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for socket in -lsocket... yes
checking for t_accept in -lnsl... yes
checking for deflate in -lz... yes
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... yes
checking for alloca.h... yes
checking for sys/select.h... yes
checking for fstream.h... 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 localtime_r... yes
checking for timegm... no
checking whether we need gethostname() prototype?... yes
checking how to call getpeername?... int
updating cache ./config.cache
creating ./config.status
creating CONFIG
creating Makefile
creating Makefile.config
creating htcommon/Makefile
creating htlib/Makefile
creating htdig/Makefile
creating htmerge/Makefile
creating htnotify/Makefile
creating htfuzzy/Makefile
creating htsearch/Makefile
creating makedp
creating include/htconfig.h
include/htconfig.h is unchanged
configuring in db/dist
running /bin/sh ./configure --cache-file=3D../.././config.cache =
--srcdir=3D.
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... sparc-sun-solaris2.6
checking if --enable-debug option specified... no
checking for cc... gcc
checking for gcc... gcc
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking if --enable-diagnostic option specified... no
checking if --enable-cxx option specified... no
checking if --enable-compat185 option specified... no
checking if --enable-dump185 option specified... no
checking for ar... /usr/ccs/bin//ar
checking for chmod... /usr/bin/chmod
checking for cp... /usr/bin/cp
checking for mkdir... /usr/bin/mkdir
checking for ranlib... /usr/ccs/bin//ranlib
checking for rm... /usr/bin/rm
checking for sh... /sbin/sh
checking for strip... /usr/ccs/bin//strip
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for ssize_t... yes
checking whether byte ordering is bigendian... yes
checking for working const... 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... yes
checking for sys/time.h... 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... 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
creating ./config.status
creating Makefile
creating include.tcl
creating db.h
creating db_int.h
creating db_185.h
creating config.h
config.h is unchanged
Now you must run 'make' followed by 'make install'
prodn galadriel: [/jumpstart/tmp/intra-servers/intra-servers/htdig/htdig-3.=
1.5] > make
make[1]: Entering directory `/jumpstart/tmp/intra-servers/intra-servers/htd=
ig/htdig-3.1.5/db/dist'
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_compare.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_conv.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_curadj.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_cursor.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_delete.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_open.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_page.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_put.ctche
checking if building in the
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_rec.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_recno.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_rsearch.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_search.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_split.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/bt_stat.c
gcc -c -O -I. -I./../include -D_REENTRANT ../btree/btree_auto.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db.c
gcc -c -O -I. -I./../include -D_REENTRANT ../common/db_appinit.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db_am.c
gcc -c -O -I. -I./../include -D_REENTRANT ../common/db_apprec.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db_auto.c
gcc -c -O -I. -I./../include -D_REENTRANT ../common/db_byteorder.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db_conv.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db_dispatch.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db_dup.c
gcc -c -O -I. -I./../include -D_REENTRANT ../common/db_err.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db_iface.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db_join.c
gcc -c -O -I. -I./../include -D_REENTRANT ../common/db_log2.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db_overflow.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db_pr.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db_rec.c
gcc -c -O -I. -I./../include -D_REENTRANT ../common/db_region.c
gcc -c -O -I. -I./../include -D_REENTRANT ../db/db_ret.c
gcc -c -O -I. -I./../include -D_REENTRANT ../common/db_salloc.c
gcc -c -O -I. -I./../include -D_REENTRANT ../common/db_shash.c
gcc -c -O -I. -I./../include -D_REENTRANT ../dbm/dbm.c
gcc -c -O -I. -I./../include -D_REENTRANT ../hash/hash.c
gcc -c -O -I. -I./../include -D_REENTRANT ../hash/hash_auto.c
gcc -c -O -I. -I./../include -D_REENTRANT ../hash/hash_conv.c
gcc -c -O -I. -I./../include -D_REENTRANT ../hash/hash_dup.c
gcc -c -O -I. -I./../include -D_REENTRANT ../hash/hash_func.c
gcc -c -O -I. -I./../include -D_REENTRANT ../hash/hash_page.c
gcc -c -O -I. -I./../include -D_REENTRANT ../hash/hash_rec.c
gcc -c -O -I. -I./../include -D_REENTRANT ../hash/hash_stat.c
gcc -c -O -I. -I./../include -D_REENTRANT ../hsearch/hsearch.c
gcc -c -O -I. -I./../include -D_REENTRANT ../lock/lock.c
gcc -c -O -I. -I./../include -D_REENTRANT ../lock/lock_conflict.c
gcc -c -O -I. -I./../include -D_REENTRANT ../lock/lock_deadlock.c
gcc -c -O -I. -I./../include -D_REENTRANT ../lock/lock_util.c
gcc -c -O -I. -I./../include -D_REENTRANT ../lock/lock_region.c
gcc -c -O -I. -I./../include -D_REENTRANT ../log/log.c
gcc -c -O -I. -I./../include -D_REENTRANT ../log/log_archive.c
gcc -c -O -I. -I./../include -D_REENTRANT ../log/log_auto.c
gcc -c -O -I. -I./../include -D_REENTRANT ../log/log_compare.c
gcc -c -O -I. -I./../include -D_REENTRANT ../log/log_findckp.c
gcc -c -O -I. -I./../include -D_REENTRANT ../log/log_get.c
gcc -c -O -I. -I./../include -D_REENTRANT ../log/log_put.c
gcc -c -O -I. -I./../include -D_REENTRANT ../log/log_rec.c
gcc -c -O -I. -I./../include -D_REENTRANT ../log/log_register.c
gcc -c -O -I. -I./../include -D_REENTRANT ../mp/mp_bh.c
gcc -c -O -I. -I./../include -D_REENTRANT ../mp/mp_fget.c
gcc -c -O -I. -I./../include -D_REENTRANT ../mp/mp_fopen.c
gcc -c -O -I. -I./../include -D_REENTRANT ../mp/mp_fput.c
gcc -c -O -I. -I./../include -D_REENTRANT ../mp/mp_fset.c
gcc -c -O -I. -I./../include -D_REENTRANT ../mp/mp_open.c
gcc -c -O -I. -I./../include -D_REENTRANT ../mp/mp_pr.c
gcc -c -O -I. -I./../include -D_REENTRANT ../mp/mp_region.c
gcc -c -O -I. -I./../include -D_REENTRANT ../mp/mp_sync.c
gcc -c -O -I. -I./../include -D_REENTRANT ../mutex/mutex.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_abs.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_alloc.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_config.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_dir.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_fid.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_fsync.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_map.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_oflags.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_open.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_rpath.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_rw.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_seek.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_sleep.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_spin.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_stat.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_tmpdir.c
gcc -c -O -I. -I./../include -D_REENTRANT ../os/os_unlink.c
gcc -c -O -I. -I./../include -D_REENTRANT ../txn/txn.c
gcc -c -O -I. -I./../include -D_REENTRANT ../txn/txn_auto.c
gcc -c -O -I. -I./../include -D_REENTRANT ../txn/txn_rec.c
gcc -c -O -I. -I./../include -D_REENTRANT ../xa/xa.c
gcc -c -O -I. -I./../include -D_REENTRANT ../xa/xa_db.c
gcc -c -O -I. -I./../include -D_REENTRANT ../xa/xa_map.c
gcc -c -O -I. -I./../include -D_REENTRANT ../clib/strsep.c
/usr/bin/rm -f libdb.a
/usr/ccs/bin//ar cr libdb.a bt_compare.o bt_conv.o bt_curadj.o bt_cursor.o =
bt_delete.o bt_open.o bt_page.o bt_put.o bt_rec.o bt_
recno.o bt_rsearch.o bt_search.o bt_split.o bt_stat.o btree_auto.o db.o =
db_appinit.o db_am.o db_apprec.o db_auto.o db_byteorder.
o db_conv.o db_dispatch.o db_dup.o db_err.o db_iface.o db_join.o db_log2.o =
db_overflow.o db_pr.o db_rec.o db_region.o db_ret.o d
b_salloc.o db_shash.o dbm.o hash.o hash_auto.o hash_conv.o hash_dup.o =
hash_func.o hash_page.o hash_rec.o hash_stat.o hsearch.o l
ock.o lock_conflict.o lock_deadlock.o lock_util.o lock_region.o log.o =
log_archive.o log_auto.o log_compare.o log_findckp.o log_g
et.o log_put.o log_rec.o log_register.o mp_bh.o mp_fget.o mp_fopen.o =
mp_fput.o mp_fset.o mp_open.o mp_pr.o mp_region.o mp_sync.o
mutex.o os_abs.o os_alloc.o os_config.o os_dir.o os_fid.o os_fsync.o =
os_map.o os_oflags.o os_open.o os_rpath.o os_rw.o os_seek.
o os_sleep.o os_spin.o os_stat.o os_tmpdir.o os_unlink.o txn.o txn_auto.o =
txn_rec.o xa.o xa_db.o xa_map.o strsep.o
test ! -f /usr/ccs/bin//ranlib || /usr/ccs/bin//ranlib libdb.a
gcc -c -O -I. -I./../include -D_REENTRANT ../db_archive/db_archive.c
gcc -c -O -I. -I./../include -D_REENTRANT ../clib/err.c
gcc -c -O -I. -I./../include -D_REENTRANT ../clib/getlong.c
gcc -o db_archive db_archive.o err.o getlong.o libdb.a -lthread=20
gcc -c -O -I. -I./../include -D_REENTRANT ../db_checkpoint/db_checkpoint.c=
gcc -o db_checkpoint db_checkpoint.o err.o getlong.o libdb.a -lthread=20
gcc -c -O -I. -I./../include -D_REENTRANT ../db_deadlock/db_deadlock.c
gcc -o db_deadlock db_deadlock.o err.o getlong.o libdb.a -lthread=20
gcc -c -O -I. -I./../include -D_REENTRANT ../db_dump/db_dump.c
gcc -o db_dump db_dump.o err.o getlong.o libdb.a -lthread=20
gcc -c -O -I. -I./../include -D_REENTRANT ../db_load/db_load.c
gcc -o db_load db_load.o err.o getlong.o libdb.a -lthread=20
gcc -c -O -I. -I./../include -D_REENTRANT ../db_printlog/db_printlog.c
gcc -o db_printlog db_printlog.o err.o getlong.o libdb.a -lthread=20
gcc -c -O -I. -I./../include -D_REENTRANT ../db_recover/db_recover.c
gcc -o db_recover db_recover.o err.o getlong.o libdb.a -lthread=20
gcc -c -O -I. -I./../include -D_REENTRANT ../db_stat/db_stat.c
gcc -o db_stat db_stat.o err.o getlong.o libdb.a -lthread=20
make[1]: Leaving directory `/jumpstart/tmp/intra-servers/intra-servers/htdi=
g/htdig-3.1.5/db/dist'
make[1]: Entering directory `/jumpstart/tmp/intra-servers/intra-servers/htd=
ig/htdig-3.1.5/htlib'
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Confi
guration.cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Conne
ction.cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Datab
ase.cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Dicti
onary.cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 DB2_d
b.cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 IntOb
ject.cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 List.
cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Objec
t.cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Parse
dString.cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Queue
.cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Quote
dStringList.cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Stack
.cc
c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" =
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Strin
g.cc
In file included from /usr/local/include/g++-v3/backward/stream.h:32,
from String.cc:17:
/usr/local/include/g++-v3/backward/iostream.h:35: using directive =
`ostream'=20
introduced ambiguous type `ostream'
htString.h: In function `std::ostream& operator<<(std::ostream&, String&)':=
htString.h:159: `char*String::Data' is private
String.cc:544: within this context
String.cc: At global scope:
String.cc:619: prototype for `void String::debug(std::ostream&)' does not =
match=20
any in class `String'
htString.h:127: candidate is: void String::debug(ostream&)
make[1]: *** [String.o] Error 1
make[1]: Leaving directory `/jumpstart/tmp/intra-servers/intra-servers/htdi=
g/htdig-3.1.5/htlib'
make: *** [all] Error 1
###########################################################################=
######
As you can see it gets an error right at the end there.
In desperate need of help!
Info:
Compiling on Solaris 2.6, $LD_LIBRARY-PATH set to /usr/local/lib
Michael Clarke
IRD Open Systems Team
Level 2, ComputerLand House
17-21 Dixon Street Wellington
Phone: +64 (04) 8014676
Mobile: +64 021 455 218
email: mic...@ir...
|