Re: [Gtk-osx-users] Can't load Expat.bundle, 1) no suitable image found



John,

Thank you.  This did the trick!

Peter

On Apr 7, 2011, at 10:13 PM, John Ralls wrote:

> 
> On Apr 7, 2011, at 4:33 PM, Peter Kelley wrote:
> 
>> I am running XCode 4.0.1
> 
> 
> I think what's going on is that XCode4 removes ppc support for a bunch of things. Unfortunately, Perl isn't one of them but libexpat is, so when Perl tries to compile a module (in this case XML::Parser), it passes x86_64, i386, and ppc for architectures. There's no ppc image in libexpat, so the build fails.
> 
> If I'm right, the solution is to export ARCHFLAGS="-arch x86_64 -arch i386". You may also want to add 
> $ENV{ARCHFLAGS} = "-arch x86_64 -arch i386" to your ~/.cpan/CPAN/MyConfig.pm (or ~/Library/Application Support/.cpan/CPAN/MyConfig.pm if you have File::HomeDir installed, though that's unusual for Mac users).
> 
> Regards,
> John Ralls
> 
> 
> 
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Gtk-osx-users mailing list
> Gtk-osx-users lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/gtk-osx-users
> 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]