I am answering in a new thread. It is a pity that you started this
thread inside the one on the fink binary distribution.
Rogue wrote:
> I have gtk+ 2.6.10 installed but configure steps now fail saying gtk+
test can't be run. checking the config.log file I'm stumped by what has
happened:
>
> configure:27156: checking for GTK+ - version >= 2.4.0
> configure:27301: result: no
> configure:27334: gcc -o conftest -g -O2 -Wall -no-cpp-precomp
-fno-common -I/Volumes/Mac_UFS/sw/include -L/Volumes/Mac_UFS/sw/lib
conftest.c >&5
> conftest.c:83:21: error: gtk/gtk.h: No such file or directory
It is correct that this test should fail, because the compiler command
line is insufficient. If you want to include gtk stuff, you need to have
either -I/sw/include/gtk-2.0 or -I/sw/include/gtk-1.2 on the compiler
command line. You (or rather the configure script) get this
automatically from 'pkg-config --cflags gtk+-2.0'. Any self-respecting
configure script should use such a construct, or even simply 'pkg-config
--exists "gtk+-2.0 >= 2.4.0"'.
--
Martin
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel