Well, I build mod_ssl/mod_perl just fine a few days ago (RH6.1). Follow
the notes at:
http://perl.apache.org/guide/install.html#mod_perl_and_mod_ssl_openssl_
The guide uses xxx for the ver numbers, so to ease on you, here is my
copy-n-paste code:
unarchive apache_1.3.9.tar.gz, mod_ssl-2.4.9-1.3.9.tar.gz,
openssl-0.9.4.tar.gz
cd ./openssl-0.9.4
./config
make
cd ../mod_ssl-2.4.9-1.3.9
./configure --with-apache=../apache_1.3.9 -with-ssl=../openssl-0.9.4
--prefix=/usr/local/apache/
cd ../mod_perl-x.xx
perl Makefile.PL USE_APACI=1 EVERYTHING=1 \
DO_HTTPD=1 SSL_BASE=../openssl-0.9.4 \
APACHE_PREFIX=/usr/local/apache \
APACHE_SRC=../apache_1.3.9/src \
APACI_ARGS=--enable-module=ssl,--enable-module=rewrite
make && make test && make install
cd ../apache_1.3.9
make certificate
make install
> found snippet (below) on archive, obviously i'm missing something...
> after following the notes in ./mod_perl-1.3.1/INSTALL.simple.ssl,
> ./mod_ssl-2.4.10-1.3.9 and previous suggestions from the mailing list:
>
> make[1]: Entering directory `/var/CPAN/build/apache_1.3.9'
> ===> src
> make[2]: Entering directory `/var/CPAN/build/apache_1.3.9'
> make[3]: Entering directory `/var/CPAN/build/apache_1.3.9/src'
> make[3]: *** No rule to make target `all'.
> make[3]: Leaving directory `/var/CPAN/build/apache_1.3.9/src'
> make[2]: *** [build-std] Error 2
>
>
> if i leave out mod_perl the whole thing makes, including mod_perl
> seems to break it every time. basic steps:
>
> extract, make, make test & make install of
> openssl-0.9.4, mm-1.0.12, rsaref2. all of
> those worked.
>
> blew off ./apache-1.3.9, re-extracted it.
> extracted mod_ssl-2.4.10-1.3.9.
> went through the "flexible APACI-only way"
>
> just for grins, ran make in apache. this much
> worked. went through the key generation,
> got snakeoil, etc.
>
> cd ../mod_perl-1.2.1;
> made the ~/.makepl_args.mod_perl
> with:
> EVERYTHING=1
> USE_APACI=1
> APACI_ARGS=--enable-module=rewrite
> APACI_ARGS=--enable-module=ssl
> APACI_ARGS=--enable-module=proxy
> export SSL_BASE=/opt/ssl;
> export APACHE_PREFIX=/opt/apache/1.3.9;
> ls $SSL_BASE/lib shows me libcrypto.a & libssl.a
> [could be first scewup, SSL_BASE == install dir w/
> lib & include or ./lib itself?]
> perl Makefile.PL;
> make -wk 2>&1 | tee Make.log;
>
> which then finally gives me:
>
> make[3]: Entering directory `/var/CPAN/build/apache_1.3.9/src'
> make[3]: *** No rule to make target `all'.
>
> wunnerful.
>
> as a variation i blew off apache-1.3.9, ran all the steps as above
> without the make after configuring mod_ssl, went directly to the
> perl Makefile.PL. same result.
>
> blowing off apache-1.3.9 one more time and running the usual apaci
> config & make w/ mod_perl only works fine.
>
> something i'm screwing up w/ the two of them...
>
> system is heavily hacked RH-6.0 w/ current perl:
>
> Linux dizzy.wrkhors.com 2.2.14 #19 SMP Sat Jan 8 00:59:20 CST 2000 i686 unknown
>
> Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
> Platform:
> osname=linux, osvers=2.2.13, archname=i686-linux
> uname='linux dizzy.wrkhors.com 2.2.13 #9 smp sat nov 13 22:03:19 cst 1999
> i686 unknown '
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef useperlio=undef d_sfio=undef
> Compiler:
> cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2
> release)
> cppflags='-Dbool=char -DHAS_BOOL'
> ccflags ='-Dbool=char -DHAS_BOOL'
> stdchar='char', d_stdstdio=undef, usevfork=false
> intsize=4, longsize=4, ptrsize=4, doublesize=8
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
> alignbytes=4, usemymalloc=n, prototype=define
> Linker and Libraries:
> ld='cc', ldflags =' -L/usr/local/lib'
> libpth=/usr/local/lib /lib /usr/lib
> libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
> libc=, so=so, useshrplib=false, libperl=libperl.a
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
> cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
> Built under linux
> Compiled at Nov 16 1999 19:32:59
> @INC:
> /opt/perl5/lib/5.00503/i686-linux
> /opt/perl5/lib/5.00503
> /opt/perl5/lib/site_perl/5.005/i686-linux
> /opt/perl5/lib/site_perl/5.005
> .
>
>
> from email archive:
>
>
> <snip>
> Installing mod_ssl was a breeze for me. I followed mod_ssl's instructions
> for "b) The flexible APACI-only way":
> ./configure --with-apache=../apache_1.3.x
>
> Then:
>
> mod_perl-x.xx % SSL_BASE=... perl Makefile.PL ... && make test && make install
>
> For your configure options, just create a $HOME/.makepl_args.mod_perl that
> looks like so:
> APACHE_PREFIX=/weblab/software/packages/apache-1.3.2
> APACI_ARGS=--enable-module=rewrite
> APACI_ARGS=--enable-module=ssl
>
> When Makefile.PL is run, it'll read in those options and pass then to
> Apache's configure script.
>
>
> --
> Steven Lembark 2930 W. Palmer St.
> Chicago, IL 60647
> [EMAIL PROTECTED] 800-762-1582
>
_______________________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC
perl.apache.org modperl.sourcegarden.org perlmonth.com perl.org
single o-> + single o-+ = singlesheaven http://www.singlesheaven.com