On Fri, May 22, 2009 at 3:11 PM, rupert.thurner <rupert.thur...@gmail.com> wrote: > we now face the same issue with pil-1.1.6. it compiles correctly, but > at the end it somehow tries again to call the default compiler the > creator of the easy_install package used. is this set somewhere, or > where is this set? > > we have it here: /opt/SUNWspro/bin/cc > while the default is: /opt/studio/SOS11/SUNWspro/bin/cc > > > # CC=/opt/SUNWspro/bin/cc python setup.py build > running build > running build_py > running build_ext
The build_ext command creates a new compiler instance, then call customize_compiler on it, that is supposed to use the CC set in the environment when you are under a unix-like system. What you can do to find out what is going on is to set a pdb in distutils.command.build_ext in the run command, to see how customize_compiler acts in your environment. If you don't know how to use pdb, check http://docs.python.org/library/pdb.html Regards Tarek -- Tarek Ziadé | http://ziade.org _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig