I'm struggling to get Apache built on Solaris with both mod_ssl and 
JServ.  I've had no trouble building an SSL-only Apache, and I've had a 
JServ-only Apache running for a year, but trying to get them both together 
in Apache together is causing me all kinds of trouble.  (Apache starts up 
fine in SSL mode, but JServ never starts.  And, there's no log information 
of any kind produced.)

I've included my complete build script below in case anyone sees anything 
that doesn't look right.  My UNIX skills are marginal at best, so I've 
built this script with a lot of cut and pasting from online docs, etc.  I'm 
assuming I've got some configure option wrong, but I sure don't see it.

Any guidance you can provide would be much appreciated.  Thanks in advance.

Here's my script:

echo "*****************************************************************"
echo "[1] Configure and make Apache"
echo "*****************************************************************"
cd /Apache/1.3.20
CC="/usr/local/bin/gcc" MAKE="/usr/local/bin/gmake" ./configure \
--prefix=/Apache/1.3.20
gmake
gmake install

echo "*****************************************************************"
echo "[2] Configure and build OpenSSL"
echo "*****************************************************************"
cd /Apache/openssl-0.9.6b
sh config no-threads
gmake
gmake test

echo "*****************************************************************"
echo "[3] Add mod_ssl to Apache"
echo "*****************************************************************"
cd /Apache/mod_ssl-2.8.4-1.3.20
./configure --with-apache=/Apache/1.3.20

echo "*****************************************************************"
echo "[4] Configure and make JServ"
echo "*****************************************************************"
cd /Apache/ApacheJServ-1.1.2
CC="/usr/local/bin/gcc" MAKE="/usr/local/bin/gmake" ./configure \
--prefix=/Apache/ApacheJServ-1.1.2 \
--with-apache-src=/Apache/1.3.20 \
--with-jdk-home=/usr/java1.2 \
--with-JSDK=/Apache/jsdk2.0/lib/jsdk.jar
gmake
gmake install

echo "*****************************************************************"
echo "[5] Reconfigure Apache (with JServ and SSL)"
echo "*****************************************************************"
cd /Apache/1.3.20
CC="/usr/local/bin/gcc" MAKE="/usr/local/bin/gmake" 
SSL_BASE=/Apache/openssl-0.9.6b ./configure \
--prefix=/Apache/1.3.20 \
--enable-module=ssl \
--enable-shared=ssl \
--activate-module=src/modules/jserv/libjserv.a

echo "*****************************************************************"
echo "[6] Remake Apache"
echo "*****************************************************************"
cd /Apache/1.3.20
gmake
gmake certificate
gmake install


Jay
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to