Austin Gonyou writes:
>
>Go to sunfreeware.com and get GCC. Add it to your path and 
>LD_LIBRARY_PATH and then compile to your heart's content.

Don't use LD_LIBRARY_PATH on Solaris.  It's evil.  The correct solution
is to set the runpath in the executable with the `-R' linker flag.
To compile apache with Sun's compiler, just configure it like this:

env CC=cc OPTIM=-xO3 \
        LDFLAGS="-R/usr/local/lib" \
        SSL_BASE=/usr/local/src/OpenSSL/openssl-0.9.5a \
        ./configure \
        --server-uid=server --server-gid=staff \
        --prefix=/usr/local/apache \
        --sysconfdir=/usr/local/apache/etc \
        --datadir=/usr/local/apache/share \
        --sbindir=/usr/local/apache/sbin \
        --localstatedir=/var/apache \
        --enable-module=rewrite --enable-shared=rewrite \
        --enable-module=usertrack --enable-shared=usertrack \
        --enable-module=ssl --enable-shared=ssl


-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to