From: John H. <jdh...@ac...> - 2004-05-13 12:06:05
|
>>>>> "Nils" == Nils Wagner <nw...@me...> writes: Nils> Dear experts, I am going to install matplotlib (latest cvs) Nils> on SuSe 9.1 Nils> The result of python setup.py build is Nils> ld: cannot find -lgobject-2.0 Nils> locate libgobject gives Nils> /opt/gnome/lib/libgobject-2.0.a Nils> /opt/gnome/lib/libgobject-2.0.la Nils> /opt/gnome/lib/libgobject-2.0.so Nils> /opt/gnome/lib/libgobject-2.0.so.0 Nils> /opt/gnome/lib/libgobject-2.0.so.0.200.3 Nils> What can I do to circumvent the problem ? matplotlib uses pkg-config in setupext.py to locate the gtk libs, flags, etc, and it's supposed to work, damn it! I am not sure why it is failing in your case. I'd be interested to see your output of > pkg-config --libs pygtk-2.0 > pkg-config --libs gtk+-2.0 I think you need to do 2 things * add /opt/gnome to your list of base dirs in setupext.py. Is your sys.platform 'sunos5'? If so, add it to the sunos5 list in the basedir dictionary. Also, please let me know what final settings work for you in that file and I can add it to the default config. * In setupext.py method add_pygtk_flags, paste in the line add_base_flags(module) at or near the top of that function Hope this helps, JDH |