I have compiled apache + modssl + openssl + php4 + auth_mysql + dav + perl, using the following script:
 
# Configure and compile openssl library
#
cd openssl-0.9.3a
./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl threads no-idea
make
make test
make install
cd ..
 

# Configure apache SSL module
#
cd mod_ssl-2.4.2-1.3.9
./configure --with-apache=../apache_1.3.9
cd ..
 

# Pre-configure apache
#
cd apache_1.3.9
./configure --prefix=/usr/local/apache
cd ..
 

# Configure and compile php3 module
#
cd php-4.0b2
./configure --with-mysql=/usr/local/mySQL --without-gd --with-gdbm --with-gnu-ld --with-apache=../apache_1.3.9 --enable-track-vars --disable-debug
make
make install
cd ..
 

# Configure and compile apache mySQL authentication module
#
cd mod_auth_mysql-2.20
./configure --with-mysql=/usr/local/mySQL --with-apache=../apache_1.3.9
make
cd ..
 

# Configure DAV protocol module
#
cd mod_dav-0.9.11-1.3.6
./configure --with-apache=../apache_1.3.9
make
make install
cd ..
 

# Configure apache Perl module and build apache
#
cd mod_perl-1.21
perl Makefile.PL USE_APACI=1 EVERYTHING=1 SSL_BASE=../openssl-0.9.3a APACHE_PREFIX=/usr/local/apache \
   APACI_ARGS=--enable-module=ssl,--enable-module=rewrite,--enable-module=proxy,--enable-module=info,\
   --enable-module=headers,--enable-module=expires,\
   --activate-module=src/modules/auth_mysql/libauth_mysql.a,\
   --activate-module=src/modules/php4/libphp4.a,\
   --activate-module=src/modules/dav/libdav.a
make
make test
cd ..
 

# Create certificates and install apache
#
cd apache_1.3.9
make certificate TYPE=custom
cd ..
 

# Install apache
#
cd mod_perl-1.21
make install
cd ..
 
 
The question is: how do I compile modssl with mm? I'm running Linux Slackware 3.6
Can somebody tell me how it can be done. I've tried several possibilities but it always fails at the last step (mod_perl).
 
Regards,
 
J. Gremmen
 

Reply via email to