New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30124 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 years ago

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@…
Port: intltool

Description (last modified by macsforever2000@…) (diff)

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

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

Change History

Changed 4 years ago by zouhu0628@…

comment:1 in reply to: ↑ description ; follow-up: ↓ 3 Changed 4 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 4 years ago by macsforever2000@…

  • Port set to intltool
  • Description modified (diff)

comment:3 in reply to: ↑ 1 Changed 4 years ago by ryandesign@…

  • Status changed from new to closed
  • Cc ryandesign@… added
  • Resolution set to worksforme
  • Summary changed from Error: Failed to install intltool to intltool: 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 4 years ago by zouhu0628@…

But what is the problem, and how to resolve it

comment:5 follow-up: ↓ 6 Changed 4 years ago by zouhu0628@…

and I find similar error in installing other package

comment:6 in reply to: ↑ 5 Changed 4 years ago by ryandesign@…

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 4 years ago by jmr@…

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 4 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.