Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30124 closed defect (worksforme)

intltool: configure: error: XML::Parser perl module is required for intltool

Reported by: zouhu0628@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: intltool

Description (last modified by mf2k (Frank Schima))

Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Error: Failed to install intltool
Log for intltool is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_intltool/main.log
Error: The following dependencies were not installed: gtk-doc gnome-doc-utils intltool py27-libxml2 python27 python_select rarian getopt gtk2 atk gdk-pixbuf2 pango cairo libpixman xorg-xcb-util xorg-libxcb xorg-xcb-proto shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
ursa:Work zouhu$ vi /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_intltool/main.log

Attachments (1)

main.log (6.5 KB) - added by zouhu0628@… 13 years ago.

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by zouhu0628@…

Attachment: main.log added

comment:1 in reply to:  description ; Changed 13 years ago by zouhu0628@…

Replying to zouhu0628@…: OK, I find the solution: just use port install intltool +universal

Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Error: Failed to install intltool Log for intltool is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_intltool/main.log Error: The following dependencies were not installed: gtk-doc gnome-doc-utils intltool py27-libxml2 python27 python_select rarian getopt gtk2 atk gdk-pixbuf2 pango cairo libpixman xorg-xcb-util xorg-libxcb xorg-xcb-proto shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> ursa:Work zouhu$ vi /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_intltool/main.log

comment:2 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: intltool added

comment:3 in reply to:  1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: worksforme
Status: newclosed
Summary: Error: Failed to install intltoolintltool: configure: error: XML::Parser perl module is required for intltool

Replying to zouhu0628@…:

Replying to zouhu0628@…: OK, I find the solution: just use port install intltool +universal

It really doesn't make sense that that would fix anything, especially since intltool does not have a universal variant. It doesn't even install any architecture-specific files, so "universal" has no meaning for it.

comment:4 Changed 13 years ago by zouhu0628@…

But what is the problem, and how to resolve it

comment:5 Changed 13 years ago by zouhu0628@…

and I find similar error in installing other package

comment:6 in reply to:  5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to zouhu0628@…:

But what is the problem, and how to resolve it

I thought you said you found the solution already?

Replying to zouhu0628@…:

and I find similar error in installing other package

Then file tickets for them, please.

comment:7 Changed 13 years ago by jmroot (Joshua Root)

This has been reported many times before, and has always been either:

  • p5-xml-parser is built for different archs than perl and/or expat (e.g. didn't follow Migration)
  • p5-xml-parser is installed against perl5.x but perl5.y is active

comment:8 Changed 13 years ago by mikko@…

I got this same error while trying to install py26-pygtk.

Here are instructions to work around the problem

See from path what perl version has been used for XML::Parser (check file paths)

port contents p5-xml-parser

Show what actual perl version has been installed

port installed perl5

Then you can force reinstall of p5-xml-parser

sudo port -n upgrade --force p5-xml-parser

(Thanks for jmr_mp for guiding)

Note: See TracTickets for help on using tickets.