To do it yourself wich is probably the best way (no confilct with
existing perl etc...) :
* please forgive name errors (like tarballs and dir names) as I'm
writting from what i remeber when i did it *

1 get apache-mod_ssl-1.3.9.2.4.6-0.6.0.src.rpm (from
http://www.modssl.org)
2 get openssl-0.9.4.i386.rpm
3 get mod_perl1.21.tar.gz from cpan
4 rpm -ivh openssl-0.9.4.i386.rpm
5 rpm -ivh apache-mod_ssl-1.3.9.2.4.6-0.6.0.src.rpm
6 cd /usr/src/redhat/SPECS
7 rpm -bp apache-mod_ssl.spec
8 cd /usr/src/redhat/BUILD/apache-mod_ssl-1.3.9.2.4.6
9 tar xvzf mod_perl.1.21.tar.gz
10 cd mod_perl-1.21
11 perl Makefile.PL APACHE_SRC=../apache_1.3.9/src \
     DO_HTTPD=1 \
     USE_APACI=1 \
     PREP_HTTPD=1 \
     EVERYTHING=1 \
12 make
13 make install
14 cd ../mm-1.0.12/
15 ./configure --disable-shared
16 make
14 cd ../mod_ssl-2.4.6-1.3.9/
15 ./configure \
        --with-perl=/usr/bin/perl \
        --with-apache=../apache_1.3.9\
        --with-ssl=SYSTEM \
        --with-mm=../mm-1.0.12 \
        --with-layout=RedHat \
        --disable-rule=WANTHSREGEX \
        --enable-module=all \
        --enable-module=define \
        --activate-module=src/modules/perl/libperl.a \
        --enable-shared=max \
        --disable-shared=perl \
        --enable-suexec --suexec-caller=nobody \
        --suexec-uidmin=500 --suexec-gidmin=500

16 make
17 make certificate (with whatever option is suitable to your config)
18 make install

You should be all set. (it took me some time to figure out how to do it
the proper way, I guess it's ok.)
If you use the standard config for mod_ssl don't forget to run apache as
: "httpd -DSSL"

Cheers,
Stef.

Remi Fasol wrote:

> hi there. can you point me to instructions for
> statically linking mod_perl to the redhat secure
> server? i'm pretty new at this and am not sure how to
> do it.
>
> i tried working from the .spec file but kept getting
> an error saying that i needed the bsafe libraries.
> however, i can't find them anywhere.
>
> thanks.
> remi
>
> --- Stephane Benoit <[EMAIL PROTECTED]> wrote:
> > I have compiled mod_perl statically and the rest as
> > dso's and i have no more problems
> > No need to recompile perl unless you want perl
> > threads.
> > RH61, Apache 1.3.9 / Mod_ssl 246 / Modperl 1.21 /
> > Mod_php 3012
> >
> > Cheers
> >
> > Nick Urbanik wrote:
> >
> > > Dear Edmund,
> > >
> > > thank you for taking the time to reply.
> > >
> > > Edmund Mergl wrote:
> > >
> > > > in case you are using the stock rpm's fo apache
> > and mod_perl, the solution is
> > > > rather simple:
> > > >
> > > > compile apache with mod_perl from the sources
> > and install just the binary
> > > > httpd (you can rename it as httpd_modperl).
> > > > That's all.
> > >
> > > So you mean that I should compile mod_perl
> > together statically with Apache-mod_ssl,
> > > and that using apxs will not work?
> > >
> > > I compiled both packages myself from RPMs, but on
> > my home machine.  I think I
> > > understand the RPM .spec files reasonably well.  I
> > installed them on the machine
> > > here at work.  I will try compiling everything on
> > the target machine.  Perhaps
> > > I need to recompile Perl too?
> > >
> > > --
> > > Nick Urbanik, Dept. of Electrical & Communications
> > Engineering
> > > Hong Kong Institute of Vocational Education (Tsing
> > Yi)
> > > email: [EMAIL PROTECTED], [EMAIL PROTECTED]
> > > Tel:   (852) 2436 8660, (825) 2436 8674   Fax:
> > (852) 2436 8643
> > > pgp ID: 7529555D fingerprint: 53 B6 6D 73 52 EE 1F
> > EE EC F8 21 98 45 1C 23 7B
> >
> >
>
> =====
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com

Reply via email to