由 n0fe@r 在 11-09-2002 20:45 发表:
apache不支持dso问题
本来安装的apache不支持dso,所以打算重新配置一下就发生了今天的事
安装apache1.3.27+php4.2.3+mysql3.23.53+mod_ssl+mod_perl+mod_fastcgi
安装步骤如下:(假设都已解压缩好)
mysql的安装步骤省略
1)mv mod_fastcgi-2.2.12 apache_1.3.24/src/modules/fastcgi
配置mod_ssl
cd /usr/local/src/mod_ssl-2.8.12-1.3.27
./configure --with-apache=../apache_1.3.27
配置mod_perl
cd mod_perl-1.27
perl Makefile.PL \
EVERYTHING=1 \
APACHE_SRC=../apache_1.3.27/src \
USE_APACI=1 \
PREP_HTTPD=1 \
DO_HTTPD=1
make
make install
配置apache
SSL_BASE="/usr/local/ssl" \
./configure \
--enable-module=rewrite \
--enable-module=speling \
--enable-module=so \
--enable-module=ssl \
--enable-shared=ssl \
--activate-module=src/modules/perl/libperl.a \
--activate-module=src/modules/fastcgi/libfastcgi.a \
--enable-module=perl \
--prefix=/www
配置php
./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.27 --enable-track-vars --with-openssl=/usr/local/ssl --with-gd --with-zlib-dir=/usr/local
然后就出现错误
checking for int8... no
checking base type of last arg to accept... socklen_t
checking return type of qsort... void
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more