jehan procaccia wrote:
hello

I just donwloaded latest cvs as stated in :
http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution


Now I don't really understand what directory is supposed to contain the MP_AP_PREFIX variable ?

It's the path where Apache was installed to. I'm not on RH so I'm not sure where it installs it to. But from looking at the RH rpms, it spreads things across different dirs.


There is a RH rpm package which includes the build instructions specific to RH, just grab the src.rpm from here:
http://fr.rpmfind.net/linux/rpm2html/search.php?query=mod_perl&submit=Search+...


next look at the spec file, it says:

# Compile the module.
%{__perl} Makefile.PL </dev/null \
        PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor \
        MP_APXS=%{_sbindir}/apxs MP_APR_CONFIG=%{_bindir}/apr-config \
        CCFLAGS="$RPM_OPT_FLAGS -fPIC"
make

So I suppose that if you have installed the Apache rpm from RH you should say at least:

perl Makefile.PL MP_APXS=/usr/sbin/apxs MP_APR_CONFIG=/usr/bin/apr-config

adjust the paths to these scripts if my guess was wrong. You can use locate(1) to find them.

You can also try to use the latest src.rpm from rawhide, I'm not sure how recent it is http://fr.rpmfind.net//linux/RPM/rawhide/1.0/i386/RedHat/RPMS/mod_perl-1.99_09-6.i386.html
says Jul 16, which is very recent.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to