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-03 Thread Daniel Fan
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 respect $CC. > > Nadia Dencheva > > Daniel Fan wrote: &

[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