I have installed Python 2.5 as a separate installation from 2.4, and am trying to install matplotlib in the site-packages of the new version. I have installed numpy and scipy successfully, but am having the following trouble when I try to setup matplotlib. Any suggestions?
thank you... _________________________________________________________________________ [EMAIL PROTECTED]:~/Python-2.5/Lib/site-packages/matplotlib-0.87.5$ sudo python2.5 setup.py build GTK requires pygtk TKAgg requires TkInter GTKAgg requires pygtk running build running build_py running build_ext building 'matplotlib._agg' extension C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC compile options: '-Iagg23/include -Isrc -Iswig -I/usr/local/include/python2.5 -c' gcc: src/agg.cxx cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ src/agg.cxx: In function int SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int): src/agg.cxx:1231: error: invalid conversion from const char* to char* src/agg.cxx: In function void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**): src/agg.cxx:27624: error: invalid conversion from const char* to char* cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ src/agg.cxx: In function int SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int): src/agg.cxx:1231: error: invalid conversion from const char* to char* src/agg.cxx: In function void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**): src/agg.cxx:27624: error: invalid conversion from const char* to char* error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -Iagg23/include -Isrc -Iswig -I/usr/local/include/python2.5 -c src/agg.cxx -o build/temp.linux-i686-2.5/src/agg.o" failed with exit status 1 [EMAIL PROTECTED]:~/Python-2.5/Lib/site-packages/matplotlib-0.87.5$ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users