Dear experts, I am going to install matplotlib (latest cvs)
> on SuSe 9.1
> The result of python setup.py build is
> ld: cannot find -lgobject-2.0
> locate libgobject gives
> /opt/gnome/lib/libgobject-2.0.a
> /opt/gnome/lib/libgobject-2.0.la
> /opt/gnome/lib/libgobject-2.0.so
> /opt/gnome/lib/libgobject-2.0.so.0
> /opt/gnome/lib/libgobject-2.0.so.0.200.3
> 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