Hi,
I cannot install the latest matplotlib on openSUSE10.2
python setup.py install yields
gcc: src/_nc_backend_agg.cpp
./CXX/Extensions.hxx: In constructor Py::PythonExtension<T>::PythonExtension() [with T = BufferRegion]:
src/_backend_agg.h:50: instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
./CXX/Extensions.hxx: In constructor Py::PythonExtension<T>::PythonExtension() [with T = LazyValue]:
src/_transforms.h:27: instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
./CXX/Extensions.hxx: In constructor Py::PythonExtension<T>::PythonExtension() [with T = Func]:
src/_transforms.h:379: instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
./CXX/Extensions.hxx: In constructor Py::PythonExtension<T>::PythonExtension() [with T = FuncXY]:
src/_transforms.h:466: instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
./CXX/Extensions.hxx: In constructor Py::PythonExtension<T>::PythonExtension() [with T = Transformation]:
src/_transforms.h:538: instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
./CXX/Extensions.hxx: In constructor Py::PythonExtension<T>::PythonExtension() [with T = RendererAgg]:
src/_nc_backend_agg.cpp:219: instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
agg23/include/agg_conv_curve.h: In member function unsigned int agg::conv_curve<VertexSource>::vertex(double*, double*) [with VertexSource = agg::path_storage]:
agg23/include/agg_conv_curve.h:123: warning: end_y may be used uninitialized in this function
agg23/include/agg_conv_curve.h:122: warning: end_x may be used uninitialized in this function
agg23/include/agg_conv_curve.h:121: warning: ct2_y may be used uninitialized in this function
agg23/include/agg_conv_curve.h:120: warning: ct2_x may be used uninitialized in this function
gcc: src/ft2font.cpp
./CXX/Extensions.hxx: In constructor Py::PythonExtension<T>::PythonExtension() [with T = Glyph]:
src/ft2font.cpp:14: instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
./CXX/Extensions.hxx: In constructor Py::PythonExtension<T>::PythonExtension() [with T = FT2Font]:
src/ft2font.cpp:313: instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
gcc: agg23/src/agg_image_filters.cpp
gcc: src/_image.cpp
src/_image.cpp: In member function Py::Object Image::color_conv(const Py::Tuple&):
src/_image.cpp:237: error: cannot convert int* to Py_ssize_t* for argument 3 to int PyObject_AsWriteBuffer(PyObject*, void**, Py_ssize_t*)
src/_image.cpp: In member function Py::Object _image_module::readpng(const Py::Tuple&):
src/_image.cpp:872: warning: ignoring return value of size_t fread(void*, size_t, size_t, FILE*), declared with attribute warn_unused_result
./CXX/Extensions.hxx: In constructor Py::PythonExtension<T>::PythonExtension() [with T = Image]:
src/_image.cpp:50: instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
src/_image.cpp: In member function Py::Object Image::color_conv(const Py::Tuple&):
src/_image.cpp:237: error: cannot convert int* to Py_ssize_t* for argument 3 to int PyObject_AsWriteBuffer(PyObject*, void**, Py_ssize_t*)
src/_image.cpp: In member function Py::Object _image_module::readpng(const Py::Tuple&):
src/_image.cpp:872: warning: ignoring return value of size_t fread(void*, size_t, size_t, FILE*), declared with attribute warn_unused_result
./CXX/Extensions.hxx: In constructor Py::PythonExtension<T>::PythonExtension() [with T = Image]:
src/_image.cpp:50: instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -I/usr/local/include -I/usr/include -I. -Isrc -Iswig -Iagg23/include -I. -I/usr/local/include -I/usr/include -I. -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 -Isrc/freetype2 -Iswig/freetype2 -Iagg23/include/freetype2 -I./freetype2 -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 -I/usr/include/python2.5 -c src/_image.cpp -o build/temp.linux-x86_64-2.5/src/_image.o -DNUMERIC=1" failed with exit status 1
Nils