I'm missing some understanding here, and cannot build matplotlib-0.90.1
nor the apparently missing libraries. This workstation is currently running
Slackware-11.0 with the following installed (or missing, in the case of
PyGObject):

        wxPython-2.8.0.1
        wxGTK-2.8.0
        pygobject: /usr/lib/pkgconfig/pygobject-2.0.pc; no PyGObject
        pygtk-2.10.3

   Since I don't have a mental (or documented) map of how all the pieces fit
together, I'm not sure how to fix the problems encountered. The matplotlib
build fails because the compiler cannot find libraries that are present:

In file included from /usr/include/bits/errno.h:25,
                  from /usr/include/errno.h:36,
                  from /usr/include/python2.4/Python.h:38,
                  from src/_isnan.c:1:
/usr/include/linux/errno.h:4:23: asm/errno.h: No such file or directory
In file included from /usr/include/bits/errno.h:25,
                  from /usr/include/errno.h:36,
                  from /usr/include/python2.4/Python.h:38,
                  from src/_isnan.c:1:
/usr/include/linux/errno.h:4:23: asm/errno.h: No such file or directory
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=i486
-mtune=i686 -fPIC -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.4 -c src/_isnan.c -o
build/temp.linux-i686-2.4/src/_isnan.o" failed with exit status 1

   That is, /usr/include/linux/asm/error.h exists, and _isnan.c is present at
/tmp/SBo/matplotlib-0.90.1/src/_isnan.c
/usr/local/numpy/numpy/core/src/_isnan.c
/usr/local/matplotlib-0.87.7/src/_isnan.c

   When I try to run matplotlib examples from within ipython, invoking the
shell with the -pylab switch produces this error:

   File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 42,
in ?
     raise ImportError(
ImportError: PyGTK requires PyGObject 2.11.1 or higher, but () was found

   As noted above, I have the .pc file but that's all.

   I'd like guidance on how to fix this mess so I can build, learn, and use
matplotlib-0.90.1. Once I understand the relationships involved, I'll be
able to get the latest version built and running on my notebook which now
runs Slackware-12.0 with Python-2.5.1.

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to