From: Jonathan B. <jbr...@ea...> - 2003-10-05 02:27:51
|
On Sat, 2003-10-04 at 18:29, Chris Trendall wrote: > Hi, > > I'm getting an error while trying to compile Visual Python > (visual-2.1.7-20031001.tar.gz). > (config.log attached) > > Does anyone have any suggestions? > > Chris > > <START EXCERPT> > > make[1]: Entering directory > `/nfs/hades.dgp/ondemand9/trendall/visual-2.1.7/cvisual' > /bin/sh ..//libtool --mode=compile g++ -c -I./CXX/Include -I. > -DHAVE_CONFIG_H -I/homes/e/trendall/s/include/python2.3 -g -O2 > -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include > -I/usr/X11R6/include -I/homes/e/trendall/s/include -pthread > -I/nfs/hades.dgp/ondemand9/trendall/include/glib-2.0 > -I/nfs/hades.dgp/ondemand9/trendall/lib/glib-2.0/include -o xgl.lo > xgl.cpp Note the combination of Glib 2.0 and Gtk 1.2. This is a Bad Thing. > > <END EXCERPT> (excerpted from config.log) GTHREAD_CFLAGS='-pthread -I/nfs/hades.dgp/ondemand9/trendall/include/glib-2.0 -I/nfs/hades.dgp/ondemand9/trendall/lib/glib-2.0/include ' GTHREAD_LIBS='-pthread -L/nfs/hades.dgp/ondemand9/trendall/lib -lgthread-2.0 -lglib-2.0 ' This is wrong and indicates a problem with your installation of Glib. `configure` determines the values of these variables by running `pkg-config --cflags gthread` and `pkg-config --libs gthread`. You should get stuff relating to glib-1.2, *NOT* glib-2.0. You should have to run `pkg-config --cflags gthread-2.0` to pick up Glib 2 stuff. So, your installation of Glib is screwed up in some way. HTH, -Jonathan Brandmeyer |