|
From: C M <cmp...@gm...> - 2010-04-19 05:52:35
|
My goal is to just get the lastest svn version of matplotlib, or, if
not that, just the 0.99 version, up and working on my Linux (Intrepid
Ibex) computer. I checked it matplotlib out from svn fine, and then,
as per the webpage, did:
> cd matplotlib
> python setup.py install
and that resulted in a very large amount of errors. I'll post them at
the bottom of this message, since there are many lines.
I previously had 0.98.x installed, via the Ubuntu repositories, but I
have uninstalled it. My version is:
Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008
x86_64 GNU/Linux
Any help is appreciated. Thank you,
Che
Errors (starting from a few lines before):
creating build/temp.linux-x86_64-2.5/src
creating build/temp.linux-x86_64-2.5/CXX
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1
-I/usr/lib/python2.5/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-I/usr/include/python2.5 -c src/ft2font.cpp -o
build/temp.linux-x86_64-2.5/src/ft2font.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
In file included from ./CXX/Extensions.hxx:37,
from src/ft2font.h:4,
from src/ft2font.cpp:1:
./CXX/WrapPython.h:58:20: error: Python.h: No such file or directory
In file included from src/ft2font.cpp:1:
src/ft2font.h:13:22: error: ft2build.h: No such file or directory
src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME>
In file included from
/usr/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h:14,
from src/ft2font.cpp:5:
/usr/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:100:2:
error: #error Must use Python with unicode enabled.
In file included from ./CXX/Python3/Exception.hxx:45,
from ./CXX/Python3/Objects.hxx:45,
from ./CXX/Python3/Extensions.hxx:52,
from ./CXX/Extensions.hxx:42,
from src/ft2font.h:4,
from src/ft2font.cpp:1:
./CXX/Python3/IndirectPythonInterface.hxx:50: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:51: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:52: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:53: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:55: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:56: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:57: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:58: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:59: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:60: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:61: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:62: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:63: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:64: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:65: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:66: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:67: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:68: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:69: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:70: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:71: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:72: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:73: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:74: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:75: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:76: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:81: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:83: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:84: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:85: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:86: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:91: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:93: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:94: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:99: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:100: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:100: error: ‘o’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:102: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:103: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:103: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:105: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:106: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:106: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:108: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:109: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:109: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:111: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:112: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:112: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:114: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:115: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:115: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:117: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:118: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:118: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:120: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:121: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:121: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:123: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:124: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:124: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:126: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:127: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:127: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:129: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:130: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:130: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:132: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:133: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:133: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:135: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:136: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:136: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:138: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:139: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:139: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:141: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:142: error: redefinition of
‘bool Py::_List_Check’
./CXX/Python3/IndirectPythonInterface.hxx:100: error: ‘bool
Py::_List_Check’ previously defined here
./CXX/Python3/IndirectPythonInterface.hxx:142: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:142: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:144: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:145: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:145: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:147: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:148: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:148: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:150: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:151: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:151: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:153: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:154: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:154: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:156: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:157: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:157: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:159: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:160: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:160: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:162: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:163: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:163: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:165: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:166: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:166: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:168: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:169: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:169: error: ‘v’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:171: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:172: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:172: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:182: error: variable or
field ‘_XINCREF’ declared void
./CXX/Python3/IndirectPythonInterface.hxx:182: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:182: error: ‘op’ was not
declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:183: error: variable or
field ‘_XDECREF’ declared void
./CXX/Python3/IndirectPythonInterface.hxx:183: error: ‘PyObject’ was
not declared in this scope
./CXX/Python3/IndirectPythonInterface.hxx:183: error: ‘op’ was not
declared in this scope
In file included from ./CXX/Python3/Objects.hxx:45,
from ./CXX/Python3/Extensions.hxx:52,
from ./CXX/Extensions.hxx:42,
from src/ft2font.h:4,
from src/ft2font.cpp:1:
./CXX/Python3/Exception.hxx:71: error: expected `)' before ‘*’ token
./CXX/Python3/Exception.hxx:76: error: expected `)' before ‘*’ token
./CXX/Python3/Exception.hxx: In constructor
‘Py::Exception::Exception(const std::string&)’:
./CXX/Python3/Exception.hxx:68: error: ‘_Exc_RuntimeError’ is not a
member of ‘Py’
./CXX/Python3/Exception.hxx:68: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In member function ‘void Py::Exception::clear()’:
./CXX/Python3/Exception.hxx:81: error: ‘PyErr_Clear’ was not declared
in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::TypeError::TypeError(const std::string&)’:
./CXX/Python3/Exception.hxx:123: error: ‘_Exc_TypeError’ is not a member of ‘Py’
./CXX/Python3/Exception.hxx:123: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::IndexError::IndexError(const std::string&)’:
./CXX/Python3/Exception.hxx:133: error: ‘_Exc_IndexError’ is not a
member of ‘Py’
./CXX/Python3/Exception.hxx:133: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::AttributeError::AttributeError(const std::string&)’:
./CXX/Python3/Exception.hxx:143: error: ‘_Exc_AttributeError’ is not a
member of ‘Py’
./CXX/Python3/Exception.hxx:143: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::NameError::NameError(const std::string&)’:
./CXX/Python3/Exception.hxx:153: error: ‘_Exc_NameError’ is not a member of ‘Py’
./CXX/Python3/Exception.hxx:153: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::RuntimeError::RuntimeError(const std::string&)’:
./CXX/Python3/Exception.hxx:163: error: ‘_Exc_RuntimeError’ is not a
member of ‘Py’
./CXX/Python3/Exception.hxx:163: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::SystemError::SystemError(const std::string&)’:
./CXX/Python3/Exception.hxx:173: error: ‘_Exc_SystemError’ is not a
member of ‘Py’
./CXX/Python3/Exception.hxx:173: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::KeyError::KeyError(const std::string&)’:
./CXX/Python3/Exception.hxx:183: error: ‘_Exc_KeyError’ is not a member of ‘Py’
./CXX/Python3/Exception.hxx:183: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::ValueError::ValueError(const std::string&)’:
./CXX/Python3/Exception.hxx:194: error: ‘_Exc_ValueError’ is not a
member of ‘Py’
./CXX/Python3/Exception.hxx:194: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::OverflowError::OverflowError(const std::string&)’:
./CXX/Python3/Exception.hxx:204: error: ‘_Exc_OverflowError’ is not a
member of ‘Py’
./CXX/Python3/Exception.hxx:204: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::ZeroDivisionError::ZeroDivisionError(const std::string&)’:
./CXX/Python3/Exception.hxx:214: error: ‘_Exc_ZeroDivisionError’ is
not a member of ‘Py’
./CXX/Python3/Exception.hxx:214: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::FloatingPointError::FloatingPointError(const std::string&)’:
./CXX/Python3/Exception.hxx:224: error: ‘_Exc_FloatingPointError’ is
not a member of ‘Py’
./CXX/Python3/Exception.hxx:224: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::MemoryError::MemoryError(const std::string&)’:
./CXX/Python3/Exception.hxx:234: error: ‘_Exc_MemoryError’ is not a
member of ‘Py’
./CXX/Python3/Exception.hxx:234: error: ‘PyErr_SetString’ was not
declared in this scope
./CXX/Python3/Exception.hxx: In constructor
‘Py::SystemExit::SystemExit(const std::string&)’:
./CXX/Python3/Exception.hxx:244: error: ‘_Exc_SystemExit’ is not a
member of ‘Py’
./CXX/Python3/Exception.hxx:244: error: ‘PyErr_SetString’ was not
declared in this scope
In file included from ./CXX/Python3/Extensions.hxx:52,
from ./CXX/Extensions.hxx:42,
from src/ft2font.h:4,
from src/ft2font.cpp:1:
./CXX/Python3/Objects.hxx: At global scope:
./CXX/Python3/Objects.hxx:143: error: ISO C++ forbids declaration of
‘PyObject’ with no type
./CXX/Python3/Objects.hxx:143: error: expected ‘;’ before ‘*’ token
./CXX/Python3/Objects.hxx:146: error: ‘PyObject’ has not been declared
./CXX/Python3/Objects.hxx:167: error: expected `)' before ‘*’ token
src/ft2font.cpp:2010: error: expected `}' at end of input
./CXX/Python3/Objects.hxx: In member function ‘void
Py::Object::set(int*, bool)’:
./CXX/Python3/Objects.hxx:149: error: ‘p’ was not declared in this scope
./CXX/Python3/Objects.hxx:152: error: ‘_XINCREF’ is not a member of ‘Py’
./CXX/Python3/Objects.hxx: In member function ‘void Py::Object::release()’:
./CXX/Python3/Objects.hxx:159: error: ‘_XDECREF’ is not a member of ‘Py’
./CXX/Python3/Objects.hxx:159: error: ‘p’ was not declared in this scope
./CXX/Python3/Objects.hxx: At global scope:
./CXX/Python3/Objects.hxx:161: error: expected unqualified-id at end of input
./CXX/Python3/Objects.hxx:161: error: expected `}' at end of input
error: command 'gcc' failed with exit status 1
|
|
From: LUK S. <luk...@gm...> - 2010-04-19 08:30:47
|
On 04/19/2010 01:52 PM, C M wrote: > My goal is to just get the lastest svn version of matplotlib, or, if > not that, just the 0.99 version, up and working on my Linux (Intrepid > Ibex) computer. I checked it matplotlib out from svn fine, and then, > as per the webpage, did: > >> cd matplotlib >> python setup.py install > > and that resulted in a very large amount of errors. I'll post them at > the bottom of this message, since there are many lines. > > I previously had 0.98.x installed, via the Ubuntu repositories, but I > have uninstalled it. My version is: > Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 > x86_64 GNU/Linux > > Any help is appreciated. Thank you, > Che > > Errors (starting from a few lines before): > > creating build/temp.linux-x86_64-2.5/src > creating build/temp.linux-x86_64-2.5/CXX > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2 > -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 > -I/usr/include/python2.5 -c src/ft2font.cpp -o > build/temp.linux-x86_64-2.5/src/ft2font.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > In file included from ./CXX/Extensions.hxx:37, > from src/ft2font.h:4, > from src/ft2font.cpp:1: > ./CXX/WrapPython.h:58:20: error: Python.h: No such file or directory You seem not to have the development package of python installed. Try "sudo apt-get install python-dev". Regards, ST -- |
|
From: Darren D. <dsd...@gm...> - 2010-04-19 12:03:04
|
On Mon, Apr 19, 2010 at 4:30 AM, LUK ShunTim <luk...@gm...> wrote: > On 04/19/2010 01:52 PM, C M wrote: >> My goal is to just get the lastest svn version of matplotlib, or, if >> not that, just the 0.99 version, up and working on my Linux (Intrepid >> Ibex) computer. I checked it matplotlib out from svn fine, and then, >> as per the webpage, did: >> >>> cd matplotlib >>> python setup.py install >> >> and that resulted in a very large amount of errors. I'll post them at >> the bottom of this message, since there are many lines. >> >> I previously had 0.98.x installed, via the Ubuntu repositories, but I >> have uninstalled it. My version is: >> Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 >> x86_64 GNU/Linux >> >> Any help is appreciated. Thank you, >> Che >> >> Errors (starting from a few lines before): >> >> creating build/temp.linux-x86_64-2.5/src >> creating build/temp.linux-x86_64-2.5/CXX >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2 >> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 >> -I/usr/include/python2.5 -c src/ft2font.cpp -o >> build/temp.linux-x86_64-2.5/src/ft2font.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> In file included from ./CXX/Extensions.hxx:37, >> from src/ft2font.h:4, >> from src/ft2font.cpp:1: >> ./CXX/WrapPython.h:58:20: error: Python.h: No such file or directory > > You seem not to have the development package of python installed. > Try "sudo apt-get install python-dev". It looks like you are need to install libfreetype6-dev. Any time you see missing .h files in your output, it means you need to install the development headers for that package. Darren |
|
From: Mauro C. <mau...@gm...> - 2010-04-19 12:09:48
|
That's it. I had precisely these same problems when upgrading from Python 2.5 to 2.6 (which in turn happened when I upgraded from Ubuntu Intrepid to Jaunty, which BTW is *much better* than Intrepid). All issues were instantly solved by installing the Python development packages. Best wishes, 2010/4/19 Darren Dale <dsd...@gm...>: > On Mon, Apr 19, 2010 at 4:30 AM, LUK ShunTim <luk...@gm...> wrote: >> On 04/19/2010 01:52 PM, C M wrote: >>> My goal is to just get the lastest svn version of matplotlib, or, if >>> not that, just the 0.99 version, up and working on my Linux (Intrepid >>> Ibex) computer. I checked it matplotlib out from svn fine, and then, >>> as per the webpage, did: >>> >>>> cd matplotlib >>>> python setup.py install >>> >>> and that resulted in a very large amount of errors. I'll post them at >>> the bottom of this message, since there are many lines. >>> >>> I previously had 0.98.x installed, via the Ubuntu repositories, but I >>> have uninstalled it. My version is: >>> Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 >>> x86_64 GNU/Linux >>> >>> Any help is appreciated. Thank you, >>> Che >>> >>> Errors (starting from a few lines before): >>> >>> creating build/temp.linux-x86_64-2.5/src >>> creating build/temp.linux-x86_64-2.5/CXX >>> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >>> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >>> -DPYCXX_ISO_CPP_LIB=1 >>> -I/usr/lib/python2.5/site-packages/numpy/core/include >>> -I/usr/local/include -I/usr/include -I. >>> -I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2 >>> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 >>> -I/usr/include/python2.5 -c src/ft2font.cpp -o >>> build/temp.linux-x86_64-2.5/src/ft2font.o >>> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >>> for Ada/C/ObjC but not for C++ >>> In file included from ./CXX/Extensions.hxx:37, >>> from src/ft2font.h:4, >>> from src/ft2font.cpp:1: >>> ./CXX/WrapPython.h:58:20: error: Python.h: No such file or directory >> >> You seem not to have the development package of python installed. >> Try "sudo apt-get install python-dev". > > It looks like you are need to install libfreetype6-dev. Any time you > see missing .h files in your output, it means you need to install the > development headers for that package. > > Darren > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Dr. Mauro J. Cavalcanti P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mau...@gm... Web: http://sites.google.com/site/maurobio Linux Registered User #473524 * Ubuntu User #22717 |
|
From: C M <cmp...@gm...> - 2010-04-19 17:03:20
|
---------- Forwarded message ---------- From: C M <cmp...@gm...> Date: Mon, Apr 19, 2010 at 1:02 PM Subject: Re: [Matplotlib-users] install from svn on Linux not working for me To: Darren Dale <dsd...@gm...> On Mon, Apr 19, 2010 at 8:02 AM, Darren Dale <dsd...@gm...> wrote: > On Mon, Apr 19, 2010 at 4:30 AM, LUK ShunTim <luk...@gm...> wrote: >> On 04/19/2010 01:52 PM, C M wrote: >>> My goal is to just get the lastest svn version of matplotlib, or, if >>> not that, just the 0.99 version, up and working on my Linux (Intrepid >>> Ibex) computer. I checked it matplotlib out from svn fine, and then, >>> as per the webpage, did: >>> >>>> cd matplotlib >>>> python setup.py install >>> >>> and that resulted in a very large amount of errors. I'll post them at >>> the bottom of this message, since there are many lines. >>> >>> I previously had 0.98.x installed, via the Ubuntu repositories, but I >>> have uninstalled it. My version is: >>> Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 >>> x86_64 GNU/Linux >>> >>> Any help is appreciated. Thank you, >>> Che >>> >>> Errors (starting from a few lines before): >>> >>> creating build/temp.linux-x86_64-2.5/src >>> creating build/temp.linux-x86_64-2.5/CXX >>> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >>> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >>> -DPYCXX_ISO_CPP_LIB=1 >>> -I/usr/lib/python2.5/site-packages/numpy/core/include >>> -I/usr/local/include -I/usr/include -I. >>> -I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2 >>> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 >>> -I/usr/include/python2.5 -c src/ft2font.cpp -o >>> build/temp.linux-x86_64-2.5/src/ft2font.o >>> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >>> for Ada/C/ObjC but not for C++ >>> In file included from ./CXX/Extensions.hxx:37, >>> from src/ft2font.h:4, >>> from src/ft2font.cpp:1: >>> ./CXX/WrapPython.h:58:20: error: Python.h: No such file or directory >> >> You seem not to have the development package of python installed. >> Try "sudo apt-get install python-dev". > > It looks like you are need to install libfreetype6-dev. Any time you > see missing .h files in your output, it means you need to install the > development headers for that package. > > Darren Thanks, but after installing libfreetype6-dev, I tried to install matplotlib again and still get a lot of errors. Listed below. Che Ouput of install: basedirlist is: ['/usr/local', '/usr'] ============================================================================ BUILDING MATPLOTLIB matplotlib: 1.0.svn python: 2.5.2 (r252:60911, Jan 20 2010, 23:33:04) [GCC 4.3.2] platform: linux2 REQUIRED DEPENDENCIES numpy: 1.1.1 freetype2: 9.18.3 OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) * Could not find 'libpng' headers in any of * '/usr/local/include', '/usr/include', '.' Tkinter: no * TKAgg requires Tkinter wxPython: 2.8.10.1 * WxAgg extension not required for wxPython >= 2.8 pkg-config: looking for pygtk-2.0 gtk+-2.0 * Package pygtk-2.0 was not found in the pkg-config * search path. Perhaps you should add the directory * containing `pygtk-2.0.pc' to the PKG_CONFIG_PATH * environment variable No package 'pygtk-2.0' found * Package gtk+-2.0 was not found in the pkg-config * search path. Perhaps you should add the directory * containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH * environment variable No package 'gtk+-2.0' found * You may need to install 'dev' package(s) to * provide header files. Gtk+: no * Could not find Gtk+ headers in any of * '/usr/local/include', '/usr/include', '.' Mac OS X native: no Qt: no Qt4: no Cairo: 1.4.12 OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: 1.4 pytz: 2008b OPTIONAL USETEX DEPENDENCIES dvipng: 1.11 ghostscript: 8.63 latex: 3.141592 pdftops: 3.00 [Edit setup.cfg to suppress the above messages] ============================================================================ pymods ['pylab'] packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projections', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra', 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft', 'matplotlib.delaunay'] running install running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.linux-x86_64-2.5/matplotlib/mpl-data copying lib/matplotlib/mpl-data/matplotlib.conf -> build/lib.linux-x86_64-2.5/matplotlib/mpl-data running build_ext building 'matplotlib.ft2font' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.5/src/ft2font.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.5/src/mplutils.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c CXX/cxxsupport.cxx -o build/temp.linux-x86_64-2.5/CXX/cxxsupport.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c CXX/cxx_extensions.cxx -o build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c CXX/IndirectPythonInterface.cxx -o build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c CXX/cxxextensions.c -o build/temp.linux-x86_64-2.5/CXX/cxxextensions.o g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/src/ft2font.o build/temp.linux-x86_64-2.5/src/mplutils.o build/temp.linux-x86_64-2.5/CXX/cxxsupport.o build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.5/CXX/cxxextensions.o -L/usr/local/lib -lfreetype -lz -lz -lstdc++ -lm -o build/lib.linux-x86_64-2.5/matplotlib/ft2font.so building 'matplotlib.ttconv' extension creating build/temp.linux-x86_64-2.5/ttconv gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/_ttconv.cpp -o build/temp.linux-x86_64-2.5/src/_ttconv.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c ttconv/pprdrv_tt.cpp -o build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c ttconv/pprdrv_tt2.cpp -o build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt2.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c ttconv/ttutil.cpp -o build/temp.linux-x86_64-2.5/ttconv/ttutil.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/src/_ttconv.o build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt.o build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt2.o build/temp.linux-x86_64-2.5/ttconv/ttutil.o -L/usr/local/lib -o build/lib.linux-x86_64-2.5/matplotlib/ttconv.so building 'matplotlib._cntr' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/cntr.c -o build/temp.linux-x86_64-2.5/src/cntr.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/src/cntr.o -L/usr/local/lib -o build/lib.linux-x86_64-2.5/matplotlib/_cntr.so building 'matplotlib._delaunay' extension creating build/temp.linux-x86_64-2.5/lib creating build/temp.linux-x86_64-2.5/lib/matplotlib creating build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c lib/matplotlib/delaunay/_delaunay.cpp -o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/_delaunay.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* nn_interpolate_unstructured_method(PyObject*, PyObject*)’: lib/matplotlib/delaunay/_delaunay.cpp:469: warning: ‘intz’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* nn_interpolate_method(PyObject*, PyObject*)’: lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘y’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘z’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘centers’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘nodes’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘neighbors’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* compute_planes_method(PyObject*, PyObject*)’: lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘nodes’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘z’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘y’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* linear_interpolate_method(PyObject*, PyObject*)’: lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘neighbors’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘nodes’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘y’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘planes’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* getMesh(int, double*, double*)’: lib/matplotlib/delaunay/_delaunay.cpp:209: warning: ‘vertices’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_nbrs’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_edges’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* delaunay_method(PyObject*, PyObject*)’: lib/matplotlib/delaunay/_delaunay.cpp:667: warning: ‘y’ may be used uninitialized in this function gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp -o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp: In member function ‘bool VoronoiDiagramGenerator::voronoi(int)’: lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp:923: warning: ‘newintstar.Point::y’ may be used uninitialized in this function gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c lib/matplotlib/delaunay/delaunay_utils.cpp -o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/delaunay_utils.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c lib/matplotlib/delaunay/natneighbors.cpp -o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/natneighbors.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/_delaunay.o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/delaunay_utils.o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/natneighbors.o -L/usr/local/lib -o build/lib.linux-x86_64-2.5/matplotlib/_delaunay.so building 'matplotlib.nxutils' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/nxutils.c -o build/temp.linux-x86_64-2.5/src/nxutils.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/src/nxutils.o -L/usr/local/lib -o build/lib.linux-x86_64-2.5/matplotlib/nxutils.so building 'matplotlib._path' extension creating build/temp.linux-x86_64-2.5/agg24 creating build/temp.linux-x86_64-2.5/agg24/src gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c agg24/src/agg_curves.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_curves.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c agg24/src/agg_bezier_arc.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_bezier_arc.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c agg24/src/agg_trans_affine.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_trans_affine.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c agg24/src/agg_vcgen_stroke.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_stroke.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c src/agg_py_transforms.cpp -o build/temp.linux-x86_64-2.5/src/agg_py_transforms.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c src/path_cleanup.cpp -o build/temp.linux-x86_64-2.5/src/path_cleanup.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c src/path.cpp -o build/temp.linux-x86_64-2.5/src/path.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ src/path.cpp: In function ‘void clip_to_rect(PathIterator&, double, double, double, double, bool, std::vector<std::vector<XY, std::allocator<XY> >, std::allocator<std::vector<XY, std::allocator<XY> > > >&)’: src/path.cpp:821: warning: ‘y’ may be used uninitialized in this function src/path.cpp:821: warning: ‘x’ may be used uninitialized in this function g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/agg24/src/agg_curves.o build/temp.linux-x86_64-2.5/agg24/src/agg_bezier_arc.o build/temp.linux-x86_64-2.5/agg24/src/agg_trans_affine.o build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_stroke.o build/temp.linux-x86_64-2.5/CXX/cxxsupport.o build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.5/CXX/cxxextensions.o build/temp.linux-x86_64-2.5/src/agg_py_transforms.o build/temp.linux-x86_64-2.5/src/path_cleanup.o build/temp.linux-x86_64-2.5/src/path.o -L/usr/local/lib -lstdc++ -lm -o build/lib.linux-x86_64-2.5/matplotlib/_path.so building 'matplotlib.backends._backend_agg' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c agg24/src/agg_vcgen_dash.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_dash.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c agg24/src/agg_image_filters.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_image_filters.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/backend_agg.cpp -o build/temp.linux-x86_64-2.5/src/backend_agg.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ src/backend_agg.cpp:3:17: error: png.h: No such file or directory src/backend_agg.cpp: In member function ‘Py::Object RendererAgg::draw_image(const Py::Tuple&)’: src/backend_agg.cpp:824: warning: ‘h’ may be used uninitialized in this function src/backend_agg.cpp:824: warning: ‘w’ may be used uninitialized in this function error: command 'gcc' failed with exit status 1 |
|
From: Mauro C. <mau...@gm...> - 2010-04-19 17:32:03
|
As I posted before, I ran across precisely these same errors when upgrading my Ubuntu box and the Python interpreter. You will need to install other dependencies as the installation log shows (gtk-2.0+, pygtk), including its development versions. And yes, distributing a packaged Python application which uses Matplotlib (either for Linux or Windows) is *not* an easy and simple matter. But with patience, it is possible. Best wishes, 2010/4/19 C M <cmp...@gm...>: > ---------- Forwarded message ---------- > From: C M <cmp...@gm...> > Date: Mon, Apr 19, 2010 at 1:02 PM > Subject: Re: [Matplotlib-users] install from svn on Linux not working for me > To: Darren Dale <dsd...@gm...> > > > On Mon, Apr 19, 2010 at 8:02 AM, Darren Dale <dsd...@gm...> wrote: >> On Mon, Apr 19, 2010 at 4:30 AM, LUK ShunTim <luk...@gm...> wrote: >>> On 04/19/2010 01:52 PM, C M wrote: >>>> My goal is to just get the lastest svn version of matplotlib, or, if >>>> not that, just the 0.99 version, up and working on my Linux (Intrepid >>>> Ibex) computer. I checked it matplotlib out from svn fine, and then, >>>> as per the webpage, did: >>>> >>>>> cd matplotlib >>>>> python setup.py install >>>> >>>> and that resulted in a very large amount of errors. I'll post them at >>>> the bottom of this message, since there are many lines. >>>> >>>> I previously had 0.98.x installed, via the Ubuntu repositories, but I >>>> have uninstalled it. My version is: >>>> Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 >>>> x86_64 GNU/Linux >>>> >>>> Any help is appreciated. Thank you, >>>> Che >>>> >>>> Errors (starting from a few lines before): >>>> >>>> creating build/temp.linux-x86_64-2.5/src >>>> creating build/temp.linux-x86_64-2.5/CXX >>>> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >>>> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >>>> -DPYCXX_ISO_CPP_LIB=1 >>>> -I/usr/lib/python2.5/site-packages/numpy/core/include >>>> -I/usr/local/include -I/usr/include -I. >>>> -I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2 >>>> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 >>>> -I/usr/include/python2.5 -c src/ft2font.cpp -o >>>> build/temp.linux-x86_64-2.5/src/ft2font.o >>>> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >>>> for Ada/C/ObjC but not for C++ >>>> In file included from ./CXX/Extensions.hxx:37, >>>> from src/ft2font.h:4, >>>> from src/ft2font.cpp:1: >>>> ./CXX/WrapPython.h:58:20: error: Python.h: No such file or directory >>> >>> You seem not to have the development package of python installed. >>> Try "sudo apt-get install python-dev". >> >> It looks like you are need to install libfreetype6-dev. Any time you >> see missing .h files in your output, it means you need to install the >> development headers for that package. >> >> Darren > > Thanks, but after installing libfreetype6-dev, I tried to install > matplotlib again and still get a lot of errors. Listed below. > > Che > > Ouput of install: > > basedirlist is: ['/usr/local', '/usr'] > ============================================================================ > BUILDING MATPLOTLIB > matplotlib: 1.0.svn > python: 2.5.2 (r252:60911, Jan 20 2010, 23:33:04) [GCC > 4.3.2] > platform: linux2 > > REQUIRED DEPENDENCIES > numpy: 1.1.1 > freetype2: 9.18.3 > > OPTIONAL BACKEND DEPENDENCIES > libpng: found, but unknown version (no pkg-config) > * Could not find 'libpng' headers in any of > * '/usr/local/include', '/usr/include', '.' > Tkinter: no > * TKAgg requires Tkinter > wxPython: 2.8.10.1 > * WxAgg extension not required for wxPython >= 2.8 > pkg-config: looking for pygtk-2.0 gtk+-2.0 > * Package pygtk-2.0 was not found in the pkg-config > * search path. Perhaps you should add the directory > * containing `pygtk-2.0.pc' to the PKG_CONFIG_PATH > * environment variable No package 'pygtk-2.0' found > * Package gtk+-2.0 was not found in the pkg-config > * search path. Perhaps you should add the directory > * containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH > * environment variable No package 'gtk+-2.0' found > * You may need to install 'dev' package(s) to > * provide header files. > Gtk+: no > * Could not find Gtk+ headers in any of > * '/usr/local/include', '/usr/include', '.' > Mac OS X native: no > Qt: no > Qt4: no > Cairo: 1.4.12 > > OPTIONAL DATE/TIMEZONE DEPENDENCIES > datetime: present, version unknown > dateutil: 1.4 > pytz: 2008b > > OPTIONAL USETEX DEPENDENCIES > dvipng: 1.11 > ghostscript: 8.63 > latex: 3.141592 > pdftops: 3.00 > > [Edit setup.cfg to suppress the above messages] > ============================================================================ > pymods ['pylab'] > packages ['matplotlib', 'matplotlib.backends', > 'matplotlib.backends.qt4_editor', 'matplotlib.projections', > 'matplotlib.testing', 'matplotlib.testing.jpl_units', > 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', > 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', > 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', > 'matplotlib.numerix', 'matplotlib.numerix.mlab', > 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra', > 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft', > 'matplotlib.delaunay'] > running install > running build > running build_py > copying lib/matplotlib/mpl-data/matplotlibrc -> > build/lib.linux-x86_64-2.5/matplotlib/mpl-data > copying lib/matplotlib/mpl-data/matplotlib.conf -> > build/lib.linux-x86_64-2.5/matplotlib/mpl-data > running build_ext > building 'matplotlib.ft2font' extension > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c src/ft2font.cpp -o > build/temp.linux-x86_64-2.5/src/ft2font.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c src/mplutils.cpp -o > build/temp.linux-x86_64-2.5/src/mplutils.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c CXX/cxxsupport.cxx -o > build/temp.linux-x86_64-2.5/CXX/cxxsupport.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c CXX/cxx_extensions.cxx -o > build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c CXX/IndirectPythonInterface.cxx -o > build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c CXX/cxxextensions.c -o > build/temp.linux-x86_64-2.5/CXX/cxxextensions.o > g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions > build/temp.linux-x86_64-2.5/src/ft2font.o > build/temp.linux-x86_64-2.5/src/mplutils.o > build/temp.linux-x86_64-2.5/CXX/cxxsupport.o > build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o > build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o > build/temp.linux-x86_64-2.5/CXX/cxxextensions.o -L/usr/local/lib > -lfreetype -lz -lz -lstdc++ -lm -o > build/lib.linux-x86_64-2.5/matplotlib/ft2font.so > building 'matplotlib.ttconv' extension > creating build/temp.linux-x86_64-2.5/ttconv > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c src/_ttconv.cpp -o > build/temp.linux-x86_64-2.5/src/_ttconv.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c ttconv/pprdrv_tt.cpp -o > build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c ttconv/pprdrv_tt2.cpp -o > build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt2.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c ttconv/ttutil.cpp -o > build/temp.linux-x86_64-2.5/ttconv/ttutil.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions > build/temp.linux-x86_64-2.5/src/_ttconv.o > build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt.o > build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt2.o > build/temp.linux-x86_64-2.5/ttconv/ttutil.o -L/usr/local/lib -o > build/lib.linux-x86_64-2.5/matplotlib/ttconv.so > building 'matplotlib._cntr' extension > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c > src/cntr.c -o build/temp.linux-x86_64-2.5/src/cntr.o > gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions > build/temp.linux-x86_64-2.5/src/cntr.o -L/usr/local/lib -o > build/lib.linux-x86_64-2.5/matplotlib/_cntr.so > building 'matplotlib._delaunay' extension > creating build/temp.linux-x86_64-2.5/lib > creating build/temp.linux-x86_64-2.5/lib/matplotlib > creating build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c > lib/matplotlib/delaunay/_delaunay.cpp -o > build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/_delaunay.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* > nn_interpolate_unstructured_method(PyObject*, PyObject*)’: > lib/matplotlib/delaunay/_delaunay.cpp:469: warning: ‘intz’ may be used > uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* > nn_interpolate_method(PyObject*, PyObject*)’: > lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘y’ may be used > uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘z’ may be used > uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘centers’ may be > used uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘nodes’ may be > used uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘neighbors’ may be > used uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* > compute_planes_method(PyObject*, PyObject*)’: > lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘nodes’ may be > used uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘z’ may be used > uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘y’ may be used > uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* > linear_interpolate_method(PyObject*, PyObject*)’: > lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘neighbors’ may be > used uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘nodes’ may be > used uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘y’ may be used > uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘planes’ may be > used uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* > getMesh(int, double*, double*)’: > lib/matplotlib/delaunay/_delaunay.cpp:209: warning: ‘vertices’ may be > used uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_nbrs’ may be > used uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_edges’ may be > used uninitialized in this function > lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* > delaunay_method(PyObject*, PyObject*)’: > lib/matplotlib/delaunay/_delaunay.cpp:667: warning: ‘y’ may be used > uninitialized in this function > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c > lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp -o > build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp: In member > function ‘bool VoronoiDiagramGenerator::voronoi(int)’: > lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp:923: warning: > ‘newintstar.Point::y’ may be used uninitialized in this function > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c > lib/matplotlib/delaunay/delaunay_utils.cpp -o > build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/delaunay_utils.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c > lib/matplotlib/delaunay/natneighbors.cpp -o > build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/natneighbors.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions > build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/_delaunay.o > build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o > build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/delaunay_utils.o > build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/natneighbors.o > -L/usr/local/lib -o build/lib.linux-x86_64-2.5/matplotlib/_delaunay.so > building 'matplotlib.nxutils' extension > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c > src/nxutils.c -o build/temp.linux-x86_64-2.5/src/nxutils.o > gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions > build/temp.linux-x86_64-2.5/src/nxutils.o -L/usr/local/lib -o > build/lib.linux-x86_64-2.5/matplotlib/nxutils.so > building 'matplotlib._path' extension > creating build/temp.linux-x86_64-2.5/agg24 > creating build/temp.linux-x86_64-2.5/agg24/src > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. -I/usr/include/python2.5 -c > agg24/src/agg_curves.cpp -o > build/temp.linux-x86_64-2.5/agg24/src/agg_curves.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. -I/usr/include/python2.5 -c > agg24/src/agg_bezier_arc.cpp -o > build/temp.linux-x86_64-2.5/agg24/src/agg_bezier_arc.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. -I/usr/include/python2.5 -c > agg24/src/agg_trans_affine.cpp -o > build/temp.linux-x86_64-2.5/agg24/src/agg_trans_affine.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. -I/usr/include/python2.5 -c > agg24/src/agg_vcgen_stroke.cpp -o > build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_stroke.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. -I/usr/include/python2.5 -c > src/agg_py_transforms.cpp -o > build/temp.linux-x86_64-2.5/src/agg_py_transforms.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. -I/usr/include/python2.5 -c src/path_cleanup.cpp > -o build/temp.linux-x86_64-2.5/src/path_cleanup.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. -I/usr/include/python2.5 -c src/path.cpp -o > build/temp.linux-x86_64-2.5/src/path.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > src/path.cpp: In function ‘void clip_to_rect(PathIterator&, double, > double, double, double, bool, std::vector<std::vector<XY, > std::allocator<XY> >, std::allocator<std::vector<XY, > std::allocator<XY> > > >&)’: > src/path.cpp:821: warning: ‘y’ may be used uninitialized in this function > src/path.cpp:821: warning: ‘x’ may be used uninitialized in this function > g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions > build/temp.linux-x86_64-2.5/agg24/src/agg_curves.o > build/temp.linux-x86_64-2.5/agg24/src/agg_bezier_arc.o > build/temp.linux-x86_64-2.5/agg24/src/agg_trans_affine.o > build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_stroke.o > build/temp.linux-x86_64-2.5/CXX/cxxsupport.o > build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o > build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o > build/temp.linux-x86_64-2.5/CXX/cxxextensions.o > build/temp.linux-x86_64-2.5/src/agg_py_transforms.o > build/temp.linux-x86_64-2.5/src/path_cleanup.o > build/temp.linux-x86_64-2.5/src/path.o -L/usr/local/lib -lstdc++ -lm > -o build/lib.linux-x86_64-2.5/matplotlib/_path.so > building 'matplotlib.backends._backend_agg' extension > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c agg24/src/agg_vcgen_dash.cpp -o > build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_dash.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c agg24/src/agg_image_filters.cpp -o > build/temp.linux-x86_64-2.5/agg24/src/agg_image_filters.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib/python2.5/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.5 -c src/backend_agg.cpp -o > build/temp.linux-x86_64-2.5/src/backend_agg.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > src/backend_agg.cpp:3:17: error: png.h: No such file or directory > src/backend_agg.cpp: In member function ‘Py::Object > RendererAgg::draw_image(const Py::Tuple&)’: > src/backend_agg.cpp:824: warning: ‘h’ may be used uninitialized in this function > src/backend_agg.cpp:824: warning: ‘w’ may be used uninitialized in this function > error: command 'gcc' failed with exit status 1 > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Dr. Mauro J. Cavalcanti P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mau...@gm... Web: http://sites.google.com/site/maurobio Linux Registered User #473524 * Ubuntu User #22717 |
|
From: Michael D. <md...@st...> - 2010-04-19 17:45:55
|
On Debian/Ubuntu-like systems with apt-get, you can get all of the development headers required for matplotlib in one fell swoop with: sudo apt-get build-dep python-matplotlib Mike Mauro Cavalcanti wrote: > As I posted before, I ran across precisely these same errors when > upgrading my Ubuntu box and the Python interpreter. You will need to > install other dependencies as the installation log shows (gtk-2.0+, > pygtk), including its development versions. > > And yes, distributing a packaged Python application which uses > Matplotlib (either for Linux or Windows) is *not* an easy and simple > matter. But with patience, it is possible. > > Best wishes, > > > 2010/4/19 C M <cmp...@gm...>: > >> ---------- Forwarded message ---------- >> From: C M <cmp...@gm...> >> Date: Mon, Apr 19, 2010 at 1:02 PM >> Subject: Re: [Matplotlib-users] install from svn on Linux not working for me >> To: Darren Dale <dsd...@gm...> >> >> >> On Mon, Apr 19, 2010 at 8:02 AM, Darren Dale <dsd...@gm...> wrote: >> >>> On Mon, Apr 19, 2010 at 4:30 AM, LUK ShunTim <luk...@gm...> wrote: >>> >>>> On 04/19/2010 01:52 PM, C M wrote: >>>> >>>>> My goal is to just get the lastest svn version of matplotlib, or, if >>>>> not that, just the 0.99 version, up and working on my Linux (Intrepid >>>>> Ibex) computer. I checked it matplotlib out from svn fine, and then, >>>>> as per the webpage, did: >>>>> >>>>> >>>>>> cd matplotlib >>>>>> python setup.py install >>>>>> >>>>> and that resulted in a very large amount of errors. I'll post them at >>>>> the bottom of this message, since there are many lines. >>>>> >>>>> I previously had 0.98.x installed, via the Ubuntu repositories, but I >>>>> have uninstalled it. My version is: >>>>> Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 >>>>> x86_64 GNU/Linux >>>>> >>>>> Any help is appreciated. Thank you, >>>>> Che >>>>> >>>>> Errors (starting from a few lines before): >>>>> >>>>> creating build/temp.linux-x86_64-2.5/src >>>>> creating build/temp.linux-x86_64-2.5/CXX >>>>> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >>>>> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >>>>> -DPYCXX_ISO_CPP_LIB=1 >>>>> -I/usr/lib/python2.5/site-packages/numpy/core/include >>>>> -I/usr/local/include -I/usr/include -I. >>>>> -I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2 >>>>> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 >>>>> -I/usr/include/python2.5 -c src/ft2font.cpp -o >>>>> build/temp.linux-x86_64-2.5/src/ft2font.o >>>>> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >>>>> for Ada/C/ObjC but not for C++ >>>>> In file included from ./CXX/Extensions.hxx:37, >>>>> from src/ft2font.h:4, >>>>> from src/ft2font.cpp:1: >>>>> ./CXX/WrapPython.h:58:20: error: Python.h: No such file or directory >>>>> >>>> You seem not to have the development package of python installed. >>>> Try "sudo apt-get install python-dev". >>>> >>> It looks like you are need to install libfreetype6-dev. Any time you >>> see missing .h files in your output, it means you need to install the >>> development headers for that package. >>> >>> Darren >>> >> Thanks, but after installing libfreetype6-dev, I tried to install >> matplotlib again and still get a lot of errors. Listed below. >> >> Che >> >> Ouput of install: >> >> basedirlist is: ['/usr/local', '/usr'] >> ============================================================================ >> BUILDING MATPLOTLIB >> matplotlib: 1.0.svn >> python: 2.5.2 (r252:60911, Jan 20 2010, 23:33:04) [GCC >> 4.3.2] >> platform: linux2 >> >> REQUIRED DEPENDENCIES >> numpy: 1.1.1 >> freetype2: 9.18.3 >> >> OPTIONAL BACKEND DEPENDENCIES >> libpng: found, but unknown version (no pkg-config) >> * Could not find 'libpng' headers in any of >> * '/usr/local/include', '/usr/include', '.' >> Tkinter: no >> * TKAgg requires Tkinter >> wxPython: 2.8.10.1 >> * WxAgg extension not required for wxPython >= 2.8 >> pkg-config: looking for pygtk-2.0 gtk+-2.0 >> * Package pygtk-2.0 was not found in the pkg-config >> * search path. Perhaps you should add the directory >> * containing `pygtk-2.0.pc' to the PKG_CONFIG_PATH >> * environment variable No package 'pygtk-2.0' found >> * Package gtk+-2.0 was not found in the pkg-config >> * search path. Perhaps you should add the directory >> * containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH >> * environment variable No package 'gtk+-2.0' found >> * You may need to install 'dev' package(s) to >> * provide header files. >> Gtk+: no >> * Could not find Gtk+ headers in any of >> * '/usr/local/include', '/usr/include', '.' >> Mac OS X native: no >> Qt: no >> Qt4: no >> Cairo: 1.4.12 >> >> OPTIONAL DATE/TIMEZONE DEPENDENCIES >> datetime: present, version unknown >> dateutil: 1.4 >> pytz: 2008b >> >> OPTIONAL USETEX DEPENDENCIES >> dvipng: 1.11 >> ghostscript: 8.63 >> latex: 3.141592 >> pdftops: 3.00 >> >> [Edit setup.cfg to suppress the above messages] >> ============================================================================ >> pymods ['pylab'] >> packages ['matplotlib', 'matplotlib.backends', >> 'matplotlib.backends.qt4_editor', 'matplotlib.projections', >> 'matplotlib.testing', 'matplotlib.testing.jpl_units', >> 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', >> 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', >> 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', >> 'matplotlib.numerix', 'matplotlib.numerix.mlab', >> 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra', >> 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft', >> 'matplotlib.delaunay'] >> running install >> running build >> running build_py >> copying lib/matplotlib/mpl-data/matplotlibrc -> >> build/lib.linux-x86_64-2.5/matplotlib/mpl-data >> copying lib/matplotlib/mpl-data/matplotlib.conf -> >> build/lib.linux-x86_64-2.5/matplotlib/mpl-data >> running build_ext >> building 'matplotlib.ft2font' extension >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c src/ft2font.cpp -o >> build/temp.linux-x86_64-2.5/src/ft2font.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c src/mplutils.cpp -o >> build/temp.linux-x86_64-2.5/src/mplutils.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c CXX/cxxsupport.cxx -o >> build/temp.linux-x86_64-2.5/CXX/cxxsupport.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c CXX/cxx_extensions.cxx -o >> build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c CXX/IndirectPythonInterface.cxx -o >> build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c CXX/cxxextensions.c -o >> build/temp.linux-x86_64-2.5/CXX/cxxextensions.o >> g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions >> build/temp.linux-x86_64-2.5/src/ft2font.o >> build/temp.linux-x86_64-2.5/src/mplutils.o >> build/temp.linux-x86_64-2.5/CXX/cxxsupport.o >> build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o >> build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o >> build/temp.linux-x86_64-2.5/CXX/cxxextensions.o -L/usr/local/lib >> -lfreetype -lz -lz -lstdc++ -lm -o >> build/lib.linux-x86_64-2.5/matplotlib/ft2font.so >> building 'matplotlib.ttconv' extension >> creating build/temp.linux-x86_64-2.5/ttconv >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c src/_ttconv.cpp -o >> build/temp.linux-x86_64-2.5/src/_ttconv.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c ttconv/pprdrv_tt.cpp -o >> build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c ttconv/pprdrv_tt2.cpp -o >> build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt2.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c ttconv/ttutil.cpp -o >> build/temp.linux-x86_64-2.5/ttconv/ttutil.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions >> build/temp.linux-x86_64-2.5/src/_ttconv.o >> build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt.o >> build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt2.o >> build/temp.linux-x86_64-2.5/ttconv/ttutil.o -L/usr/local/lib -o >> build/lib.linux-x86_64-2.5/matplotlib/ttconv.so >> building 'matplotlib._cntr' extension >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c >> src/cntr.c -o build/temp.linux-x86_64-2.5/src/cntr.o >> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions >> build/temp.linux-x86_64-2.5/src/cntr.o -L/usr/local/lib -o >> build/lib.linux-x86_64-2.5/matplotlib/_cntr.so >> building 'matplotlib._delaunay' extension >> creating build/temp.linux-x86_64-2.5/lib >> creating build/temp.linux-x86_64-2.5/lib/matplotlib >> creating build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c >> lib/matplotlib/delaunay/_delaunay.cpp -o >> build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/_delaunay.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* >> nn_interpolate_unstructured_method(PyObject*, PyObject*)’: >> lib/matplotlib/delaunay/_delaunay.cpp:469: warning: ‘intz’ may be used >> uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* >> nn_interpolate_method(PyObject*, PyObject*)’: >> lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘y’ may be used >> uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘z’ may be used >> uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘centers’ may be >> used uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘nodes’ may be >> used uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘neighbors’ may be >> used uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* >> compute_planes_method(PyObject*, PyObject*)’: >> lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘nodes’ may be >> used uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘z’ may be used >> uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘y’ may be used >> uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* >> linear_interpolate_method(PyObject*, PyObject*)’: >> lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘neighbors’ may be >> used uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘nodes’ may be >> used uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘y’ may be used >> uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘planes’ may be >> used uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* >> getMesh(int, double*, double*)’: >> lib/matplotlib/delaunay/_delaunay.cpp:209: warning: ‘vertices’ may be >> used uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_nbrs’ may be >> used uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_edges’ may be >> used uninitialized in this function >> lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* >> delaunay_method(PyObject*, PyObject*)’: >> lib/matplotlib/delaunay/_delaunay.cpp:667: warning: ‘y’ may be used >> uninitialized in this function >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c >> lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp -o >> build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp: In member >> function ‘bool VoronoiDiagramGenerator::voronoi(int)’: >> lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp:923: warning: >> ‘newintstar.Point::y’ may be used uninitialized in this function >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c >> lib/matplotlib/delaunay/delaunay_utils.cpp -o >> build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/delaunay_utils.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c >> lib/matplotlib/delaunay/natneighbors.cpp -o >> build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/natneighbors.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions >> build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/_delaunay.o >> build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o >> build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/delaunay_utils.o >> build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/natneighbors.o >> -L/usr/local/lib -o build/lib.linux-x86_64-2.5/matplotlib/_delaunay.so >> building 'matplotlib.nxutils' extension >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c >> src/nxutils.c -o build/temp.linux-x86_64-2.5/src/nxutils.o >> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions >> build/temp.linux-x86_64-2.5/src/nxutils.o -L/usr/local/lib -o >> build/lib.linux-x86_64-2.5/matplotlib/nxutils.so >> building 'matplotlib._path' extension >> creating build/temp.linux-x86_64-2.5/agg24 >> creating build/temp.linux-x86_64-2.5/agg24/src >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc >> -Iagg24/include -I. -I/usr/include/python2.5 -c >> agg24/src/agg_curves.cpp -o >> build/temp.linux-x86_64-2.5/agg24/src/agg_curves.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc >> -Iagg24/include -I. -I/usr/include/python2.5 -c >> agg24/src/agg_bezier_arc.cpp -o >> build/temp.linux-x86_64-2.5/agg24/src/agg_bezier_arc.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc >> -Iagg24/include -I. -I/usr/include/python2.5 -c >> agg24/src/agg_trans_affine.cpp -o >> build/temp.linux-x86_64-2.5/agg24/src/agg_trans_affine.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc >> -Iagg24/include -I. -I/usr/include/python2.5 -c >> agg24/src/agg_vcgen_stroke.cpp -o >> build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_stroke.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc >> -Iagg24/include -I. -I/usr/include/python2.5 -c >> src/agg_py_transforms.cpp -o >> build/temp.linux-x86_64-2.5/src/agg_py_transforms.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc >> -Iagg24/include -I. -I/usr/include/python2.5 -c src/path_cleanup.cpp >> -o build/temp.linux-x86_64-2.5/src/path_cleanup.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc >> -Iagg24/include -I. -I/usr/include/python2.5 -c src/path.cpp -o >> build/temp.linux-x86_64-2.5/src/path.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> src/path.cpp: In function ‘void clip_to_rect(PathIterator&, double, >> double, double, double, bool, std::vector<std::vector<XY, >> std::allocator<XY> >, std::allocator<std::vector<XY, >> std::allocator<XY> > > >&)’: >> src/path.cpp:821: warning: ‘y’ may be used uninitialized in this function >> src/path.cpp:821: warning: ‘x’ may be used uninitialized in this function >> g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions >> build/temp.linux-x86_64-2.5/agg24/src/agg_curves.o >> build/temp.linux-x86_64-2.5/agg24/src/agg_bezier_arc.o >> build/temp.linux-x86_64-2.5/agg24/src/agg_trans_affine.o >> build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_stroke.o >> build/temp.linux-x86_64-2.5/CXX/cxxsupport.o >> build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o >> build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o >> build/temp.linux-x86_64-2.5/CXX/cxxextensions.o >> build/temp.linux-x86_64-2.5/src/agg_py_transforms.o >> build/temp.linux-x86_64-2.5/src/path_cleanup.o >> build/temp.linux-x86_64-2.5/src/path.o -L/usr/local/lib -lstdc++ -lm >> -o build/lib.linux-x86_64-2.5/matplotlib/_path.so >> building 'matplotlib.backends._backend_agg' extension >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc >> -Iagg24/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c agg24/src/agg_vcgen_dash.cpp -o >> build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_dash.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc >> -Iagg24/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c agg24/src/agg_image_filters.cpp -o >> build/temp.linux-x86_64-2.5/agg24/src/agg_image_filters.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc >> -Iagg24/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. >> -I/usr/include/python2.5 -c src/backend_agg.cpp -o >> build/temp.linux-x86_64-2.5/src/backend_agg.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> src/backend_agg.cpp:3:17: error: png.h: No such file or directory >> src/backend_agg.cpp: In member function ‘Py::Object >> RendererAgg::draw_image(const Py::Tuple&)’: >> src/backend_agg.cpp:824: warning: ‘h’ may be used uninitialized in this function >> src/backend_agg.cpp:824: warning: ‘w’ may be used uninitialized in this function >> error: command 'gcc' failed with exit status 1 >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > > > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: C M <cmp...@gm...> - 2010-04-19 17:03:53
|
---------- Forwarded message ---------- From: C M <cmp...@gm...> Date: Mon, Apr 19, 2010 at 12:58 PM Subject: Re: [Matplotlib-users] install from svn on Linux not working for me To: LUK ShunTim <luk...@gm...> On Mon, Apr 19, 2010 at 4:30 AM, LUK ShunTim <luk...@gm...> wrote: > On 04/19/2010 01:52 PM, C M wrote: >> My goal is to just get the lastest svn version of matplotlib, or, if >> not that, just the 0.99 version, up and working on my Linux (Intrepid >> Ibex) computer. I checked it matplotlib out from svn fine, and then, >> as per the webpage, did: >> >>> cd matplotlib >>> python setup.py install >> >> and that resulted in a very large amount of errors. I'll post them at >> the bottom of this message, since there are many lines. >> >> I previously had 0.98.x installed, via the Ubuntu repositories, but I >> have uninstalled it. My version is: >> Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 >> x86_64 GNU/Linux >> >> Any help is appreciated. Thank you, >> Che >> >> Errors (starting from a few lines before): >> >> creating build/temp.linux-x86_64-2.5/src >> creating build/temp.linux-x86_64-2.5/CXX >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >> -DPYCXX_ISO_CPP_LIB=1 >> -I/usr/lib/python2.5/site-packages/numpy/core/include >> -I/usr/local/include -I/usr/include -I. >> -I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2 >> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 >> -I/usr/include/python2.5 -c src/ft2font.cpp -o >> build/temp.linux-x86_64-2.5/src/ft2font.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> In file included from ./CXX/Extensions.hxx:37, >> from src/ft2font.h:4, >> from src/ft2font.cpp:1: >> ./CXX/WrapPython.h:58:20: error: Python.h: No such file or directory > > You seem not to have the development package of python installed. > Try "sudo apt-get install python-dev". > > Regards, > ST Well, I now did that and I still get lots of errors.... The full output of the terminal is listed below. Why is this so much more difficult than the website suggests? Am I going to need to take this all into account if I want to distribute a packaged-up version of my application on Linux? This is the first time I've run into these problems. Thanks, Che Terminal output: basedirlist is: ['/usr/local', '/usr'] ============================================================================ BUILDING MATPLOTLIB matplotlib: 1.0.svn python: 2.5.2 (r252:60911, Jan 20 2010, 23:33:04) [GCC 4.3.2] platform: linux2 REQUIRED DEPENDENCIES numpy: 1.1.1 freetype2: found, but unknown version (no pkg-config) * WARNING: Could not find 'freetype2' headers in any * of '/usr/local/include', '/usr/include', '.', * '/usr/local/include/freetype2', * '/usr/include/freetype2', './freetype2'. OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) * Could not find 'libpng' headers in any of * '/usr/local/include', '/usr/include', '.' Tkinter: no * TKAgg requires Tkinter wxPython: 2.8.10.1 * WxAgg extension not required for wxPython >= 2.8 pkg-config: looking for pygtk-2.0 gtk+-2.0 * Package pygtk-2.0 was not found in the pkg-config * search path. Perhaps you should add the directory * containing `pygtk-2.0.pc' to the PKG_CONFIG_PATH * environment variable No package 'pygtk-2.0' found * Package gtk+-2.0 was not found in the pkg-config * search path. Perhaps you should add the directory * containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH * environment variable No package 'gtk+-2.0' found * You may need to install 'dev' package(s) to * provide header files. Gtk+: no * Could not find Gtk+ headers in any of * '/usr/local/include', '/usr/include', '.' Mac OS X native: no Qt: no Qt4: no Cairo: 1.4.12 OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: 1.4 pytz: 2008b OPTIONAL USETEX DEPENDENCIES dvipng: 1.11 ghostscript: 8.63 latex: 3.141592 pdftops: 3.00 [Edit setup.cfg to suppress the above messages] ============================================================================ pymods ['pylab'] packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projections', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra', 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft', 'matplotlib.delaunay'] running install running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.linux-x86_64-2.5/matplotlib/mpl-data copying lib/matplotlib/mpl-data/matplotlib.conf -> build/lib.linux-x86_64-2.5/matplotlib/mpl-data running build_ext building 'matplotlib.ft2font' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2 -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 -I/usr/include/python2.5 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.5/src/ft2font.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ In file included from src/ft2font.cpp:1: src/ft2font.h:13:22: error: ft2build.h: No such file or directory src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME> In file included from src/ft2font.cpp:1: src/ft2font.h:31: error: ‘FT_Bitmap’ has not been declared src/ft2font.h:31: error: ‘FT_Int’ has not been declared src/ft2font.h:31: error: ‘FT_Int’ has not been declared src/ft2font.h:77: error: expected ‘,’ or ‘...’ before ‘&’ token src/ft2font.h:77: error: ISO C++ forbids declaration of ‘FT_Face’ with no type src/ft2font.h:83: error: expected ‘,’ or ‘...’ before ‘&’ token src/ft2font.h:83: error: ISO C++ forbids declaration of ‘FT_Face’ with no type src/ft2font.h:124: error: ‘FT_Face’ does not name a type src/ft2font.h:125: error: ‘FT_Matrix’ does not name a type src/ft2font.h:126: error: ‘FT_Vector’ does not name a type src/ft2font.h:127: error: ‘FT_Error’ does not name a type src/ft2font.h:128: error: ‘FT_Glyph’ was not declared in this scope src/ft2font.h:128: error: template argument 1 is invalid src/ft2font.h:128: error: template argument 2 is invalid src/ft2font.h:129: error: ‘FT_Vector’ was not declared in this scope src/ft2font.h:129: error: template argument 1 is invalid src/ft2font.h:129: error: template argument 2 is invalid src/ft2font.h:135: error: ‘FT_BBox’ does not name a type src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type src/ft2font.cpp:96: error: variable or field ‘draw_bitmap’ declared void src/ft2font.cpp:96: error: ‘FT_Bitmap’ was not declared in this scope src/ft2font.cpp:96: error: ‘bitmap’ was not declared in this scope src/ft2font.cpp:97: error: ‘FT_Int’ was not declared in this scope src/ft2font.cpp:98: error: ‘FT_Int’ was not declared in this scope /usr/lib/python2.5/site-packages/numpy/core/include/numpy/__multiarray_api.h:958: warning: ‘int _import_array()’ defined but not used error: command 'gcc' failed with exit status 1 |
|
From: C M <cmp...@gm...> - 2010-04-19 17:51:37
|
On Mon, Apr 19, 2010 at 1:31 PM, Mauro Cavalcanti <mau...@gm...> wrote: > As I posted before, I ran across precisely these same errors when > upgrading my Ubuntu box and the Python interpreter. You will need to > install other dependencies as the installation log shows (gtk-2.0+, > pygtk), including its development versions. Can someone explain why I was able to have matplotlib 0.99 installed previously, and can easily have 0.98 installed through Synaptic/Ubuntu repositories, and yet have to hunt down the additional dependencies myself if I install from svn? I can't recall if I installed 0.99 through a third party repository or how I got it, but the point is: is the svn version going to be different than what one gets through a repository? Is this need to install dependencies usually the case when installing from svn?--and if so, can I suggest that this be mentioned in the online documentation? (perhaps it is and I didn't see it?). > And yes, distributing a packaged Python application which uses > Matplotlib (either for Linux or Windows) is *not* an easy and simple > matter. But with patience, it is possible. On Windows I've found it is close to easy once you know to include the matplotlib data files in your py2exe script (also, using GUI2Exe helps with this a great deal). What are the (basic) steps for doing this on Linux? I was thinking of using cx_freeze or something to package everything up on Linux. Thank you, Che |
|
From: Mauro C. <mau...@gm...> - 2010-04-19 18:05:14
|
2010/4/19 C M <cmp...@gm...>: >> And yes, distributing a packaged Python application which uses >> Matplotlib (either for Linux or Windows) is *not* an easy and simple >> matter. But with patience, it is possible. > > On Windows I've found it is close to easy once you know to include > the matplotlib data files in your py2exe script (also, using GUI2Exe > helps with this a great deal). What are the (basic) steps for doing > this on Linux? I was thinking of using cx_freeze or something to > package everything up on Linux. With Python 2.5, I have success with bb_freeze (derived from cx_freeze), however it is not compatible with Python 2.6. I'm right now investigating PyInstaller (http://www.pyinstaller.org/), which looks promising. Hope this helps. Best wishes, -- Dr. Mauro J. Cavalcanti P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mau...@gm... Web: http://sites.google.com/site/maurobio Linux Registered User #473524 * Ubuntu User #22717 |
|
From: Darren D. <dsd...@gm...> - 2010-04-19 18:36:12
|
On Mon, Apr 19, 2010 at 1:51 PM, C M <cmp...@gm...> wrote: > On Mon, Apr 19, 2010 at 1:31 PM, Mauro Cavalcanti <mau...@gm...> wrote: >> As I posted before, I ran across precisely these same errors when >> upgrading my Ubuntu box and the Python interpreter. You will need to >> install other dependencies as the installation log shows (gtk-2.0+, >> pygtk), including its development versions. > > Can someone explain why I was able to have matplotlib 0.99 installed > previously, and can easily have 0.98 installed through Synaptic/Ubuntu > repositories, and yet have to hunt down the additional dependencies > myself if I install from svn? Because you have to have the development headers available in order to *compile* the extension code in matplotlib. I tried to make clear in my previous post that if you inspect the error messages and find references to missing .h files, that means you need to install the relevant development packages. In your most recent post, png.h is missing, so you need to install libpng-dev (or whatever ubuntu calls the development headers for the png library). > I can't recall if I installed 0.99 > through a third party repository or how I got it, but the point is: > is the svn version going to be different than what one gets through a > repository? > > Is this need to install dependencies usually the case when installing > from svn? yes > --and if so, can I suggest that this be mentioned in the > online documentation? (perhaps it is and I didn't see it?). The information is already available in the INSTALL file in the svn sources, and I just added a comment which should eventually appear at http://matplotlib.sourceforge.net/users/installing.html . Darren |
|
From: Michael D. <md...@st...> - 2010-04-19 18:32:26
|
C M wrote: > On Mon, Apr 19, 2010 at 1:31 PM, Mauro Cavalcanti <mau...@gm...> wrote: > >> As I posted before, I ran across precisely these same errors when >> upgrading my Ubuntu box and the Python interpreter. You will need to >> install other dependencies as the installation log shows (gtk-2.0+, >> pygtk), including its development versions. >> > > Can someone explain why I was able to have matplotlib 0.99 installed > previously, and can easily have 0.98 installed through Synaptic/Ubuntu > repositories, and yet have to hunt down the additional dependencies > myself if I install from svn? I can't recall if I installed 0.99 > through a third party repository or how I got it, but the point is: > is the svn version going to be different than what one gets through a > repository? > When building from source, you also need the header files (*.h files) of all of matplotlib's dependencies. When you install the matplotlib binary package (.deb file), these header files are not installed. Debian, Ubuntu and most other Linux distros separate the compiled binary libraries and header files into separate packages. The latter are usually named the same as the binary package but with a "-dev" suffix. The "apt-get build-dep" command is designed specifically to install all of the header files required to build a particular package. Therefore "apt-get build-dep python-matplotlib" is a great shortcut to set up your machine for building matplotlib from source. > Is this need to install dependencies usually the case when installing > from svn?--and if so, can I suggest that this be mentioned in the > online documentation? (perhaps it is and I didn't see it?). > It sure can -- it was overlooked because this requirement is true of any compiled piece of software, not just matplotlib. Would you like to contribute a paragraph or two? I'd be happy to merge it into the docs. Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: C M <cmp...@gm...> - 2010-04-19 21:24:20
|
Michael and Darren (and others), I've used svn before to download pure Python code, but never to get anything that needed to be built. I'm fairly out to sea here, so thanks for the patience. > When building from source, you also need the header files (*.h files) of all > of matplotlib's dependencies. When you install the matplotlib binary > package (.deb file), these header files are not installed. Debian, Ubuntu > and most other Linux distros separate the compiled binary libraries and > header files into separate packages. The latter are usually named the same > as the binary package but with a "-dev" suffix. That's useful to know. > The "apt-get build-dep" command is designed specifically to install all of > the header files required to build a particular package. Therefore "apt-get > build-dep python-matplotlib" is a great shortcut to set up your machine for > building matplotlib from source. I did that, and then did the setup.py install and, yes, it now all works for me (not that you don't know that). I have mpl 1.0 installed on that Ubuntu machine. (btw, Mauro, thanks for the tip on Jaunty...I've been having random crashes with Intrepid now and may try to start anew with Lucid Lynx when it comes out in a couple of weeks). >> Is this need to install dependencies usually the case when installing >> from svn?--and if so, can I suggest that this be mentioned in the >> online documentation? (perhaps it is and I didn't see it?). >> > > It sure can -- it was overlooked because this requirement is true of any > compiled piece of software, not just matplotlib. > Would you like to contribute a paragraph or two? I'd be happy to merge it into the docs. I can at least try; let me know if what follows is a good approach to take. The problem I've had today is that I didn't realize one has to build matplotlib when getting it as source AND that there are a lot of build requirements prior to installing. All that actually IS on a web page, but my problem is when I skipped to the "install from svn" link, I was then on a new page that didn't mention it, and, being new to building, didn't realize it. And so, my suggestion would be that at every place (1-3 places perhaps) where the docs mention doing the following: > cd matplotlib > python setup.py build > python setup.py install (such as on the "install from svn" page) ...there can be a) a small note reminding newbies that in order to build you need to have the build requirements satisfied or else the build will fail with numerous errors, and in that note b) a link back to the "Build requirements" paragraph already on this page, here: http://matplotlib.sourceforge.net/users/installing.html ...and maybe c) the shortcut that you mentioned for Linux users. If (c) doesn't belong there, it should at least be in the "Build requirements" paragraph, something along the lines of this: "Note: if you are building matplotlib on Linux, instead of manually installing all of the build requirements (dependencies), you can simply run this command: > apt-get build-dep python-matplotlib It should take some time to finish, but you will then have built matplotlib as well as everything needed to have it work. Afterward, all you need do is install it with: > cd matplotlib > python setup.py install" I hope this makes sense. I appreciate everyone's help here. Che |