It looks like you have a bad setting for PERL5LIB, it seems that it's set to:
PERL5LIB = "PERL5LIB=/home/bhoggard/src/httpd_perl/mod_perl-1.29/lib .",
/home/bhoggard/dev/artcat/lib /opt/perl-5.8.1/lib/5.8.1/i686-linux /opt/perl-5.8.1/lib/5.8.1 /opt/perl-5.8.1/lib/site_perl/5.8.1/i686-linux /opt/perl-5.8.1/lib/site_perl/5.8.1 /opt/perl-5.8.1/lib/site_perl .) at /opt/perl-5.8.1/lib/5.8.1/Pod/Parser.pm line 210
Compilation failed in require at /opt/perl-5.8.1/lib/5.8.1/Pod/Parser.pm
As it's chdir'ed to
/home/bhoggard/src/httpd_perl/mod_perl-1.29/Symbol
and it has '.' early in @INC, requiring Pod/Parser.pm, requires Symbol.pm, which it finds in mod_perl-1.29/Symbol, but that's a wrong Symbol.pm. That's why you get this error. You really want to get rid of that misplaced '.' in your @INC. Notice that "." must be the last entry in @INC, and you have it already.
Makefile.PL does:
$ENV{PERL5LIB} = join ':', "$PWD/lib", $ENV{PERL5LIB}; PERL5LIB => "PERL5LIB=$ENV{PERL5LIB}",
So it's your PERL5LIB setting that adds that '.' into the path. Fix it and the problem will go away. To fix either unset it or do a local override:
PERL5LIB="" perl Makefile.PL ...
Now can somebody explain to me why modperl has:
PERL5LIB => "PERL5LIB=$ENV{PERL5LIB}",
I can't see how is it going to work:
env PERL5LIB="PERL5LIB=/tmp" perl-5.8.1 -le 'print join "\n", @INC' PERL5LIB=/tmp /home/stas/perl/5.8.1/lib/5.8.1/i686-linux /home/stas/perl/5.8.1/lib/5.8.1 /home/stas/perl/5.8.1/lib/site_perl/5.8.1/i686-linux /home/stas/perl/5.8.1/lib/site_perl/5.8.1 /home/stas/perl/5.8.1/lib/site_perl .
it doesn't really add /tmp to @INC. Do I miss somethng?
Ah. That was a stupid mistake that happened when I was working on installing an autobundle file earlier in the day and having trouble getting perl -MCPAN to see it.
Thank you very much.
-- Barry Hoggard Tristan Media LLC e: [EMAIL PROTECTED] w: www.tristanmedia.com aim: hoggardb
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html