(no subject)

Hi,
I'm a newbie trying to install matplotlib (0.87) on Linux (2.6.11,FC4). I have Python 2.4, wxPython 2.8.3 and all required libraries for matplotlib (freetype, libpng, zlib). I'm tring to use wxAgg as the backend, and there is a build error for matplotlib when it tries to compile the wxagg files.. I've attached the resulting output from the build.

It will be great help if anyone can give throw some light on how to fix this build error.

Thanks
Praveen

build_error.txt (30.9 KB)

···

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Praveen Gopalakrishnan wrote:

Hi, I'm a newbie trying to install matplotlib (0.87) on Linux
(2.6.11,FC4). I have Python 2.4, wxPython 2.8.3 and all required
libraries for matplotlib (freetype, libpng, zlib). I'm tring to use
wxAgg as the backend, and there is a build error for matplotlib when
it tries to compile the wxagg files..

I'm pretty sure that 0.87 will not build with wxPython2.8.* I think it's been fixed in SVN, but not in the 0.90 release either.

You can:

switch to wxPython 2.6

or

search the archives of this list for the fix and patch your source (search for my name, that may help)

or

Use the SVN version of MPL.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...

Chris is correct, you cannot build 0.87's _wxagg module using wxPython 2.8. However, you can edit setup.py and change the value of the BUILD_WXAGG variable from 'auto' to 0. This will inhibit the compilation of the module and everything should work fine.

Ken

···

On May 7, 2007, at 11:21 AM, Christopher Barker wrote:

Praveen Gopalakrishnan wrote:

Hi, I'm a newbie trying to install matplotlib (0.87) on Linux
(2.6.11,FC4). I have Python 2.4, wxPython 2.8.3 and all required
libraries for matplotlib (freetype, libpng, zlib). I'm tring to use
wxAgg as the backend, and there is a build error for matplotlib when
it tries to compile the wxagg files..

I'm pretty sure that 0.87 will not build with wxPython2.8.* I think it's
been fixed in SVN, but not in the 0.90 release either.