gtk fails to build

Ryan Schmidt ryandesign at macports.org
Fri Nov 21 18:04:52 PST 2008


On Nov 21, 2008, at 19:36, Ludwig wrote:

> Ryan Schmidt wrote (on 2008-11-20 16:25):
>
>> Ludwig, please let us know if upgrading to Xcode 3.1(.1) works.
>> (After upgrading Xcode, clean the gtk2 work area with "sudo port
>> clean gtk2" then try installing it again.) If so, we can make the
>> gtk2 port require Xcode 3.1(.1) and prevent others from running into
>> this.
>
> Upgraded Xcode to 3.1 (When did Software Update start ignoring the
> developer tools?)

As far as I remember, Software Update has never updated Xcode /  
developer tools.


> cleaned the gtk2 build directory, and tried to
> upgrade again.  Now this:
>
>> i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXdamage.1.1.0.dylib:  
>> No such file or directory
>
> Sure enough, /usr/X11/lib contains
>
>> lrwxr-xr-x  1 root  wheel    18B 25 Jan  2008 /usr/X11/lib/ 
>> libXdamage.1.0.0.dylib -> libXdamage.1.dylib
>> -rwxr-xr-x  1 root  wheel    86K 31 Jul 18:57 /usr/X11/lib/ 
>> libXdamage.1.dylib
>> lrwxr-xr-x  1 root  wheel    18B 25 Jan  2008 /usr/X11/lib/ 
>> libXdamage.dylib -> libXdamage.1.dylib
>> -rwxr-xr-x  1 root  wheel   936B 10 May  2008 /usr/X11/lib/ 
>> libXdamage.la
>
> and there's no libXdamage in /opt/local/*
>
> On a hunch I installed the xorg-damageproto port but it didn't help.
> Where do I get libXdamage 1.1.0?

That's part of XQuartz, which can be got here:

http://xquartz.macosforge.org/

It sounds like a a bug that gtk2 is looking for Xdamage 1.1.0 instead  
of the version that's on your Mac.



More information about the macports-users mailing list