[Distutils] how to set cc correctly?

rupert.thurner rupert.thurner at gmail.com
Sun Apr 26 21:39:53 CEST 2009


how could one set the compiler correctly?

http://opencsw has a setuptools package, which does not use the cc in
the path, but in /opt/studio/SOS11/SUNWspro/bin/cc

so the following happens:

# CC=/opt/SUNWspro/bin/cc easy_install genshi
Searching for genshi
Reading http://pypi.python.org/simple/genshi/
Reading http://genshi.edgewall.org/
Reading http://genshi.edgewall.org/wiki/Download
Best match: Genshi 0.5.1
Downloading http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.zip
Processing Genshi-0.5.1.zip
Running Genshi-0.5.1/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-7yiT65/Genshi-0.5.1/egg-dist-tmp-Cp42JQ
warning: no previously-included files found matching 'doc/
2000ft.graffle'
warning: no previously-included files matching '*' found under
directory 'doc/logo.lineform'
unable to execute /opt/studio/SOS11/SUNWspro/bin/cc: No such file or
directory
**********************************************************************
WARNING:
An optional C extension could not be compiled, speedups will not be
available.
**********************************************************************
Adding Genshi 0.5.1 to easy-install.pth file

Installed /opt/csw/lib/python2.6/site-packages/Genshi-0.5.1-py2.6-
solaris-2.10-sun4v.egg
Processing dependencies for genshi
Finished processing dependencies for genshi


More information about the Distutils-SIG mailing list