perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Schindl <tomAtLi...@gmx.at>
Subject Re: "error 111" has been solved and some error occurred when configure apache
Date Thu, 29 Jul 2004 11:22:25 GMT
Well once more let mod_perl do everything for you, see howto do that 
using INSTALL.simple.mod_ssl.

------------------8<------------------
[tom@vinea apache]$ tar xzvf openssl-0.9.7d.tar.gz
[tom@vinea apache]$ cd openssl-0.9.7d
[tom@vinea openssl-0.9.7d]$ ./config --prefix=/opt/ssl
[tom@vinea openssl-0.9.7d]$ make && make test
[tom@vinea openssl-0.9.7d]$ su
[root@vinea openssl-0.9.7d]$ make install
[root@vinea openssl-0.9.7d]$ exit
[tom@vinea apache]$ cd ..
[tom@vinea apache]$ tar xzvf mod_ssl-2.8.16-1.3.29.tar.gz
[tom@vinea apache]$ cd mod_ssl-2.8.16
[tom@vinea apache]$ cd mod_ssl-2.8.16-1.3.29
[tom@vinea mod_ssl-2.8.16-1.3.29]$ ./configure \
--with-apache=../apache_1.3.29
[tom@vinea mod_ssl-2.8.16-1.3.29]$ cd ..
[tom@vinea apache]$ tar xzvf mod_gzip-1.3.26.1a.tgz
[tom@vinea apache]$ mkdir apache_1.3.29/src/modules/gzip
[tom@vinea apache]$ cp mod_gzip-1.3.26.1a/*.c \
 > apache_1.3.29/src/modules/gzip/
[tom@vinea apache]$ cp mod_gzip-1.3.26.1a/*.h \
 > apache_1.3.29/src/modules/gzip/
[tom@vinea apache]$ cp mod_gzip-1.3.26.1a/Makefile.tmpl \
 > apache_1.3.29/src/modules/gzip/
[tom@vinea apache]$ vi apache_1.3.29/src/modules/gzip/Makefile.tmpl
[ edit ... ]
#LIB=libgzip.$(LIBEXT)
LIB=libgzip.a
[tom@vinea apache]$ cd mod_perl-1.29
[tom@vinea 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:
> 
> [globus@iurp 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 <tomAtLinux@gmx.at> 的正文:
> 
>>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<-------------------
>>[tom@vinea apache]$ tar xzvf apache_1.3.29.tar.gz
>>[tom@vinea apache]$ tar xzvf
>>mod_perl-1.0-current.tar.gz
>>[tom@vinea apache]$ cd mod_perl-1.29/
>>[tom@vinea mod_perl-1.29]$ perl Makefile.PL
>>DO_HTTPD=1 USE_APACI=1 \
>> > APACHE_PREFIX=/usr/local/apache EVERYTHING=1
>>[tom@vinea 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


Mime
View raw message