[gtk-osx-users] Building on PPC fails



Hi,

I am not sure if someone recently tried building gtkosx on a PPC machine?  I run into the following problem on a PPC MacMini with OSX Leopard:

sh gtk-osx-build-setup.sh: succeeds
jhbuild build python: succeeds

jhbuild bootstrap: succeeds

jhbuild build meta-gtk-osx-bootstrap: fails when configuring intltool.  Here is the trace:


*** Configuring intltool *** [8/15]
./configure --prefix /Users/steffen/gtk/inst --libdir '/Users/steffen/gtk/inst/lib'   --disable-dependency-tracking 
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking for a BSD-compatible install... /Users/steffen/.local/bin/install-check
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.8.8
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
*** Error during phase configure of intltool: ########## Error running ./configure --prefix /Users/steffen/gtk/inst --libdir '/Users/steffen/gtk/inst/lib'   --disable-dependency-tracking  *** [8/15]

I looked into the ./configure script and ran the following line manually:

perl -e "require XML::Parser"


which outputs:

Can't load '/Users/steffen/gtk/inst/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle' for module XML::Parser::Expat: dlopen(/Users/steffen/gtk/inst/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle, 1): no suitable image found.  Did find:
/Users/steffen/gtk/inst/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle: no matching architecture in universal wrapper at /System/Library/Perl/5.8.8/darwin-thread-multi-2level/DynaLoader.pm line 230.
 at /Users/steffen/gtk/inst/lib/perl5/5.8.8/darwin-thread-multi-2level/XML/Parser.pm line 18
Compilation failed in require at /Users/steffen/gtk/inst/lib/perl5/5.8.8/darwin-thread-multi-2level/XML/Parser.pm line 18.
BEGIN failed--compilation aborted at /Users/steffen/gtk/inst/lib/perl5/5.8.8/darwin-thread-multi-2level/XML/Parser.pm line 22.
Compilation failed in require at -e line 1.
The problem is the file 
/Users/steffen/gtk/inst/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle

which originates from 

/Users/steffen/gtk/source/XML-Parser-2.41/blib/arch/auto/XML/Parser/Expat/Expat.bundle

It does not contain any PPC code:

cd /Users/steffen/gtk/source/XML-Parser-2.41/blib/arch/auto/XML/Parser/Expat/

file Expat.bundle 
Expat.bundle: Mach-O universal binary with 2 architectures
Expat.bundle (for architecture i386):Mach-O bundle i386
Expat.bundle (for architecture x86_64):Mach-O 64-bit bundle x86_64

In contrast, XML-Parser-2.40 has these architectures:
cd /Users/steffen/gtk-old-but-good/source/XML-Parser-2.40/blib/arch/auto/XML/Parser/Expat/

file Expat.bundle 
Expat.bundle: Mach-O universal binary with 2 architectures
Expat.bundle (for architecture ppc):Mach-O bundle ppc
Expat.bundle (for architecture i386):Mach-O bundle i386

Would it be okay to go back to XML-Parser-2.40?

Regards,

Steffen


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