Folks, I am trying to install matplotlib 0.87.5 by compiling it. I'm using python 2.5 RC1 (yes - bleeding edge) on opensuse 10.1 on an amd64 chip. python 2.5rc1 and numpy 1.0b2. I'll try to install 1.0b5 but I don't think that's the cause. I've made sure all the suse packages needed for matplotlib are installed. However, I get gcc compiler errors (using gcc 4.1) included below. Any thoughts?
GTK requires pygtk TKAgg requires TkInter GTKAgg requires pygtk running install 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-x86_64-2.5/src/agg.o" failed with exit status 1 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users