Menu

#28 GTK installation path

open
nobody
None
5
2004-05-15
2004-05-15
No

Hi,

the path to GTK is hardcoded in the sources in
src/system/gui/gtk/Makefile.in, but several GNU/Linux
distributions use diffrenet path.

Please use gtk-config with --cflags and --libs to
detect the correct paths for headers and also for libs:

pavel@linux:~/Tmp/PearPC> gtk-config --cflags
-I/opt/gnome/include -I/opt/gnome/include/gtk-1.2
-I/opt/gnome/include/glib-1.2
-I/opt/gnome/lib/glib/include -I/usr/X11R6/include
pavel@linux:~/Tmp/PearPC> gtk-config --libs
-L/opt/gnome/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
pavel@linux:~/Tmp/PearPC>

Discussion


Log in to post a comment.