[Pythonmac-SIG] Bug in Numeric?

Rob Managan managan@llnl.gov
Tue, 1 Oct 2002 10:33:48 -0700


Set and I were having problems compiling the Python Numeric module 
for OSX 10.1.5 sue to missing inverse hyperbolic functions.

I added these lines to setup.py (the first two are already there)

elif sys.platform in ['mac', 'beos5']:
     mathlibs = []
elif sys.platform in ['darwin']:
     undef_macros = ['HAVE_INVERSE_HYPERBOLIC']


This turns off support for the inverse hyperbolics since they are not 
available.

Now all I have to do is figure out how to get it to use the Atlas 
libraries I downloaded.

If any of the experts have a better solution let me know. I presume 
if I somehow used the Metrowerks compiler they have provided the 
inverse hyperbolics but I have not tried that route yet.


-- 
*-*-*-*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*-
Rob Managan       <mailto://managan@llnl.gov>
LLNL                      ph:  925-423-0903
P.O. Box 808, L-095       FAX: 925-422-3389
Livermore, CA  94551-0808