From: Sue T. <se...@po...> - 2006-02-28 20:53:45
|
On Sun, 26 Feb 2006, Charlie Moad wrote: > Numpy and Scipy highjack distutils now, and this may be something they > add in. Do you ave numpy installed? That looks like a valid option > though. erm. I'm not entirely sure. I've somehow broken my "yast" in suse whilst trying to install matplotlib and now I cant see what's installed. [ any help on how to fix a malloc memory corruption in yast greatfully accepted ;-) ] I ran python and tried to import numpy and scipy but that didnt work, so I'm assuming I dont have them. (is there a better way to tell? - I'm sorry if I sound very ignorant, but I've only been learning python a few weeks). thanks alot. Sue > > I'm having problems compiling matplotlib. I'm running suse 9.3 (linux) and > > have python: > > Python 2.4.1 (#1, Sep 13 2005, 00:39:20) > > > > I downloaded matplotlib-0.87.tar.gz, and have not changed the setup.py or > > setupext.py at all. I think I have all the graphics things installed. > > > > The error message goes: > > >>> [snip] > > building 'matplotlib._agg' extension > > creating build/temp.linux-i686-2.4 > > creating build/temp.linux-i686-2.4/src > > creating build/temp.linux-i686-2.4/agg23 > > creating build/temp.linux-i686-2.4/agg23/src > > gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=i586 -mtune=i686 > > -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -I/usr/X11R6/include -fPIC > > -Iagg23/include -Isrc -Iswig -I/usr/include/python2.4 -c src/agg.cxx -o > > build/temp.linux-i686-2.4/src/agg.o > > cc1plus: error: invalid option `tune=i686' > > error: command 'gcc' failed with exit status 1 > > > > >> gcc --version > > gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux) > > Copyright (C) 2003 Free Software Foundation, Inc. > > > > I cant find anywhere in the matplotlib-0.87 directory structure that sets > > this "tune=i686". I have searched all the files in the directory structure > > for "tune" and "i686", so I'm guessing it's set somewhere else, but I dont > > know where. > > Can anyone help? > > > > thanks > > Sue > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > |------------------------------------------------------------------| | email su...@po... | | WWW http://www.pooh-room.freeserve.co.uk | |------------------------------------------------------------------| |