[MacPorts] #25368: policykit install fails
MacPorts
noreply at macports.org
Tue Aug 3 22:35:25 PDT 2010
#25368: policykit install fails
----------------------------+-----------------------------------------------
Reporter: jpbn@… | Owner: devans@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: policykit
----------------------------+-----------------------------------------------
Comment(by sewebster@…):
Replying to [comment:8 73w3sz@…]:
{{{
> Can't locate XML/Parser.pm in @INC (@INC contains:
> /sw/lib/perl5 /sw/lib/perl5/darwin /opt/local/lib/perl5/site_perl/5.8.9
/darwin-2level
> /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl
> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl
> /opt/local/lib/perl5/5.8.9/darwin-2level /opt/local/lib/perl5/5.8.9 .)
at -e line 1.
>
> MacPort says that I have installed and active:
> p5-xml-parser @2.36_0+universal (active)
> p5-xml-dom @1.44_0 (active)
> p5-libxml-perl @0.08_0 (active)
> p5-xml-libxml @1.69_0 (active)
> perl5.8 @5.8.9_3+universal (active)
>
> I get:
>
> $ locate XML/Parser.pm
> /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-
2level/XML/Parser.pm
> /System/Library/Perl/Extras/5.8.9/darwin-thread-multi-
2level/XML/Parser.pm
> /opt/local/lib/perl5/vendor_perl/5.10.1/darwin-multi-
2level/XML/Parser.pm
> /opt/local/var/macports/software/p5-xml-
parser/2.36_0/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-
2level/XML/Parser.pm
> /opt/local/var/macports/software/p5-xml-
parser/2.36_0+universal/opt/local/lib/perl5/vendor_perl/5.10.1/darwin-
multi-2level/XML/Parser.pm
>
}}}
The version of Parser.pm that we are interested in is the one in
/opt/local/lib. You can see from the @INC path that it is searching in
/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level. That is where my
XML/Parser.pm resides. But yours (the version in /opt/local/lib) is in a
Perl 5.10.1 directory?? Weird. Have you done any non-standard
installations of perl or any of the rest of this stuff?
{{{
>
> When I:
> sudo ln -s /System/Library/Perl/Extras/5.8.9/darwin-thread-multi-
2level/XML/Parser.pm /sw/lib/perl5/XML/Parser.pm
> sudo ln -s /System/Library/Perl/Extras/5.8.9/darwin-thread-multi-
2level/XML/Parser/Expat.pm /sw/lib/perl5/XML/Parser/Expat.pm
>
}}}
Hmm, I don't see why you would do this really. Anyway, I think you really
want to stick with the macports installed version in /opt/local/lib
--
Ticket URL: <http://trac.macports.org/ticket/25368#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list