In message <[EMAIL PROTECTED]>, Stas Bekman writes:
>There were some suggestions offered in this thread (large files CFLAGS?)
>http://marc.theaimsgroup.com/?t=101684271800003&r=1&w=2
>Though I didn't see a success report.
>
>If somebody on Solaris 2.6 were able to get it to work, please chime in.

Apache/modperl works fine for me as DSO under Solaris 7,8,9.
2.6 is EOL, but I suspect it will work with latest recommended patches.

Using gcc2.95.3
Using perl5.8, but also worked under 5.6.1 and 5.00503
Build openssl
 ./config --prefix=/opt/openssl \
 --openssldir=/opt/openssl shared
 env LD_RUN_PATH=/opt/openssl/lib make

Build Apache/mod_ssl
 ./configure --with-apache=../apache_1.3.27
 cd ../apache_1.3.27
 env SSL_BASE=/opt/openssl ./configure --prefix=/opt/apache \
 --enable-module=most --enable-shared=max
 # Add the var CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" to the env command 
if you want largefiles or built your perl that way
 # Edit src/modules/ssl/Makefile and add -R$(SSL_LIBDIR) to SSL_LDFLAGS
 # If using gcc2, edit src/modules/proxy/Makefile and add 
"-L/path/to/gcc-lib/$host_info/$gcc_version/ -lgcc" to LIBS_SHLIB

Build modperl
 perl Makefile.PL USE_APXS=1 WITH_APXS=/opt/apache/bin/apxs \
 EVERYTHING=1 PERL_TRACE=1 

John
[EMAIL PROTECTED]

Reply via email to