#35958: p5.12-xml-parser: configure fails ---------------------------------+------------------------------------------ Reporter: jyablecki@… | Owner: mjg@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: p5.12-xml-parser ---------------------------------+------------------------------------------ Comment(by ciserlohn@…): Replying to [comment:6 jyablecki@…]:
{{{ Compiler: cc='/usr/bin/gcc-4.2', ccflags ='-pipe -O2 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include', }}}
Your Perl installation has been compiled with gcc-4.2. p5.12-xml-parser will try to use the same compiler. But gcc-4.2 has been removed in XCode 4.x and MacPorts thinks clang is your standard compiler. Does {{{ /usr/bin/gcc-4.2 }}} exists on your system? If not, please reinstall perl using clang {{{ sudo port -f uninstall perl5.12 sudo port clean --dist perl5.12 sudo port -s install perl5.12 }}} and try again. Even if /usr/bin/gcc-4.2 exists on your system you should consider recompiling perl with /usr/bin/clang. Mixing compilers is likely to cause problems with other perl modules as well. -- Ticket URL: <https://trac.macports.org/ticket/35958#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS