On Oct 20, 2006, at 8:07 AM, Peter wrote:
finally I managed my switch from DP to macports list . . . and now I need your help with a Perl problem.
When I try to build wget (but same prob w/ other Perl depending ports too) building stops w/ the following error:
I didn't think wget depended on amy perl (it certainly isn't listed in the portfile)
Can't locate Pod/Man.pm in @INC (@INC contains: /opt/local/lib/ perl5/5.8.8/darwin-2level /opt/local/lib/perl5/5.8.8 /opt/local/ lib/perl5/site_perl/5.8.8/darwin-2level /opt/local/lib/perl5/ site_perl/5.8.8 /opt/local/lib/perl5/site_perl /opt/local/lib/ perl5/vendor_perl/5.8.8/darwin-2level /opt/local/lib/perl5/ vendor_perl/5.8.8 /opt/local/lib/perl5/vendor_perl .) at /opt/ local/bin/pod2man line 16.
But:
Pod::Man is installed at /usr/local/lib/perl5/5.8.8/Pod/Man.pm
Why did you install Pod::Man in /usr/local?
and the PERL5LIB variable is set:
root# echo $PERL5LIB /usr/local/lib/perl5:/usr/local/lib/perl5/site_perl:/opt/local/lib/ perl5
but macports doesnt see it.
Well, as you can see from the error above, macports' perl isn't searching /usr/local (since the error shows you @INC)
Any help is highly appreciated.
It looks like pod2man is your culprit, but on my system: % port provides /opt/local/bin/pod2man /opt/local/bin/pod2man is provided by: perl5.8 % port provides /opt/local/lib/perl5/5.8.8/Pod/Man.pm /opt/local/lib/perl5/5.8.8/Pod/Man.pm is provided by: perl5.8 Maybe you need to uninstall/reinstall the perl port? -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+