Hi,

I've made a local installation of python2.5, numpy 1.0.4 and matplotlib
0.91.2.

I didn't see any pb during compilation, but when I try to show a figure, I
received SIGSEGV.

You will find attached to this mail the log of my installation, and a
backtrace of a segfault in gdb, I don't know if this helps.


Have you got any glue ?

-- 
LB
[EMAIL PROTECTED]:~/tmp/Linux$ gdb python2.5
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /home/loic/tmp/Linux/bin/python2.5 
[Thread debugging using libthread_db enabled]
Python 2.5.2 (r252:60911, Feb 25 2008, 08:15:40) 
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
[New Thread 0xb7cafad0 (LWP 15665)]
>>> from pylab import *
>>> x = linspace(-10, 10,205)
>>> y = sinc(x)
>>> plot(x, y)
[<matplotlib.lines.Line2D instance at 0x885528c>]
>>> show()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7cafad0 (LWP 15665)]
0xb6c87cee in PyAggImagePhoto (clientdata=0x0, interp=0x87d9c78, argc=5, argv=0xbff53ddc) at src/_transforms.h:362
362	  Point* ll_api() {return _ll;}
Current language:  auto; currently c++
(gdb) bt
#0  0xb6c87cee in PyAggImagePhoto (clientdata=0x0, interp=0x87d9c78, argc=5, argv=0xbff53ddc) at src/_transforms.h:362
#1  0xb6af52dc in TclInvokeStringCommand () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#2  0xb6af6e13 in TclEvalObjvInternal () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#3  0xb6af7d3c in Tcl_EvalObjv () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#4  0xb6d6b509 in Tkapp_Call (selfptr=0x884a138, args=0x880714c) at /home/loic/tmp/Linux/src/Python-2.5.2/Modules/_tkinter.c:1327
#5  0xb7ebb37d in PyCFunction_Call (func=0x88556ac, arg=0x880714c, kw=0x0) at Objects/methodobject.c:108
#6  0xb7f07ed0 in PyEval_EvalFrameEx (f=0x89baf54, throwflag=0) at Python/ceval.c:3573
#7  0xb7f097c0 in PyEval_EvalCodeEx (co=0x87b43c8, globals=0x881a13c, locals=0x0, args=0x89892fc, argcount=2, kws=0x8989304, kwcount=1, 
    defs=0x850d5b8, defcount=2, closure=0x0) at Python/ceval.c:2836
#8  0xb7f07987 in PyEval_EvalFrameEx (f=0x89891bc, throwflag=0) at Python/ceval.c:3669
#9  0xb7f097c0 in PyEval_EvalCodeEx (co=0x8744260, globals=0x87931c4, locals=0x0, args=0x8988a68, argcount=1, kws=0x8988a6c, kwcount=0, 
    defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2836
#10 0xb7f07987 in PyEval_EvalFrameEx (f=0x8988914, throwflag=0) at Python/ceval.c:3669
#11 0xb7f097c0 in PyEval_EvalCodeEx (co=0x8744218, globals=0x87931c4, locals=0x0, args=0x8508db8, argcount=2, kws=0x0, kwcount=0, 
    defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2836
#12 0xb7ea7300 in function_call (func=0x8843e64, arg=0x8508dac, kw=0x0) at Objects/funcobject.c:517
#13 0xb7e857b7 in PyObject_Call (func=0x0, arg=0x8508dac, kw=0x0) at Objects/abstract.c:1861
#14 0xb7f06513 in PyEval_EvalFrameEx (f=0x8987fe4, throwflag=0) at Python/ceval.c:3853
#15 0xb7f097c0 in PyEval_EvalCodeEx (co=0x87ab458, globals=0x8793c64, locals=0x0, args=0x881f240, argcount=20, kws=0x0, kwcount=0, 
    defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2836
#16 0xb7ea7300 in function_call (func=0x88114fc, arg=0x881f234, kw=0x0) at Objects/funcobject.c:517
#17 0xb7e857b7 in PyObject_Call (func=0x0, arg=0x881f234, kw=0x0) at Objects/abstract.c:1861
#18 0xb7e8cfd2 in instancemethod_call (func=0x8331aa4, arg=0x881f234, kw=0x0) at Objects/classobject.c:2519
#19 0xb7e857b7 in PyObject_Call (func=0x0, arg=0x871da54, kw=0x0) at Objects/abstract.c:1861
#20 0xb7f0177b in PyEval_CallObjectWithKeywords (func=0x8331aa4, arg=0x871da54, kw=0x0) at Python/ceval.c:3442
#21 0xb6d6a0af in PythonCmd (clientData=0x8944440, interp=0x87d9c78, argc=20, argv=0x8987520)
    at /home/loic/tmp/Linux/src/Python-2.5.2/Modules/_tkinter.c:2014
#22 0xb6af52dc in TclInvokeStringCommand () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#23 0xb6af6e13 in TclEvalObjvInternal () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#24 0xb6b22bb7 in TclExecuteByteCode () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#25 0xb6b1fd54 in Tcl_ExprObj () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#26 0xb6af6633 in Tcl_ExprBooleanObj () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#27 0xb6b04085 in Tcl_IfObjCmd () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#28 0xb6af6e13 in TclEvalObjvInternal () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#29 0xb6af73ad in Tcl_EvalEx () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#30 0xb6b9eeba in Tk_BindEvent () from /home/loic/tmp/Linux/lib/libtk8.4.so
#31 0xb6ba4773 in TkBindEventProc () from /home/loic/tmp/Linux/lib/libtk8.4.so
#32 0xb6baa39a in Tk_HandleEvent () from /home/loic/tmp/Linux/lib/libtk8.4.so
#33 0xb6bc60c6 in TkDoConfigureNotify () from /home/loic/tmp/Linux/lib/libtk8.4.so
#34 0xb6bc68dd in Tk_MakeWindowExist () from /home/loic/tmp/Linux/lib/libtk8.4.so
#35 0xb6bc6a5b in Tk_MapWindow () from /home/loic/tmp/Linux/lib/libtk8.4.so
#36 0xb6bbdaa6 in ArrangePacking () from /home/loic/tmp/Linux/lib/libtk8.4.so
#37 0xb6b5882f in TclServiceIdle () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#38 0xb6b47cb0 in Tcl_DoOneEvent () from /home/loic/tmp/Linux/lib/libtcl8.4.so
#39 0xb6d69cd8 in Tkapp_MainLoop (selfptr=0x884a138, args=0xb77495cc) at /home/loic/tmp/Linux/src/Python-2.5.2/Modules/_tkinter.c:2554
#40 0xb7ebb37d in PyCFunction_Call (func=0x88270cc, arg=0xb77495cc, kw=0x0) at Objects/methodobject.c:108
#41 0xb7f07ed0 in PyEval_EvalFrameEx (f=0x898790c, throwflag=0) at Python/ceval.c:3573
#42 0xb7f097c0 in PyEval_EvalCodeEx (co=0x87992a8, globals=0x8793c64, locals=0x0, args=0x8986210, argcount=0, kws=0x8986210, kwcount=0, 
    defs=0x880d3b8, defcount=1, closure=0x0) at Python/ceval.c:2836
---Type <return> to continue, or q <return> to quit--- 
#43 0xb7f07987 in PyEval_EvalFrameEx (f=0x89860cc, throwflag=0) at Python/ceval.c:3669
#44 0xb7f097c0 in PyEval_EvalCodeEx (co=0x87440b0, globals=0x87931c4, locals=0x0, args=0x89860b8, argcount=0, kws=0x89860b8, kwcount=0, 
    defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2836
#45 0xb7f07987 in PyEval_EvalFrameEx (f=0x8985f7c, throwflag=0) at Python/ceval.c:3669
#46 0xb7f097c0 in PyEval_EvalCodeEx (co=0xb7c34e30, globals=0xb7c87acc, locals=0xb7c87acc, args=0x0, argcount=0, kws=0x0, kwcount=0, 
    defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2836
#47 0xb7f09835 in PyEval_EvalCode (co=0xb7c34e30, globals=0xb7c87acc, locals=0xb7c87acc) at Python/ceval.c:494
#48 0xb7f2b920 in PyRun_InteractiveOneFlags (fp=0xb7df9440, filename=0xb7f606dc "<stdin>", flags=0xbff56d68) at Python/pythonrun.c:1273
#49 0xb7f2bb43 in PyRun_InteractiveLoopFlags (fp=0xb7df9440, filename=0xb7f606dc "<stdin>", flags=0xbff56d68) at Python/pythonrun.c:723
#50 0xb7f2c277 in PyRun_AnyFileExFlags (fp=0xb7df9440, filename=0xb7f606dc "<stdin>", closeit=0, flags=0xbff56d68)
    at Python/pythonrun.c:692
#51 0xb7f357f3 in Py_Main (argc=0, argv=0xbff56e34) at Modules/main.c:523
#52 0x080485a2 in main (argc=Cannot access memory at address 0x0
) at ./Modules/python.c:23

########################################################################
# Install matplotlib

untar_and_open matplotlib
ls -1rt ${ZIP}/$name* | tail -n 1 
ls -1rt  | grep -i ^$name | tail -n 1

$python setup.py build	
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 0.91.2
                python: 2.5.2 (r252:60911, Feb 25 2008, 08:15:40)  [GCC
                        4.1.2]
              platform: linux2

REQUIRED DEPENDENCIES
                 numpy: 1.0.4
             freetype2: 9.16.3

OPTIONAL BACKEND DEPENDENCIES
                libpng: 1.2.15beta5
               Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
              wxPython: no
                        * wxPython not found
                  Gtk+: no
                        * Building for Gtk+ requires pygtk; you must be able
                        * to "import gtk" in your build/install environment
                    Qt: no
                   Qt4: no
                 Cairo: no

OPTIONAL DATE/TIMEZONE DEPENDENCIES
              datetime: present, version unknown
              dateutil: matplotlib will provide
                  pytz: matplotlib will provide

OPTIONAL USETEX DEPENDENCIES
                dvipng: 1.9
           ghostscript: 8.15.3
                 latex: no
               pdftops: pdftops)

EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
             configobj: matplotlib will provide
      enthought.traits: matplotlib will provide

[Edit setup.cfg to suppress the above messages]
============================================================================
running build
running build_py
creating build
creating build/lib.linux-i686-2.5
copying lib/pylab.py -> build/lib.linux-i686-2.5
copying lib/configobj.py -> build/lib.linux-i686-2.5
creating build/lib.linux-i686-2.5/matplotlib
copying lib/matplotlib/__init__.py -> build/lib.linux-i686-2.5/matplotlib
[...]
copying lib/enthought/traits/ui/tk/view_application.py -> build/lib.linux-i686-2.5/enthought/traits/ui/tk
creating build/lib.linux-i686-2.5/matplotlib/mpl-data
creating build/lib.linux-i686-2.5/matplotlib/mpl-data/fonts
creating build/lib.linux-i686-2.5/matplotlib/mpl-data/fonts/afm
[...]
running build_ext
building 'matplotlib.ft2font' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/src
creating build/temp.linux-i686-2.5/CXX
compile options: '-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/loic/tmp/Linux/include/python2.5 -c'
gcc: CXX/cxxextensions.c
gcc: src/mplutils.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: src/ft2font.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: CXX/cxxsupport.cxx
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: CXX/IndirectPythonInterface.cxx
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: CXX/cxx_extensions.cxx
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
g++ -pthread -shared build/temp.linux-i686-2.5/src/ft2font.o build/temp.linux-i686-2.5/src/mplutils.o build/temp.linux-i686-2.5/CXX/IndirectPythonInterface.o build/temp.linux-i686-2.5/CXX/cxx_extensions.o build/temp.linux-i686-2.5/CXX/cxxsupport.o build/temp.linux-i686-2.5/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/loic/tmp/Linux/lib -lfreetype -lz -lstdc++ -lm -lpython2.5 -o build/lib.linux-i686-2.5/matplotlib/ft2font.so
building 'matplotlib.ttconv' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

creating build/temp.linux-i686-2.5/ttconv
compile options: '-I/usr/local/include -I/usr/include -I. -I/home/loic/tmp/Linux/include/python2.5 -c'
gcc: src/_ttconv.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: ttconv/pprdrv_tt.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: ttconv/pprdrv_tt2.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: ttconv/ttutil.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
g++ -pthread -shared build/temp.linux-i686-2.5/src/_ttconv.o build/temp.linux-i686-2.5/ttconv/pprdrv_tt.o build/temp.linux-i686-2.5/ttconv/pprdrv_tt2.o build/temp.linux-i686-2.5/ttconv/ttutil.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/loic/tmp/Linux/lib -lpython2.5 -o build/lib.linux-i686-2.5/matplotlib/ttconv.so
building 'matplotlib._cntr' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-I/home/loic/tmp/Linux/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/loic/tmp/Linux/include/python2.5 -c'
gcc: src/cntr.c
gcc -pthread -shared build/temp.linux-i686-2.5/src/cntr.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/loic/tmp/Linux/lib -lpython2.5 -o build/lib.linux-i686-2.5/matplotlib/_cntr.so
building 'matplotlib.nxutils' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-I/home/loic/tmp/Linux/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/loic/tmp/Linux/include/python2.5 -c'
gcc: src/nxutils.c
gcc -pthread -shared build/temp.linux-i686-2.5/src/nxutils.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/loic/tmp/Linux/lib -lpython2.5 -o build/lib.linux-i686-2.5/matplotlib/nxutils.so
building 'matplotlib._agg' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

creating build/temp.linux-i686-2.5/agg23
creating build/temp.linux-i686-2.5/agg23/src
compile options: '-Iagg23/include -Isrc -Iswig -I/home/loic/tmp/Linux/include/python2.5 -c'
gcc: agg23/src/agg_curves.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: agg23/src/agg_trans_affine.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: agg23/src/agg_bezier_arc.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: src/agg.cxx
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: agg23/src/agg_vcgen_dash.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: agg23/src/agg_vcgen_stroke.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: agg23/src/agg_path_storage.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: agg23/src/agg_rasterizer_scanline_aa.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
g++ -pthread -shared build/temp.linux-i686-2.5/src/agg.o build/temp.linux-i686-2.5/agg23/src/agg_trans_affine.o build/temp.linux-i686-2.5/agg23/src/agg_path_storage.o build/temp.linux-i686-2.5/agg23/src/agg_bezier_arc.o build/temp.linux-i686-2.5/agg23/src/agg_vcgen_dash.o build/temp.linux-i686-2.5/agg23/src/agg_vcgen_stroke.o build/temp.linux-i686-2.5/agg23/src/agg_rasterizer_scanline_aa.o build/temp.linux-i686-2.5/agg23/src/agg_curves.o -L/home/loic/tmp/Linux/lib -lstdc++ -lm -lpython2.5 -o build/lib.linux-i686-2.5/matplotlib/_agg.so
building 'matplotlib._transforms' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-Isrc -I. -I/home/loic/tmp/Linux/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/loic/tmp/Linux/include/python2.5 -c'
gcc: src/transforms.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
g++ -pthread -shared build/temp.linux-i686-2.5/src/transforms.o build/temp.linux-i686-2.5/src/mplutils.o build/temp.linux-i686-2.5/CXX/IndirectPythonInterface.o build/temp.linux-i686-2.5/CXX/cxx_extensions.o build/temp.linux-i686-2.5/CXX/cxxsupport.o build/temp.linux-i686-2.5/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/loic/tmp/Linux/lib -lstdc++ -lm -lpython2.5 -o build/lib.linux-i686-2.5/matplotlib/_transforms.so
building 'matplotlib.backends._backend_agg' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-I/home/loic/tmp/Linux/lib/python2.5/site-packages/numpy/core/include -I/usr/include/libpng12 -I/usr/local/include -I/usr/include -I. -Isrc -Iswig -Iagg23/include -I. -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/loic/tmp/Linux/include/python2.5 -c'
gcc: src/_image.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: agg23/src/agg_image_filters.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc: src/backend_agg.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
src/backend_agg.cpp: In member function ‘Py::Object RendererAgg::draw_path(const Py::Tuple&)’:
src/backend_agg.cpp:2055: attention : ‘cmd’ may be used uninitialized in this function
/home/loic/tmp/Linux/lib/python2.5/site-packages/numpy/core/include/numpy/__ufunc_api.h: At global scope:
/home/loic/tmp/Linux/lib/python2.5/site-packages/numpy/core/include/numpy/__ufunc_api.h:177: attention : ‘int _import_umath()’ defined but not used
g++ -pthread -shared build/temp.linux-i686-2.5/agg23/src/agg_trans_affine.o build/temp.linux-i686-2.5/agg23/src/agg_path_storage.o build/temp.linux-i686-2.5/agg23/src/agg_bezier_arc.o build/temp.linux-i686-2.5/agg23/src/agg_curves.o build/temp.linux-i686-2.5/agg23/src/agg_vcgen_dash.o build/temp.linux-i686-2.5/agg23/src/agg_vcgen_stroke.o build/temp.linux-i686-2.5/agg23/src/agg_rasterizer_scanline_aa.o build/temp.linux-i686-2.5/agg23/src/agg_image_filters.o build/temp.linux-i686-2.5/src/_image.o build/temp.linux-i686-2.5/src/ft2font.o build/temp.linux-i686-2.5/src/mplutils.o build/temp.linux-i686-2.5/CXX/IndirectPythonInterface.o build/temp.linux-i686-2.5/CXX/cxx_extensions.o build/temp.linux-i686-2.5/CXX/cxxsupport.o build/temp.linux-i686-2.5/CXX/cxxextensions.o build/temp.linux-i686-2.5/src/backend_agg.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/loic/tmp/Linux/lib -lpng12 -lz -lstdc++ -lm -lfreetype -lstdc++ -lm -lpython2.5 -o build/lib.linux-i686-2.5/matplotlib/backends/_backend_agg.so
building 'matplotlib._image' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-I/home/loic/tmp/Linux/lib/python2.5/site-packages/numpy/core/include -I/usr/include/libpng12 -I/usr/local/include -I/usr/include -I. -Isrc -Iswig -Iagg23/include -I. -I/home/loic/tmp/Linux/include/python2.5 -c'
gcc: src/image.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
g++ -pthread -shared build/temp.linux-i686-2.5/src/image.o build/temp.linux-i686-2.5/src/mplutils.o build/temp.linux-i686-2.5/agg23/src/agg_trans_affine.o build/temp.linux-i686-2.5/agg23/src/agg_path_storage.o build/temp.linux-i686-2.5/agg23/src/agg_rasterizer_scanline_aa.o build/temp.linux-i686-2.5/agg23/src/agg_image_filters.o build/temp.linux-i686-2.5/agg23/src/agg_bezier_arc.o build/temp.linux-i686-2.5/CXX/IndirectPythonInterface.o build/temp.linux-i686-2.5/CXX/cxx_extensions.o build/temp.linux-i686-2.5/CXX/cxxsupport.o build/temp.linux-i686-2.5/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/loic/tmp/Linux/lib -lpng12 -lz -lstdc++ -lm -lpython2.5 -o build/lib.linux-i686-2.5/matplotlib/_image.so
building 'matplotlib.backends._tkagg' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-I/home/loic/tmp/Linux/include -I/home/loic/tmp/Linux/include -I/usr/include/libpng12 -I/usr/local/include -I/usr/include -I. -Isrc -Iswig -Iagg23/include -I. -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/loic/tmp/Linux/include/python2.5 -c'
gcc: src/_tkagg.cpp
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
g++ -pthread -shared build/temp.linux-i686-2.5/src/_tkagg.o build/temp.linux-i686-2.5/CXX/IndirectPythonInterface.o build/temp.linux-i686-2.5/CXX/cxx_extensions.o build/temp.linux-i686-2.5/CXX/cxxsupport.o build/temp.linux-i686-2.5/CXX/cxxextensions.o -L/home/loic/tmp/Linux/lib -L/home/loic/tmp/Linux/lib -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/loic/tmp/Linux/lib -ltk8.4 -ltcl8.4 -lpng12 -lz -lstdc++ -lm -lfreetype -lstdc++ -lm -lpython2.5 -o build/lib.linux-i686-2.5/matplotlib/backends/_tkagg.so
building 'enthought.traits.ctraits' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

creating build/temp.linux-i686-2.5/lib
creating build/temp.linux-i686-2.5/lib/enthought
creating build/temp.linux-i686-2.5/lib/enthought/traits
compile options: '-I/home/loic/tmp/Linux/include/python2.5 -c'
gcc: lib/enthought/traits/ctraits.c
lib/enthought/traits/ctraits.c: In function ‘_trait_cast’:
lib/enthought/traits/ctraits.c:2370: attention : format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘Py_ssize_t’
gcc -pthread -shared build/temp.linux-i686-2.5/lib/enthought/traits/ctraits.o -L/home/loic/tmp/Linux/lib -lpython2.5 -o build/lib.linux-i686-2.5/enthought/traits/ctraits.so
$python setup.py install --prefix=${INSTALL_DIR}
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 0.91.2
                python: 2.5.2 (r252:60911, Feb 25 2008, 08:15:40)  [GCC
                        4.1.2]
              platform: linux2

REQUIRED DEPENDENCIES
                 numpy: 1.0.4
             freetype2: 9.16.3

OPTIONAL BACKEND DEPENDENCIES
                libpng: 1.2.15beta5
               Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
              wxPython: no
                        * wxPython not found
                  Gtk+: no
                        * Building for Gtk+ requires pygtk; you must be able
                        * to "import gtk" in your build/install environment
                    Qt: no
                   Qt4: no
                 Cairo: no

OPTIONAL DATE/TIMEZONE DEPENDENCIES
              datetime: present, version unknown
              dateutil: matplotlib will provide
                  pytz: matplotlib will provide

OPTIONAL USETEX DEPENDENCIES
                dvipng: 1.9
           ghostscript: 8.15.3
                 latex: no
               pdftops: pdftops)

EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
             configobj: matplotlib will provide
      enthought.traits: matplotlib will provide

[Edit setup.cfg to suppress the above messages]
============================================================================
running install
running build
running build_py
copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.linux-i686-2.5/matplotlib/mpl-data
copying lib/matplotlib/mpl-data/matplotlib.conf -> build/lib.linux-i686-2.5/matplotlib/mpl-data
running build_ext
running install_lib
copying build/lib.linux-i686-2.5/pylab.py -> /home/loic/tmp/Linux/lib/python2.5/site-packages
copying build/lib.linux-i686-2.5/configobj.py -> /home/loic/tmp/Linux/lib/python2.5/site-packages
creating /home/loic/tmp/Linux/lib/python2.5/site-packages/matplotlib
[...]
copying build/lib.linux-i686-2.5/enthought/traits/ctraits.so -> /home/loic/tmp/Linux/lib/python2.5/site-packages/enthought/traits
byte-compiling /home/loic/tmp/Linux/lib/python2.5/site-packages/pylab.py to pylab.pyc
[...]
byte-compiling /home/loic/tmp/Linux/lib/python2.5/site-packages/enthought/traits/ui/tk/view_application.py to view_application.pyc
running install_egg_info
Writing /home/loic/tmp/Linux/lib/python2.5/site-packages/matplotlib-0.91.2-py2.5.egg-info

########################################################################
# Install examples

rep=$(basename `pwd`)
basename `pwd`
pwd
echo $rep
matplotlib-0.91.2

mkdir -p  ${INSTALL_DIR}/share/doc/$rep
cp -a  examples ${INSTALL_DIR}/share/doc/$rep/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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