Hi,
I'm having a lot of trouble compiling Apache 1.3.1 /
Ben-SSL 1.22 cleanly on SPARC Solaris 2.6. I've read
through the archives but couldn't find anything relevant.
Basically, I get a load of messages when doing ./Configure
and when each .c file is compiled (I'm not using the APACI
install procedure). Here is an example:
klimt:root# ./Configure
Using config file: Configuration
Creating Makefile
+ configured for Solaris 260 platform
+ setting C compiler to gcc
+ adding selected modules
o status_module uses ConfigStart/End
+ checking for system header files
+ doing sanity check on compiler and options
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
gcc: unrecognized option `-w3'
gcc version 2.8.1
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/cpp -lang-c -v -undef
-D__GNUC__=2 -D__GNUC_MINOR__=8 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4
-D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun
-D__unix -Asystem(unix) -Asystem(svr4) -g -D__GCC_NEW_VARARGS__
-Acpu(sparc) -Amachine(sparc) -DSOLARIS2=260 -DSTATUS -DAPACHE_SSL
helpers/dummy.c /var/tmp/cc4lDSz_.i
GNU CPP version 2.8.1 (sparc)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/local/sparc-sun-solaris2.6/include
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/cc1
/var/tmp/cc4lDSz_.i -quiet -dumpbase dummy.c -g -version -o
/var/tmp/cc4lDSz_.s
GNU C version 2.8.1 (sparc-sun-solaris2.6) compiled by GNU C version
2.8.1.
/usr/ccs/bin/as -V -Qy -s -o /var/tmp/cc4lDSz_1.o /var/tmp/cc4lDSz_.s
/usr/ccs/bin/as: WorkShop Compilers 4.X dev 18 Sep 1996
/usr/ccs/bin/ld -V -Y P,/usr/ccs/lib:/usr/lib -Qy -o helpers/dummy
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/crt1.o
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/crti.o
/usr/ccs/lib/values-Xa.o
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/crtbegin.o
-L/usr/local/src/SSLeay-0.9.0b
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1
-L/usr/local/sparc-sun-solaris2.6/lib -L/usr/ccs/bin -L/usr/ccs/lib
-L/usr/local/lib /var/tmp/cc4lDSz_1.o -lsocket -lnsl -lssl -lcrypto
-lgcc -lc -lgcc
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/crtend.o
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/crtn.o
ld: Software Generation Utilities - Solaris/ELF (3.0)
Creating Makefile in support
Creating Makefile in main
Creating Makefile in ap
Creating Makefile in regex
Creating Makefile in os/unix
Creating Makefile in modules/standard
Creating Makefile in modules/ssl
The thing is, everything does seem to compile and
I can even get the httpsd up and running. However
the resultant httpsd is 4 MB in physical size!
I've tried both patch-2.1 and patch-2.5 and I've
tried various combinations of applying ./FixPatch
and 'patch -p1' - all to no avail.
There is also some strange behaviour when compiling
mod_perl into the httpsd too, in that doing a 'make test'
when compiling with mod_perl, completes successfully
but leaves a core file hanging around. This could
be down to mod_perl's test routine but it only
happens when trying to compile with Ben-SSL. I have
mentioned this on the mod_perl list with no feedback
yet. (Note that with mod_perl, the httpsd is 5.5 MB!!)
The platform I'm running on is:
SPARC Solaris 2.6 5/98 + MU2 + public patch cluster 14/8
klimt:root# uname -a
SunOS klimt 5.6 Generic_105181-06 sun4u sparc SUNW,Ultra-5_10
Any help / ideas would be much appreciated.
Cheers.
Patrick
--
#===============================#
\ KAN Design & Publishing Ltd /
/ T: +44 (0)1223 511134 \
\ F: +44 (0)1223 571968 /
/ E: mailto:patrick@kan.co.uk \
\ W: http://www.kan.co.uk /
#===============================#