Ticket #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@… | |
| 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
Change History
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: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: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)

