[MacPorts] #31041: libgsf fails to see installed XML::parser and fails to install
MacPorts
noreply at macports.org
Mon Nov 7 15:41:57 PST 2011
#31041: libgsf fails to see installed XML::parser and fails to install
--------------------------------+-------------------------------------------
Reporter: raramayo@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: | Port: libgsf
--------------------------------+-------------------------------------------
Comment(by derek@…):
I received a similar error to the OP. But I am also using macports perl
5.14 as my active version, with 5.12.3 installed alongside but inactive.
For me the correct path to p5-xml-parser was in the @INC of perl5.12, but
not of perl5.14. I manually added
{{{
INTLTOOL_PERL=/opt/local/bin/perl5.12
}}}
to the ./configure call of libgsf and then libgsf configured and built
apparently correctly. Before making that change I had
{{{
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for perl... /opt/local/bin/perl
checking for perl >= 5.8.1... 5.14.1
checking for XML::Parser... configure: error: XML::Parser perl module is
required for intltool
}}}
and after making the change I had
{{{
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for perl... /opt/local/bin/perl5.12
checking for perl >= 5.8.1... 5.12.3
checking for XML::Parser... ok
}}}
and libgsf configured and built just fine. (note I didn't change the
portfile, I just called ./configure manually)
--
Ticket URL: <https://trac.macports.org/ticket/31041#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list