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