wget doesnt build for me - Perl Problem

Peter dp at martina-pump.de
Sat Oct 21 04:12:42 PDT 2006


Hi Daniel,

thx for your answer.


  Daniel J. Luke wrote:

> 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

far as I can see from the error Pod/Man.pm and so Perl is needed to  
create wget.rc


>
> Why did you install Pod::Man in /usr/local?

because I use the CPAN shell to install Perl modules beside MacPorts

>
>> 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)

Yes, and so my question was : why isn't macports' perl searching /usr/ 
local although PERL5LIB variable is set ?

Answers are still VERY welcome.

Peter



More information about the macports-users mailing list