On Sun, May 27, 2007 at 12:29:30PM -0600, Travis Oliphant wrote: > Yang, Lu wrote: > > Thanks, Travis. I don't have problem building other applications on the > > same platform. > > Are there any files in the extracted /numpy-1.0.3 that I can modify the > > path of the C > > compiler? I have checked all the files in it withouth luck. > > > > The C-compiler that is used is the same one used to build Python. It is > picked up using Python distutils. So, another problem could be that > the compiler used to build Python is not available. > > You should look in the file > > $PYTHONDIR/config/Makefile > > where $PYTHONDIR is where Python is installed on your system. > > There will be a line > > CC = > > in there. That's the compiler that is going to be used. Also, check > your $PATH variable when you are building numpy if a full path name is > not given in the CC line to see what compiler will be picked up.
Also, check that you don't have a CC environment variable defined (i.e., echo $CC should be blank), as that will overrride the Python Makefile settings. -- |>|\/|< /--------------------------------------------------------------------------\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion