Goldenrod J. Fox ([info]goldenrod) wrote,
  • Mood: geeky

gtk2 success in Leopard

After spending all freaking week trying to get gtk2 working in 10.5 on my new penryn Macbook, I can finally say I did it!



Here's what I had to do to get GTK2 working in Leopard:

Installed all of the xcode tools, including every version of gcc and the X11-SDK.

I compiled libtiff from source, compiled libjpeg from source.

compiled fink from source, updated fink to the most recent cvs repositories.

edited my .bash_profile to include "export PATH=/sw/bin:$PATH" and "export DYDLD_LIBRARY_PATH=/usr/local/lib"

I then attempted to install the gtk+2 package via fink but it kept stopping while making the gdk libaries with this error:

 

i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No  
such file or directory
make[4]: *** [libgdk-x11-2.0.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gtk+2-2.6.10-1004
(Reading database ... 47314 files and directories currently installed.)
Removing fink-buildlock-gtk+2-2.6.10-1004 ...
Failed: phase compiling: gtk+2-2.6.10-1004 failed



I tried to fix the missing library with xorg via macports, unfortunately macports does not have xorg support yet:



So my ultimate fix was to create a symbolic link from /Developer/SDKs/MacOSX10.5/usr/X11/lib/libXrandr.2.dylib to /usr/X11/lib/libXrandr.2.0.0.dylib

I again tried to install gtk+2. Finally this time it installed sucessfully.


  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

  • 7 comments

[info]artfulreggie

March 15 2008, 23:44:34 UTC 4 years ago

Now you can totally be gimpin'. ;)

[info]c_eagle

March 16 2008, 09:01:28 UTC 4 years ago

ooo.. congrats!! (nice desktop too.. very inspiring!!.. thanks for the peek) ^V^
Where did ya research your fixes, fox sir? :9

[info]dingoatscritch

March 17 2008, 07:56:32 UTC 4 years ago

somuchlove

I'M EATING OLIVES AND YOU ARE NOT!!

[info]lizzle

June 11 2008, 02:26:31 UTC 3 years ago

LJ STALK <3
-Love, Betsy

[info]lizzle

June 11 2008, 02:27:53 UTC 3 years ago

lol, I have idea what's going on... but I see an Evana piccy XD! Awesomes.

[info]lizzle

June 11 2008, 02:28:17 UTC 3 years ago

I have NO idea, is what I meant. *heavens*

[info]svetlavixen

July 3 2008, 06:14:01 UTC 3 years ago

Hello, before I ask about computers, I think I should introduce myself: the name of my developing fursona is Svetla, and her species is a vixen. Should I tell of my IRL past, or is that too much information for a proper introduction (I came to that conclusion when writing this comment)? For now, I'll just say I lived a very simple life growing up.

Now for the question, in which I ask anyone who knows: What's Leopard like, and is it for Mac only? What are some good resources for programming that can lead me to this level of knowledge, and even higher? :3
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…