#33264: p5.12-xml-parser doesn't respect build_arch --------------------------------+------------------------------------------- Reporter: jhkoivis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: p5.12-xml-parser --------------------------------+------------------------------------------- Comment(by gvibe06@…): It seems that what I ended up doing was to add the below configure appends (compiler, cflags, ldflags, cxxflags) to the Portfiles of perl5.12, perl5, p5.12-xml-parser and to intltool and build. {{{ configure.compiler gcc-4.2 configure.cflags-append -m32 configure.ldflags-append -m32 configure.cxxflags-append -m32 }}} But even after adding those lines to the perl5.12 p5.12-xml-parser Portfile...the output from perl -e "require XML::Parser" still bombed: {{{ # /opt/local/bin/perl5.12.3 -e "require XML::Parser" Can't load '/opt/local/lib/perl5/site_perl/5.12.3/darwin-multi- 2level/auto/XML/Parser/Expat/Expat.bundle' for module XML::Parser::Expat: dlopen(/opt/local/lib/perl5/site_perl/5.12.3/darwin-multi- 2level/auto/XML/Parser/Expat/Expat.bundle, 1): no suitable image found. Did find: /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi- 2level/auto/XML/Parser/Expat/Expat.bundle: mach-o, but wrong architecture at /opt/local/lib/perl5/5.12.3/darwin-multi-2level/DynaLoader.pm line 204. at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi- 2level/XML/Parser.pm line 18. Compilation failed in require at /opt/local/lib/perl5/site_perl/5.12.3 /darwin-multi-2level/XML/Parser.pm line 18. BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.12.3 /darwin-multi-2level/XML/Parser.pm line 22. Compilation failed in require at -e line 1. }}} I will keep playing around with variations to see if I get any better results...at least until a more season developer can join in the fun and show me where I went wrong. -- Ticket URL: <https://trac.macports.org/ticket/33264#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS