Well once more let mod_perl do everything for you, see howto do that using INSTALL.simple.mod_ssl.

------------------8<------------------
[EMAIL PROTECTED] apache]$ tar xzvf openssl-0.9.7d.tar.gz
[EMAIL PROTECTED] apache]$ cd openssl-0.9.7d
[EMAIL PROTECTED] openssl-0.9.7d]$ ./config --prefix=/opt/ssl
[EMAIL PROTECTED] openssl-0.9.7d]$ make && make test
[EMAIL PROTECTED] openssl-0.9.7d]$ su
[EMAIL PROTECTED] openssl-0.9.7d]$ make install
[EMAIL PROTECTED] openssl-0.9.7d]$ exit
[EMAIL PROTECTED] apache]$ cd ..
[EMAIL PROTECTED] apache]$ tar xzvf mod_ssl-2.8.16-1.3.29.tar.gz
[EMAIL PROTECTED] apache]$ cd mod_ssl-2.8.16
[EMAIL PROTECTED] apache]$ cd mod_ssl-2.8.16-1.3.29
[EMAIL PROTECTED] mod_ssl-2.8.16-1.3.29]$ ./configure \
--with-apache=../apache_1.3.29
[EMAIL PROTECTED] mod_ssl-2.8.16-1.3.29]$ cd ..
[EMAIL PROTECTED] apache]$ tar xzvf mod_gzip-1.3.26.1a.tgz
[EMAIL PROTECTED] apache]$ mkdir apache_1.3.29/src/modules/gzip
[EMAIL PROTECTED] apache]$ cp mod_gzip-1.3.26.1a/*.c \
> apache_1.3.29/src/modules/gzip/
[EMAIL PROTECTED] apache]$ cp mod_gzip-1.3.26.1a/*.h \
> apache_1.3.29/src/modules/gzip/
[EMAIL PROTECTED] apache]$ cp mod_gzip-1.3.26.1a/Makefile.tmpl \
> apache_1.3.29/src/modules/gzip/
[EMAIL PROTECTED] apache]$ vi apache_1.3.29/src/modules/gzip/Makefile.tmpl
[ edit ... ]
#LIB=libgzip.$(LIBEXT)
LIB=libgzip.a
[EMAIL PROTECTED] apache]$ cd mod_perl-1.29
[EMAIL PROTECTED] mod_perl-1.29]$ perl Makefile.PL DO_HTTPD=1 USE_APACI=1 \
> APACHE_PREFIX=/usr/local/apachessl EVERYTHING=1 \
> SSL_BASE=/opt/ssl \
> APACI_ARGS=--enable-module=ssl,--enable-module=rewrite,--activate-module=src/modules/gzip/mod_gzip.c
...
------------------8<------------------


Tom




YY Liu wrote:
Thanks a million, Tom!
I have installed the mod_perl successfully according
to your method.
And I want to configure the apche on RH9 and I hava
installed the following components--mod_perl, mod_ssl,
openssl, mod_gzip.c separeately and there is no error,
but when I run the command which is to add all modules
to apache:

[EMAIL PROTECTED] apache_1.3.31]$ ./configure
--prefix=/usr/local/apache
--activate-module=src/modules/perl/libperl.a
--activate-module=src/modules/ssl/libssl.a
--add-module=src/modules/mod_gzip/mod_gzip.c
--enable-module=so

But there is some error info:
Error: Cannot find SSL binaries under
/home/globus/Project/mod_ssl-2.8.19-1.3.31
Do u know the reason? What's "SSL banaries"?
Any others coould help me? Thanks a lot!


--- Tom Schindl <[EMAIL PROTECTED]> çææï

Hi,

well I don't know exactly what's going wrong but it
seems that your mod_perl misses building with Transhandler hooks.
Normally I let mod_perl also build/install my apache and secondly
you should issue the following make file command:


-------------------8<-------------------
[EMAIL PROTECTED] apache]$ tar xzvf apache_1.3.29.tar.gz
[EMAIL PROTECTED] apache]$ tar xzvf
mod_perl-1.0-current.tar.gz
[EMAIL PROTECTED] apache]$ cd mod_perl-1.29/
[EMAIL PROTECTED] mod_perl-1.29]$ perl Makefile.PL
DO_HTTPD=1 USE_APACI=1 \
> APACHE_PREFIX=/usr/local/apache EVERYTHING=1
[EMAIL PROTECTED] apache]$ make && make test && make
install
-------------------8<-------------------

This is also documented in INSTALL.simple which
comes with your mod-perl-packages.







_________________________________________________________
Do You Yahoo!?
150äæMP3ççæïæéåéäæå
http://music.yisou.com/
çåææåæåæïæéçåãèååéå
http://image.yisou.com
100åéçåäåçïéèçéèåæåï
http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/



Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to