Installation du package python matplotlib

Installation du package python matplotlib - Python - Programmation

Marsh Posté le 26-10-2008 à 05:57:26    

Bonjour a tous,
 
Je ne trouve pas de section consacree a Python, alors je poste ici...
 
J essaye de compiler le package matplotlib, mais comme vous pouvez vous en douter, j ai un probleme... :(
 
Je ne parviens pas a dechiffrer le message d erreur de ld....
 
Est ce que quelqu un pourrait me guider ?
 
Merci :)
 
 
 
guiriec@Mars:/FGST/Tools/Python-lib/Python-2.5.1/matplotlib-0.98.3$ pythonGE setup.py build
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 0.98.3
                python: 2.5.1 (r251:54863, Jul  3 2007, 11:00:59)  [GCC
                        3.4.6 20060404 (Red Hat 3.4.6-8)]
              platform: linux2
 
REQUIRED DEPENDENCIES
                 numpy: 1.2.0
             freetype2: 9.16.3
 
OPTIONAL BACKEND DEPENDENCIES
                libpng: 1.2.15beta5
               Tkinter: no
                        * Using default library and include directories for
                        * Tcl and Tk because a Tk window failed to open.
                        * You may need to define DISPLAY for Tk to work so
                        * that setup can determine where your libraries are
                        * located. Tkinter present, but header files are not
                        * found. You may need to install development
                        * packages.
              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.61
                 latex: 3.141592
               pdftops: 3.00
 
EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
             configobj: matplotlib will provide
      enthought.traits: no
 
[Edit setup.cfg to suppress the above messages]
============================================================================
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
building 'matplotlib.backends._backend_agg' extension
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/agg24
creating build/temp.linux-i686-2.5/agg24/src
creating build/temp.linux-i686-2.5/src
creating build/temp.linux-i686-2.5/CXX
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c agg24/src/agg_trans_affine.cpp -o build/temp.linux-i686-2.5/agg24/src/agg_trans_affine.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c agg24/src/agg_bezier_arc.cpp -o build/temp.linux-i686-2.5/agg24/src/agg_bezier_arc.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c agg24/src/agg_curves.cpp -o build/temp.linux-i686-2.5/agg24/src/agg_curves.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c agg24/src/agg_vcgen_dash.cpp -o build/temp.linux-i686-2.5/agg24/src/agg_vcgen_dash.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c agg24/src/agg_vcgen_stroke.cpp -o build/temp.linux-i686-2.5/agg24/src/agg_vcgen_stroke.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c agg24/src/agg_image_filters.cpp -o build/temp.linux-i686-2.5/agg24/src/agg_image_filters.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c src/_image.cpp -o build/temp.linux-i686-2.5/src/_image.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c src/ft2font.cpp -o build/temp.linux-i686-2.5/src/ft2font.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c src/mplutils.cpp -o build/temp.linux-i686-2.5/src/mplutils.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c CXX/IndirectPythonInterface.cxx -o build/temp.linux-i686-2.5/CXX/IndirectPythonInterface.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c CXX/cxx_extensions.cxx -o build/temp.linux-i686-2.5/CXX/cxx_extensions.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c CXX/cxxsupport.cxx -o build/temp.linux-i686-2.5/CXX/cxxsupport.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour C/ObjC mais pas pour C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c CXX/cxxextensions.c -o build/temp.linux-i686-2.5/CXX/cxxextensions.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -Isrc -Iagg24/include -I. -I/FGST/Tools/Python-lib/Python-2.5.1/numpy-1.2.0/lib/python/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/FGST/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 -c src/backend_agg.cpp -o build/temp.linux-i686-2.5/src/backend_agg.o
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/agg24/src/agg_trans_affine.o build/temp.linux-i686-2.5/agg24/src/agg_bezier_arc.o build/temp.linux-i686-2.5/agg24/src/agg_curves.o build/temp.linux-i686-2.5/agg24/src/agg_vcgen_dash.o build/temp.linux-i686-2.5/agg24/src/agg_vcgen_stroke.o build/temp.linux-i686-2.5/agg24/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 -lstdc++ -lm -lfreetype -lz -lz -lstdc++ -lm -o build/lib.linux-i686-2.5/matplotlib/backends/_backend_agg.so
`.L26981' referenced in section `.rodata' of build/temp.linux-i686-2.5/src/backend_agg.o: defined in discarded section `.gnu.linkonce.t._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii' of build/temp.linux-i686-2.5/src/backend_agg.o
`.L26982' referenced in section `.rodata' of build/temp.linux-i686-2.5/src/backend_agg.o: defined in discarded section `.gnu.linkonce.t._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii' of build/temp.linux-i686-2.5/src/backend_agg.o
`.L26992' referenced in section `.rodata' of build/temp.linux-i686-2.5/src/backend_agg.o: defined in discarded section `.gnu.linkonce.t._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii' of build/temp.linux-i686-2.5/src/backend_agg.o
`.L27002' referenced in section `.rodata' of build/temp.linux-i686-2.5/src/backend_agg.o: defined in discarded section `.gnu.linkonce.t._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii' of build/temp.linux-i686-2.5/src/backend_agg.o
`.L27003' referenced in section `.rodata' of build/temp.linux-i686-2.5/src/backend_agg.o: defined in discarded section `.gnu.linkonce.t._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii' of build/temp.linux-i686-2.5/src/backend_agg.o
`.L26980' referenced in section `.rodata' of build/temp.linux-i686-2.5/src/backend_agg.o: defined in discarded section `.gnu.linkonce.t._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii' of build/temp.linux-i686-2.5/src/backend_agg.o
`.L27013' referenced in section `.rodata' of build/temp.linux-i686-2.5/src/backend_agg.o: defined in discarded section `.gnu.linkonce.t._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii' of build/temp.linux-i686-2.5/src/backend_agg.o
`.L27032' referenced in section `.rodata' of build/temp.linux-i686-2.5/src/backend_agg.o: defined in discarded section `.gnu.linkonce.t._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii' of build/temp.linux-i686-2.5/src/backend_agg.o
`.L27042' referenced in section `.rodata' of build/temp.linux-i686-2.5/src/backend_agg.o: defined in discarded section `.gnu.linkonce.t._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii' of build/temp.linux-i686-2.5/src/backend_agg.o
`.L27061' referenced in section `.rodata' of build/temp.linux-i686-2.5/src/backend_agg.o: defined in discarded section `.gnu.linkonce.t._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii' of build/temp.linux-i686-2.5/src/backend_agg.o
collect2: ld a retourné 1 code d'état d'exécution
error: command 'g++' failed with exit status 1


Message édité par sylvaing le 26-10-2008 à 22:43:35
Reply

Marsh Posté le 26-10-2008 à 05:57:26   

Reply

Marsh Posté le 26-10-2008 à 22:41:33    

Personne n a la moindre petite idee ? Quelqu un saurait il ou je peux me renseigner ?
 
:(

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed