|
From: Jonathan B. <jbr...@ea...> - 2004-11-29 21:57:23
|
On Mon, 2004-11-29 at 08:42 -0800, overbyte wrote: > Thanks for your suggestion Jonathan. I was pretty sure I installed the > development package. So I tried "pkg-config --modversion gtk+" but all > I got was 3 lines of "sh: gtk-config: command not found". Then I tried > "pkg-config --modversion python" just to see if it found python > (although maybe that's not a proper package name -- didn't look it up) > and I got an error message tellimg e to add to directory named in > PKG_CONFIG_PATH env variable. So I looked at that path variable and > listed the directories in the path. In /opt/gnome/lib/pkgconfig I found > the gtk ".pc" files as follows: > > gtk+-2.0.pc > gtk-doc.pc > gtk-engines-2.pc > gtkhex.pc > gtksourceview-1.0.pc > gtk+-x11-2.0.pc Gtk+ 2.x is a completely different package from Gtk+ 1.2. VPython needs Gtk+ 1.2.x. You need to get the development package for Gtk+ 1.x, _NOT_ 2.x. Python does not provide a .pc file for pkg-config. Visual's configure script uses other means to figure out the information it needs to compile against Python. > So I tried "pkg-config --modversion gtk+-2.0" and wahoo! I got a reply > of "2.4.9". > It seems to me that the gtk+ package in this distribution is named > gtk+-2.0. Probably this was a change made by the gtk development team > in this new release level 2.x.x. I doubt that Novell/SuSE made such a > name change to this application package. Maybe I can satisfy the > configure script by creating some links to give more generic alias names > to the actual packages, but I don't know the extent to which I have to > rename things (directories, files, libraries, etc.) and what that might > break. Most likely a small change to the configure script and makefile > will handle this name discrepancy for all who use this and other > distributions having the 2.x.x releases of gtk. > > Stan This won't work. Gtk+ 2.x is both ABI and API incompatible with Gtk+ 1.2, which is why the Gtk+ developers raised the major version number. I do not have access to a SUSE 9.2 system to figure out what the right package is, and Novell/SUSE does not make this information publicly available, as far as I can see. So, you will have to figure out which package provides the development versions of the libraries for Gtk+ 1.2. The last thing that I heard was that the package was named "gtk+-devel", which is why I mentioned that name in the INSTALL.txt file. When you find out what the right package is for SUSE 9.2, please let me know so that I can update the installation notes. Sorry, Jonathan |