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 respect $CC.
Nadia Dencheva Daniel Fan wrote: > 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/include -Isrc -Iswig > -I/usr/local/lang/python/2.3.2/include/python2.3 -c > src/agg.cxx -o > build/temp.solaris-2.10-sun4u-2.3/src/agg.o > cc: No input file specified, no output generated > error: command 'cc' failed with exit status 1 > > How can there be no input file? > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users