New submission from anilj: When compiling matplotlib, ditutils defaults to using /opt/SUNWspro/bin/cc but it needs to use /opt/SUNWspro/bin/CC for compiling c++ files.
% python2.5 setup.py build building for GTK requires pygtk; you must be able to "import gtk" in your build/install environmentTKAgg requires TkInter running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.solaris-2.10-i86pc-2.5/matplotlib/mpl-data running build_ext building 'matplotlib._agg' extension /opt/SUNWspro/bin/cc -DNDEBUG -O -fast -xipo -xtarget=opteron -Kpic -Iagg23/include -Isrc -Iswig -I/usr/local/include/python2.5 -c src/agg.cxx -o build/temp.solaris-2.10-i86pc-2.5/src/agg.o cc: No input file specified, no output generated error: command '/opt/SUNWspro/bin/cc' failed with exit status 1 % python2.5 setup.py build --help-compiler building for GTK requires pygtk; you must be able to "import gtk" in your build/install environmentTKAgg requires TkInter List of available compilers: --compiler=bcpp Borland C++ Compiler --compiler=cygwin Cygwin port of GNU C Compiler for Win32 --compiler=emx EMX port of GNU C Compiler for OS/2 --compiler=mingw32 Mingw32 port of GNU C Compiler for Win32 --compiler=msvc Microsoft Visual C++ --compiler=mwerks MetroWerks CodeWarrior --compiler=unix standard UNIX-style compiler Doesn't look like I can override the default compiler using the above options. Thanks. ---------- components: Distutils messages: 56293 nosy: anilj severity: normal status: open title: Building external modules using Sun Studio 12 type: compile error versions: Python 2.5 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1250> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com