GTK (Get That Killah) 2.4 Build Probs
What: GTK-2.4 Libraries...
Where: A SuSE 9.0 machine... When: 02:30 EST... Ok, I downloaded all the source packages and I was able to compile almost all of them to prefix /opt/gtk-2.4. Atk, glib, and pango all compile and install fine. But when I go to ./configure the gtk+-2.4 package, it tells me it needs pango and xft installed. However I can assure you that there are 3 different installs of pango on my system and all of them meet the version requirements. The last few relevant lines of config.log look like this: configure:26361: checking for freetype-config configure:26379: found /usr/bin/freetype-config configure:26392: result: /usr/bin/freetype-config configure:26428: gcc -o conftest -g -O2 -Wall -I/opt/gtk-2.4/include -L/opt/gtk-2.4/lib conftest.c -lfreetype >&5 configure:26434: $? = 0 configure:26438: test -z || test ! -s conftest.err configure:26441: $? = 0 configure:26444: test -s conftest configure:26447: $? = 0 configure:26464: checking For sufficiently new FreeType (at least 2.0.1) configure:26486: gcc -c -g -O2 -Wall -I/opt/gtk-2.4/include -I/usr/include/freetype2 conftest.c >&5 configure:26492: $? = 0 configure:26496: test -z || test ! -s conftest.err configure:26499: $? = 0 configure:26502: test -s conftest.o configure:26505: $? = 0 configure:26516: result: yes configure:26543: error: Pango 1.2.0 and Xft backend is required for x11 target I went through the config.log for pango to make sure I hadn't missed anything and that nothing had been left out, but it looked fine and I could clearly see where it had done everything correctly. I'm not quite sure where to go from here; any help would be appreciated and I will be more than happy to provide more information if I have missed something relevant here. |
Did you install pango, atk etc to /opt ? If so then that location is probably not in your ld config path and/or your pkg-config path.
At exactly which location are the .so files installed? And is there a pkgconfig directory under that location? |
Re: GTK (Get That Killah) 2.4 Build Probs
Quote:
|
pkg-config --modversion pangoxft returns 1.4.0
pkg-config itself is the newest version ldconfig has been run..and before i did anything i ran CPPFLAGS="-I/opt/gtk-2.4" LDFLAGS="-L/opt/gtk-2.4/lib" PKG_CONFIG_PATH="/opt/gtk-2.4/lib/pkgconfig" export CPPFLAGS LDFLAGS PKG_CONFIG_PATH LD_LIBRARY_PATH="/opt/gtk-2.4/lib" PATH="/opt/gtk-2.4/bin:$PATH" export LD_LIBRARY_PATH PATH pangoxft.pc says ... Version=1.4.0 ... :confused: |
You seem to have covered all the bases. Well, when truly desperate, I sometimes edit the configure script so as to disable the test. Then maybe it works, or maybe the nature of the problem will become clearer later.
|
Ok for anyone else who has this problem, here's how to fix it. I'm going to use my own directories for this example, but you can substitute your own --prefix and it should work.
I went into the configure file and commented out the following lines # We start off with the libraries from Pango ## be sure we also have Pango built with Xft2 support #if $PKG_CONFIG --exists 'pangoxft >= 1.2.0' ; then # if $have_freetype ; then : # else # { { echo "$as_me:$LINENO: error: Xft Pango backend found but did not find freetype libraries" >&5 #echo "$as_me: error: Xft Pango backend found but did not find freetype libraries" >&2;} # { (exit 1); exit 1; }; } # fi # else # { { echo "$as_me:$LINENO: error: Pango 1.2.0 and Xft backend is required for x11 target" >&5 #echo "$as_me: error: Pango 1.2.0 and Xft backend is required for x11 target" >&2;} # { (exit 1); exit 1; }; } # fi #if $PKG_CONFIG --exists xft ; then : ; else # { { echo "$as_me:$LINENO: error: Xft version 2 is required for x11 target" >&5 #echo "$as_me: error: Xft version 2 is required for x11 target" >&2;} # { (exit 1); exit 1; }; } # fi Then I copied xft.pc and fontconfig.pc from the old glib directories into the new one (/opt/gtk-2.4/lib/pkgconfig). Configure and make worked beautifully and I was able to compile gaim-0.75 with the new libraries. So far I have seen no repercussions *crosses fingers* |
All times are GMT -5. The time now is 12:02 AM. |