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