On Sat, 6 Dec 2003, Phil Rhoades wrote:
> % perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs" > > but apxs does not exist - does that mean I have to remove the > apache rpm and build apache from src as well?
Yes. If for no other reason than that you should ensure that Apache and mod_perl are compiled with the same compiler.
At least I think that's the case with mod_perl version 2 - am I right?
OK - I uninstalled the httpd rpm and installed httpd-2.0.48 .
I get:
[EMAIL PROTECTED] mod_perl-1.99_11]# perl Makefile.PL MP_APXS=/usr/local/ apache2/bin/apxs
Reading Makefile.PL args from @ARGV
MP_APXS = /usr/local/apache2/bin/apxs
Configuring Apache/2.0.48 mod_perl/1.99_11 Perl/v5.9.0
*** configuration file /usr/local/apache2/modules/mod_perl.so does not exist
Checking if your kit is complete...
but I am trying to build mod_perl.so so why should it already exist? The rest of the configure looks OK.
Then the make fails:
-c modperl_perl.c && mv modperl_perl.o modperl_perl.lo
modperl_perl.c: In function `modperl_hash_seed_set':
modperl_perl.c:226: `PL_rehash_seed' undeclared (first use in this function)
modperl_perl.c:226: (Each undeclared identifier is reported only once
modperl_perl.c:226: for each function it appears in.)
modperl_perl.c:227: `PL_rehash_seed_set' undeclared (first use in this function)
make[1]: *** [modperl_perl.lo] Error 1
make[1]: Leaving directory `/home/phil/attach/mod_perl-1.99_11/src/ modules/perl'
make: *** [modperl_lib] Error 2
Any suggestions?
Thanks,
Phil. -- Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney NSW 2001 Australia Mobile: +61:0411-185-652 Fax: +61:2:8923-5363 E-mail: [EMAIL PROTECTED]
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html