From: Dominique O. <do...@da...> - 2004-03-02 13:50:52
|
* On Tue, 02 Mar 2004, John Hunter wrote: > > >>>>> "Dominique" == Dominique Orban <do...@da...> writes: > > Dominique> I am in Windows 2000 and XP. I am using 0.50e in Linux, > Dominique> because i am upgrading my gcc. The newer 0.50 won't > Dominique> compile with the gcc i have now. I only get the 'None > Dominique> Active' in Linux though. I suspect it comes from my > Dominique> GTK. I am using KDE and installing Gnome libraries when > Dominique> i need them. There might be a glitch somewhere. > > Note, you can just set all the BUILD_* flags at the top of setup.py > and matplotlib won't try and compile anything. It will install all of > the pre 0.50 modules (GTK, WX, PS, etc) but you won't have access to > Agg. Yes i will try that to start with. In the end, i'll want to use Agg though, given the apparent quality of the plots. > For the record, what gcc were you using and what error message did you > get? gcc version 2.95.3 20010315 (SuSE) I wanted to try the Intel c++ compiler for Linux, but am not sure how to tell setup.py which compiler i want to use and with which options. 'python setup.py build' eventually gives gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -Iagg2/include -I/usr/include/freetype1 -I/usr/local/include/python2.3 -c src/_backend_agg.cpp -o build/temp.linux-i686-2.3/src/_backend_agg.o In file included from /usr/local/include/python2.3/Python.h:8, from src/_backend_agg.h:40, from src/_backend_agg.cpp:8: /usr/local/include/python2.3/pyconfig.h:847: warning: `_POSIX_C_SOURCE' redefined /usr/include/features.h:171: warning: this is the location of the previous definition src/_backend_agg.cpp:286: multiple storage classes in declaration of `RendererAgg_Type' error: command 'gcc' failed with exit status 1 Many thanks for the help. Dominique |