Re: [Matplotlib-users] install from svn on Linux not working for me
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 : > On Mon, Apr 19, 2010 at 4:30 AM, LUK ShunTim 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 > Matplotlib-users@lists.sourceforge.net > 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: mauro...@gmail.com Web: http://sites.google.com/site/maurobio Linux Registered User #473524 * Ubuntu User #22717 -- 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 Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] install from svn on Linux not working for me
On Mon, Apr 19, 2010 at 4:30 AM, LUK ShunTim 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 Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] install from svn on Linux not working for me
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 -- -- 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 Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] install from svn on Linux not working for me
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 src/ft2font.h:15:10: error: #include expects "FILENAME" or src/ft2font.h:16:10: error: #include expects "FILENAME" or src/ft2font.h:17:10: error: #include expects "FILENAME" or src/ft2font.h:18:10: error: #include expects "FILENAME" or 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:7