From: John H. <jdh...@ac...> - 2004-02-22 14:04:46
|
>>>>> "katrin" == katrin schenk <sc...@ph...> writes: katrin> Hi all, I am DESPERATE to use matplotlib on my linux katrin> box...Here is the problem, according to my linux box, katrin> Gtk+2.0 and the corresponding libgtk developer tools are katrin> installed. However, when I try to configure pygtk2.0 katrin> (needed by matplotlib) I get an error saying that gtk+2.0 katrin> is not installed, (I also tried (foolishly) to run a katrin> matplotlib example file with a gtk backgroud and got a katrin> "gobject missing" error). Has anyone else had a problem katrin> like this? Anyone know how to fix? Hi Katrin, I saw that you were already getting some good suggestions on the pygtk list, which I also read. Those are the same things I would suggest too: try an rpm, if not, make sure your pkgconfig for pygtk is updated eg, what doed the following reveal? localhost:~> pkg-config --modversion gtk+-2.0 2.2.1 Even if your RPM installed them, if pkgconfig cannot find them, you'll have install troubles. You can set the path pkgconfig uses to find files, eg, setenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/usr/lib/pkgconfig In this case, you want to make sure the file gtk+-2.0.pc is in your PKG_CONFIG_PATH path. But these are all fallback suggestions if the rpm doesn't work for you. If you have more trouble, it will help also to provide the exact compiler error. Good luck. If you figure out what was going wrong and fix it, let me know and I'll update the website docs. JDH |