[MacPorts] #25368: policykit install fails

MacPorts noreply at macports.org
Tue Aug 3 22:10:29 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, Scott!

 I get:

 $  perl -e "require XML::Parser"

 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


 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

 I am greeted with:
 perl -e "require XML::Parser"
 Can't find 'boot_XML__Parser__Expat' symbol in
 /usr/local/lib/libExpat.dylib
  at /sw/lib/perl5/XML/Parser.pm line 14
 Compilation failed in require at /sw/lib/perl5/XML/Parser.pm line 14.
 BEGIN failed--compilation aborted at /sw/lib/perl5/XML/Parser.pm line 18.
 Compilation failed in require at -e line 1.

 and when I try to install policykit I still get the same log, ending in:

 :info:configure checking for XML::Parser... configure: error: XML::Parser
 perl module is required for intltool
 :info:configure shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/PolicyKit-0.9"
 && ./configure --prefix=/opt/local --with-authfw=pam --with-pam-
 prefix=/etc/pam.d --with-pam-module-dir=/usr/lib/pam --disable-selinux
 --enable-man-pages --disable-gtk-doc " returned error 1
 :error:configure Target org.macports.configure returned: configure
 failure: shell command failed
 :debug:configure Backtrace: configure failure: shell command failed
     while executing
 "$procedure $targetname"
 :info:configure Warning: the following items did not execute (for
 policykit): org.macports.activate org.macports.configure
 org.macports.build org.macports.destroot org.macports.install
 :notice:configure Log for policykit is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/main.log

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


More information about the macports-tickets mailing list