> ===>  Building for mod_perl-1.26
> (cd ./apaci && PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.26/lib
> make)
> Perl lib version (5.00503) doesn't match executable version (5.006001)
> at /usr/libdata/perl/5.00503/mach/Config.pm line 7.

I saw this just this week at work - turned out that /usr/bin/perl wasn't 
symlinked to /usr/local/bin/perl, so the version of perl they were running with 
(due to the user's PATH) wasn't the same that make was picking up.

you should probably fix your system, since it's sometimes convenient to have 
/usr/bin/perl and /usr/local/bin/perl be the same.  in the meanwhile, you can 
always use the absolute path to the perl binary you want to use when buliding 
mod_perl

$ /path/to/perl-5.006 Makefile.PL \
   APACHE_PREFIX=/usr/local/apache \
   ...
$ make and friends

HTH

--Geoff

Reply via email to