Michael wrote:

> > so i guess this is the only way to do it with dso
> >
> > for apache 1.3.9
> >  ./configure --enable-rule=shared_core --with-perl=/usr/bin/perl
> > --enable-module=so --enable-module=rewrite
> >
> > for modperl-1.21
> >  perl Makefile.PL USE_APXS=1 USE_DSO=1 WITH_APXS=/usr/sbin/apxs
> > EVERYTHING=1
> >
> This does not appear to work all the time. My build looks like this:
> openssl-0.9.4
> apache-1.3.9
> modperl=1.21
>
> ./configure --prefix=/usr/local/apache \
>         --enable-rule=SHARED_CORE \
>         --with-layout=Apache \
>         --enable-module=so
> make
> make install
>
> then.....
>
> perl Makefile.PL \
>      USE_APXS=1 \
>      USE_DSO=1 \
>      WITH_APXS=/usr/local/apache/bin/apxs \
>      EVERYTHING=1
>
> make
>
> gives ..................
>
> In file included from /usr/local/apache/include/httpd.h:78,
>                  from mod_perl.h:114,
>                  from mod_perl.c:60:
> /usr/local/apache/include/buff.h:74: openssl/ssl.h: No such file or
> directory /usr/local/apache/include/buff.h:77: #error "Don't use
> OpenSSL/SSLeay versions less than 0.9.2b, they have a serious security
> problem!" make[1]: *** [mod_perl.lo] Error 1 make[1]: Leaving
> directory `/usr/src/mod_perl-1.21/apaci' make: *** [apxs_libperl]
> Error 2
>
> Any ideas -- I've tried every conceivable build possibility with and
> without DSO and still can't get ssl + modperl to coexist. I know it
> is possible as I have earlier versions running in production, but
> don't seem to be able to upgrade to this set of pieces.
> [EMAIL PROTECTED]

well it seems you dont have that openssl/ included .add it to you
toplevel Makefile:

includedir      = /usr/local/apache/include:$plusyouopenssldir

replacing $plusyouropenssldir with the opensslsource/include dir

that usually works for me


i've put up tarballs at ftp.stampede.org/incoming/

there is
ftp://ftp.stampede.org/incoming/apachecompd.tgz
ftp://ftp.stampede.org/incoming/modperlcompd.tgz
ftp://ftp.stampede.org/incoming/readme_4_apache_and_modperl

tell me if that works , cuz i need to do openssl soon anyways

ttfn


Reply via email to