[MacPorts] #35533: p5.12-xml-parser: Couldn't find your C compiler
MacPorts
noreply at macports.org
Sat Aug 25 19:23:09 PDT 2012
#35533: p5.12-xml-parser: Couldn't find your C compiler
-----------------------------------+----------------------------------------
Reporter: Onemer117@… | Owner: mjg@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: haspatch | Port: p5.12-xml-parser
-----------------------------------+----------------------------------------
Comment(by piet@…):
Replying to [comment:6 jmr@…]:
> So actually the problem is that Devel::CheckLib ignores the compiler we
asked for and just uses $Config{cc}. This doesn't affect the compiler used
in the generated Makefile at all, but only the one used to check for
expat.
OK, The Devel::CheckLib doc says:
You must have a C compiler installed. We check for $Config{cc}, both
literally as it is in Config.pm and also in the $PATH.
And indeed, the error message "Couldn't find your C compiler" comes from
Devel::CheckLib, and it bails out. That's the reason it fails on the "use
Devel::Config" line.
--
Ticket URL: <https://trac.macports.org/ticket/35533#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list