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 needed,
Hi Daniel,
I've seen that and the only way I can make Python pick up the right
compiler/linker is to modify pythonversion#/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
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
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
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