classification
Title: Building external modules using Sun Studio 12
Type: compile error Stage:
Components: Build Versions: Python 3.2, Python 3.1, Python 2.7
process
Status: pending Resolution:
Dependencies: Superseder:
Assigned To: niemeyer Nosy List: Anil.Jangity, BreamoreBoy, anilj, niemeyer, tarek
Priority: normal Keywords:

Created on 2007-10-09 21:10 by anilj, last changed 2010-09-18 13:56 by BreamoreBoy.

Messages (4)
msg56293 - (view) Author: (anilj) Date: 2007-10-09 21:10
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.
msg109751 - (view) Author: Mark Lawrence (BreamoreBoy) Date: 2010-07-09 15:25
I'm assuming this is still an issue, comments please.
msg109794 - (view) Author: Anil Jangity (Anil.Jangity) Date: 2010-07-09 20:54
Not sure. This had happened such a long time ago, not sure now. I do not have an environment now to re-test this.

Sorry.
msg116779 - (view) Author: Mark Lawrence (BreamoreBoy) Date: 2010-09-18 13:56
Is anyone out there using Sun Studio who can comment on this?  If there are no responses within a couple of weeks I'll close.
History
Date User Action Args
2010-09-18 13:56:55BreamoreBoysetstatus: open -> pending

messages: + msg116779
2010-07-09 20:54:51Anil.Jangitysetnosy: + Anil.Jangity
messages: + msg109794
2010-07-09 15:25:37BreamoreBoysetversions: + Python 3.2, - Python 2.6
nosy: + BreamoreBoy

messages: + msg109751

components: - Distutils
2009-02-16 23:35:01akitadasetnosy: + tarek
components: + Build
versions: + Python 2.6, Python 3.1, Python 2.7, - Python 2.5
2008-03-17 17:01:18jafosetpriority: normal
assignee: niemeyer
nosy: + niemeyer
2007-10-09 21:10:51aniljcreate