[MacPorts] #21654: several issues still exist with building gtk with MacPorts 1.8.0 on PPC platform
MacPorts
noreply at macports.org
Sun Sep 27 10:46:27 PDT 2009
#21654: several issues still exist with building gtk with MacPorts 1.8.0 on PPC
platform
------------------------------+---------------------------------------------
Reporter: gbjsmith@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port:
------------------------------+---------------------------------------------
Building gtk still fails as is described in bug number 20997.
Platform: PowerMac G5
OS: Mac OS X 10.5.8 with all updates available
Tools: Xcode 3.1.4
MacPorts: 1.8.0 freshly installed
There are several issues with doing this build:
% sudo port install gedit
First, I completely uninstalled MacPorts per the docs:
% sudo rm -rf /opt/local /Applications/MacPorts/ /Library/Tcl/macports1.0/
/Library/Receipts/MacPorts-1.8.0.pkg/ ~/.macports/
Second, I installed MacPorts 1.8.0 from the .dmg file
Next, I edited /opt/local/etc/macports/macports.conf to set the value of
"build_arch" to "ppc"
Next, I edited
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/glib2/Portfile
to make the changes in the glib2 Portfile as suggested in the patch
included with bug number 20372.
Then I ran "sudo port install gedit"
It ran till it got an error from a missing install of libtool while
compiling dbus... so I just
ran "sudo port install libtool" which completed ok, and then ran "sudo
port install gedit" again.
It ran till it got the dreaded error "gtk-update-icon-cache: The generated
cache was invalid."
issue 1: macports.conf doesn't seem to be set correctly for building on
PPC
issue 2: libtool is a dependency for gedit but it doesn't get built before
dbus where it is frist needed
issue 3: gtk2 still won't build on PPC even with suggested fixes from
20372 and 20997.
Just did a clean install of Macports 1.8.0 and Xcode 3.1.4 on a MacPro
quad core running 10.5.8 and without making any changes to Macport files,
the command
% sudo port install gedit
will successfully build gtk2 except that it still has the dependency
problem of issue 2 mentioned above where it gets an error when building
dbus since libtool has not been built yet.
--
Ticket URL: <http://trac.macports.org/ticket/21654>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list