I have searched through a handful of the archives, and seen a bunch of
solaris compile problems, but none similar to what I am getting.  From the
make:

make[1]: Leaving directory `/usr/local/src/htdig-3.1.6-102101/db/dist'
make[1]: Entering directory `/usr/local/src/htdig-3.1.6-102101/htlib'
c++ -c
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig-3.1.6-102101/conf/htdig.conf\"
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Configuration.cc
c++ -c
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig-3.1.6-102101/conf/htdig.conf\"
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Connection.cc
Connection.cc: In constructor `Connection::Connection(int)':
Connection.cc:67: cannot convert `int*' to `socklen_t*' for argument `3'
to
   `int getpeername(int, sockaddr*, socklen_t*)'
Connection.cc: In member function `int Connection::get_port()':
Connection.cc:291: cannot convert `int*' to `socklen_t*' for argument `3'
to
   `int getsockname(int, sockaddr*, socklen_t*)'
Connection.cc: In member function `Connection* Connection::accept(int)':
Connection.cc:317: cannot convert `int*' to `socklen_t*' for argument `3'
to
   `int accept(int, sockaddr*, socklen_t*)'
Connection.cc:329: cannot convert `int*' to `socklen_t*' for argument `3'
to
   `int getpeername(int, sockaddr*, socklen_t*)'
Connection.cc: In member function `char* Connection::get_peername()':
Connection.cc:450: cannot convert `int*' to `socklen_t*' for argument `3'
to
   `int getpeername(int, sockaddr*, socklen_t*)'
Connection.cc: In member function `char* Connection::get_peerip()':
Connection.cc:474: cannot convert `int*' to `socklen_t*' for argument `3'
to
   `int getpeername(int, sockaddr*, socklen_t*)'
make[1]: *** [Connection.o] Error 1
make[1]: Leaving directory `/usr/local/src/htdig-3.1.6-102101/htlib'
make: *** [all] Error 1


I'm running with:
htdig-3.1.6-102101
solaris 8
sunfire 280R
gcc 3.0
make 3.79
# ./configure  --disable-shared --prefix=/usr/local/htdig-3.1.6-102101
--with-cgi-bin-dir=/usr/local/apache/cgi-bin/htdig
--with-image-dir=/usr/local/apache/htdocs/htdig
--with-search-dir=/usr/local/apache/htdocs/htdig
$LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/share/lib:/usr/ccs/lib:/usr/local/ssl/lib:/etc/lib

I get the same exact error on my ultra 5 desktop machine with solaris 8,
gcc-3.0.1, and htdig-3.1.5/3.1.6-192191/3.1.5

One of my linux boxes compiled without a hitch with the same args and
environment variables.



_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to