[MacPorts] #25368: policykit install fails

MacPorts noreply at macports.org
Wed Aug 4 10:40:39 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 73w3sz@…):

 Thanks for your help, Scott!

 As to how this all came about, I had been previously running perl 5.10 but
 then a piece of software's instructions indicated that it needed 5.8.9,
 not 5.10 so I deactivated 5.10 and reactivated 5.8.9 using MacPorts to do
 so. That is why there are both perl 5.8.9 and perl 10.1 directories and
 why I am using 5.8.9 and not 5.10.  I did NOT touch these directories.

 More info below:

 All the files in the 5.10 directories are also in the 5.8.9 directories.

 5.8.9
 dir /opt/local/var/macports/software/p5-xml-
 parser/2.36_0/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-
 2level/XMLParser         Parser.pm
 dir /opt/local/var/macports/software/p5-xml-
 parser/2.36_0/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-
 2level/XML/ParserEncodings       Expat.pm        LWPExternEnt.pl Style

 5.10.1
 dir /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          Parser.pm

 dir /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
 Encodings       Expat.pm        LWPExternEnt.pl Style



 I get:

 $ port installed | grep perl
   p5-libintl-perl @1.16_0+universal (active)
   p5-libwww-perl @5.836_0 (active)
   p5-libxml-perl @0.08_0 (active)
   perl5 @5.8.9_0 (active)
   perl5.10 @5.10.1_1
   perl5.8 @5.8.9_3
   perl5.8 @5.8.9_3+universal (active)
   swig-perl @2.0.0_0 (active)

 I linked the missing Parser.pm and Expat.pm files to the proper ones in
 the /opt/local/var/macports/software/p5-xml-
 parser/2.36_0/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/XML
 directory and I still get the same error:  Can't find
 'boot_XML__Parser__Expat' symbol in /usr/local/lib/libExpat.dylib at
 /opt/local/lib/perl5/vendor_perl/5.8.9/XML/Parser.pm line 14

 I agree absolutely that the 'hacking' I am doing to try to fix the problem
 is not ideal. Sometimes doing so helps me to understand what is going on.
 But it is NOT a long term fix, and in this case it didn't help me.

-- 
Ticket URL: <http://trac.macports.org/ticket/25368#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list