Re: [Matplotlib-users] build error on solaris

2007-05-05 Thread Daniel Fan
I have finally successfully installed Matplotlib on solaris. Let me put my steps here for reference. # set environmental variables CFLAG="-I/development/SUNWspro/include" LDFLAG="-L/development/SUNWspro/include -lCstd" # my CC and cc are in the directory /development/SUNWspro/bin. #"-lCtd" is need

Re: [Matplotlib-users] build error on solaris

2007-05-04 Thread Daniel Fan
Hi Nadia, Actually, I have successfully install matplotlib by being patient. I used CC=CC python setup.py build first and when it stops for the compilation of a .c file, I switch to CC=cc python setup.py build and let it run and switches again when it stops. Probably changing the Makefile as you s

Re: [Matplotlib-users] build error on solaris

2007-05-04 Thread Nadia Dencheva
Hi Daniel, I've seen that and the only way I can make Python pick up the right compiler/linker is to modify python/config/Makefile, specifically the fields for CC and CXX CC = gcc CXX = g++ but also on some occasions comment out pic32 CCSHARED= #-xcode=pic32 It is possible that the comp

Re: [Matplotlib-users] build error on solaris

2007-05-03 Thread Daniel Fan
I think the problem is the building use the same command for compiling .c file and .cpp/.cxx file. It uses whatever I set to $CC to compile the file and ignore $CXX. I am using the latest ActivePython for solaris. I've tried to set $CC=g , then I got the following error message: compute:/home/yfan

Re: [Matplotlib-users] build error on solaris

2007-04-30 Thread Nadia Dencheva
Try building it with g++. Generally you should be able to set the env variable CC to g++ but I think distutils in python 2.3 does not look at the environment variables and you may need to tweak python2.3/config/Makefile to use g++ instead of Sun's cc. I may be wrong. Later versions of python respec

[Matplotlib-users] build error on solaris

2007-04-29 Thread Daniel Fan
Hi, I am trying install matplotlib on a solaris machine. When I run python setup.py build, I get the following error: GTK requires pygtk GTKAgg requires pygtk TKAgg requires TkInter running build running build_py running build_ext building 'matplotlib._agg' extension cc -DNDEBUG -O -Iagg23/includ