Opened 12 years ago

Last modified 12 years ago

#33168 closed defect

configure: error: XML::Parser perl module is required for intltool — at Initial Version

Reported by: pjue2009@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: intltool

Description

intltool fails to configure properly even though p5-xml-parser is installed.

{{{checking for perl >= 5.8.1... 5.12.3 checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_intltool/intltool/work/intltool-0.40.6" && ./configure --prefix=/opt/local " returned error 1 Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) DEBUG: Backtrace: configure failure: shell command failed (see log for details)

while executing

"$procedure $targetname" Warning: the following items did not execute (for intltool): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for intltool is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_intltool/intltool/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}}

When I run "perl5.12 -e "require XML::Parser", I get:

{{{Can't load '/opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level/auto/XML/Parser/Expat/Expat.bundle' for module XML::Parser::Expat: dlopen(/opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level/auto/XML/Parser/Expat/Expat.bundle, 1): no suitable image found. Did find:

/opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level/auto/XML/Parser/Expat/Expat.bundle: mach-o, but wrong architecture at /opt/local/lib/perl5/5.12.3/darwin-multi-2level/DynaLoader.pm line 204.

at /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level/XML/Parser.pm line 18

Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level/XML/Parser.pm line 18. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level/XML/Parser.pm line 22. Compilation failed in require at -e line 1. }}}

I have tried reinstalling expat, but keep getting the same message above. My config file is set to i386 x86_64 for universal build architecture, which I changed after realizing it was set to i386 ppc. I am running OSX 10.5.8, 64-bit Intel, Xcode 3.1.2.

Change History (0)

Note: See TracTickets for help on using tickets.