Building matplotlib py3k branch error

Hello everyone,

I tried to build
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/py3k/ with
Python 3.1.3 and get the following error message (whole output in the
attachement)

In file included from CXX\IndirectPythonInterface.cxx:42:0:
CXX\/Python3/IndirectPythonInterface.cxx: In function 'PyObject*
Py::_Exc_MemoryErrorInst()':
CXX\/Python3/IndirectPythonInterface.cxx:452:50: error:
'::PyExc_MemoryErrorInst' has not been declared
CXX\/Python3/IndirectPythonInterface.cxx:452:75: warning: control reaches
end of non-void function
error: command 'gcc' failed with exit status 1

Also can anyone help me how to 'correctly' configure freetypes2. I
downloaded and installed it and copied part of it from /Program
Files/GnuWin32/src/freetype/2.3.5/freetype-2.3.5\/include to
py3k/freetypes2/
Is there a more elegant way to configure the setup correctly?

Best regards,

Markus http://old.nabble.com/file/p30947414/output.txt output.txt

···

--
View this message in context: http://old.nabble.com/Building-matplotlib-py3k-branch-error-tp30947414p30947414.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

First, the python3k branch is completely experimental and only about 10% complete. If your expectation is to have something that just works, you'll want to wait a while. We're hoping to hold a sprint next month to make some more progress on it. If you're hoping to help us out with it, great!

You'll want to check out from the new git repository here:

https://github.com/matplotlib/matplotlib-py3

Hello everyone,

I tried to build
matplotlib download | SourceForge.net with
Python 3.1.3 and get the following error message (whole output in the
attachement)

In file included from CXX\IndirectPythonInterface.cxx:42:0:
CXX\/Python3/IndirectPythonInterface.cxx: In function 'PyObject*
Py::_Exc_MemoryErrorInst()':
CXX\/Python3/IndirectPythonInterface.cxx:452:50: error:
'::PyExc_MemoryErrorInst' has not been declared
CXX\/Python3/IndirectPythonInterface.cxx:452:75: warning: control reaches
end of non-void function
error: command 'gcc' failed with exit status 1

What platform/compiler are you on? I haven't seen this, but we've only worked the py3k branch on Linux so far.

Also can anyone help me how to 'correctly' configure freetypes2. I
downloaded and installed it and copied part of it from /Program
Files/GnuWin32/src/freetype/2.3.5/freetype-2.3.5\/include to
py3k/freetypes2/
Is there a more elegant way to configure the setup correctly?

Normally, in Unixy land "make install" would install the headers to /usr/local/include and the matplotlib build would pick them up there. Not sure how things are supposed to work in the GnuWin32 environment, though.

Mike

···

On 02/22/2011 03:52 AM, Markus1234 wrote:

Best regards,

Markus http://old.nabble.com/file/p30947414/output.txt output.txt