Hi all,

On 24/11/11 23:02, Friedrich Romstedt wrote:
> How does the ebuild work? Does it invoke setup.py? If yes, maybe
> matplotlib installs the CXX dir s.t. it does not work for py3k?


Sorry for making the noise, I found the problem, actually it was my
ebuild which removed the CXX folder after the 2.7 python succeeded to
build. I do not know the reasons behind this though.

No I do not have the error there, but I have elsewhere. :) Here it is:
------------------
x86_64-pc-linux-gnu-g++ -pthread -march=native -O2 -fno-strict-aliasing -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -DPYCXX_PYTHON_2TO3=1 -I/usr/local/include -I/usr/include -I/usr/include -I. -I/usr/lib64/python3.2/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/lib64/python3.2/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/include -I. -I/usr/include -I. -I/usr/include/pygtk-2.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/lib64/python3.2/site-packages/numpy/core/include -I/usr/include/python3.2 -c src/_gtkagg.cpp -o build-3.2/temp.linux-x86_64-3.2/src/_gtkagg.o
src/_gtkagg.cpp: In function ‘PyObject* init_gtkagg()’:
src/_gtkagg.cpp:137:5: error: return-statement with no value, in function returning ‘PyObject*’
src/_gtkagg.cpp:138:5: error: ‘PyCObject_Check’ was not declared in this scope
src/_gtkagg.cpp:138:5: error: ‘PyCObject_AsVoidPtr’ was not declared in this scope
src/_gtkagg.cpp:138:5: error: return-statement with no value, in function returning ‘PyObject*’
src/_gtkagg.cpp:138:5: error: return-statement with no value, in function returning ‘PyObject*’
------------------

If anybody could explain why I am getting the above. Is it because of
a wrong version of PyGobject (2.28.6) or PyGtk (2.24.0) ? Or is it
because the GTK Backend is not yet ported to Python 3?

Also, could anybody tell me what differences are there in dependencies
between Py2 and Py3 versions of MPL?

Cheers,
Ignas A.

--
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?