From: overbyte <ove...@ea...> - 2004-11-29 05:16:30
|
While trying to install VPython on SuSE 9.2 Pro (the latest release from Novell/SuSE which just arrived this month), I get a fatal error message from the configure script. It's complaining that I don't have Gtk+ . I've checked the package list in the SuSE package installer (YAST) and it says the system has packages called gtk and gtk2, which both refer to themselves as versions of Gtk+, however, there's nothing actually called Gtk+ or gtk+ in the system. There isn't a libgtk or directory gtk except /usr/lib/gtk which contains only themes. I even did a complete file search for a name gtk+ and didn't find one. Does anyone have any suggestion on where I go from here? I tried to build on my prior installed SuSE 9.1 Pro, but I was stumped by an internal error in g++ at the end of a long compilation. So I waited for 9.2 to be released with the newer compiler, only to run into this configure problem. Stan Sokolow |
From: Jonathan B. <jbr...@ea...> - 2004-11-29 11:23:32
|
On Sun, 2004-11-28 at 21:16 -0800, overbyte wrote: > While trying to install VPython on SuSE 9.2 Pro (the latest release from > Novell/SuSE which just arrived this month), I get a fatal error message > from the configure script. It's complaining that I don't have Gtk+ . > I've checked the package list in the SuSE package installer (YAST) and > it says the system has packages called gtk and gtk2, which both refer to > themselves as versions of Gtk+, however, there's nothing actually called > Gtk+ or gtk+ in the system. There isn't a libgtk or directory gtk > except /usr/lib/gtk which contains only themes. I even did a complete > file search for a name gtk+ and didn't find one. Does anyone have any > suggestion on where I go from here? You are probably missing the development version of the package, possibly named gtk-devel. When you have it installed, the command `pkg-config --modversion gtk+` should print out 1.2.x, for some value of x (on my system, 10). Make sure to install the development versions of all the required dependencies. HTH, -Jonathan Brandmeyer |
From: overbyte <ove...@ea...> - 2004-11-29 16:42:33
|
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 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 On Mon, 2004-11-29 at 06:23 -0500, Jonathan Brandmeyer wrote: > On Sun, 2004-11-28 at 21:16 -0800, overbyte wrote: > > While trying to install VPython on SuSE 9.2 Pro (the latest release from > > Novell/SuSE which just arrived this month), I get a fatal error message > > from the configure script. It's complaining that I don't have Gtk+ . > > I've checked the package list in the SuSE package installer (YAST) and > > it says the system has packages called gtk and gtk2, which both refer to > > themselves as versions of Gtk+, however, there's nothing actually called > > Gtk+ or gtk+ in the system. There isn't a libgtk or directory gtk > > except /usr/lib/gtk which contains only themes. I even did a complete > > file search for a name gtk+ and didn't find one. Does anyone have any > > suggestion on where I go from here? > > You are probably missing the development version of the package, > possibly named gtk-devel. When you have it installed, the command > `pkg-config --modversion gtk+` should print out 1.2.x, for some value of > x (on my system, 10). > > Make sure to install the development versions of all the required > dependencies. > > HTH, > -Jonathan Brandmeyer > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
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 |
From: overbyte <ove...@ea...> - 2004-11-29 22:39:45
|
Thanks again, Jonathan. I'll track down Gtk 1.2.x -devel package; if it's not on SuSE 9.2, I have earlier releases 9.1 and 8.0. If necessary, I'll download it from the gtk.org site. Stan > On Mon, 2004-11-29 at 16:57 -0500, Jonathan Brandmeyer wrote: > > 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 > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |