[SciPy-user] fastumath installation problem

matt matt at hotdispatch.com
Wed Jul 14 17:26:20 EDT 2004


So my SciPy install was going great.  I installed Atlas and all of the  
other prerequisites without a hitch.  I'm using FreeBSD 4.9 and  
installed most of the pre-req's from the ports package.  The actual  
SciPy install get's really far, but it barfs when trying to compile  
fastumath_unsigned.  This seems strange and not easily traceable to a  
missing pre-req or anything.  Below is the output from 'python setup.py  
install'.  Any help here at all would be very useful.  I can provide  
details like version nums of all the pre requisites and the like upon  
request.  Thanks in advance.

-Matt Bachmann

cc: scipy_core/scipy_base/fastumathmodule.c
In file included from scipy_core/scipy_base/fastumathmodule.c:27:
scipy_core/scipy_base/fastumath_unsigned.inc:2784: `acosh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2784: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2784: (near initialization  
for `arccosh_data[0]')
scipy_core/scipy_base/fastumath_unsigned.inc:2784: `acosh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2784: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2784: (near initialization  
for `arccosh_data[1]')
scipy_core/scipy_base/fastumath_unsigned.inc:2785: `asinh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2785: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2785: (near initialization  
for `arcsinh_data[0]')
scipy_core/scipy_base/fastumath_unsigned.inc:2785: `asinh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2785: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2785: (near initialization  
for `arcsinh_data[1]')
scipy_core/scipy_base/fastumath_unsigned.inc:2786: `atanh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2786: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2786: (near initialization  
for `arctanh_data[0]')
scipy_core/scipy_base/fastumath_unsigned.inc:2786: `atanh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2786: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2786: (near initialization  
for `arctanh_data[1]')
In file included from scipy_core/scipy_base/fastumathmodule.c:27:
scipy_core/scipy_base/fastumath_unsigned.inc:2784: `acosh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2784: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2784: (near initialization  
for `arccosh_data[0]')
scipy_core/scipy_base/fastumath_unsigned.inc:2784: `acosh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2784: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2784: (near initialization  
for `arccosh_data[1]')
scipy_core/scipy_base/fastumath_unsigned.inc:2785: `asinh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2785: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2785: (near initialization  
for `arcsinh_data[0]')
scipy_core/scipy_base/fastumath_unsigned.inc:2785: `asinh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2785: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2785: (near initialization  
for `arcsinh_data[1]')
scipy_core/scipy_base/fastumath_unsigned.inc:2786: `atanh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2786: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2786: (near initialization  
for `arctanh_data[0]')
scipy_core/scipy_base/fastumath_unsigned.inc:2786: `atanh' undeclared  
here (not in a function)
scipy_core/scipy_base/fastumath_unsigned.inc:2786: initializer element  
is not constant
scipy_core/scipy_base/fastumath_unsigned.inc:2786: (near initialization  
for `arctanh_data[1]')
error: Command "cc -fno-strict-aliasing -DNDEBUG -O -pipe  
-march=pentiumpro -D_THREAD_SAFE -DTHREAD_STACK_SIZE=0x20000 -fPIC  
-DUSE_MCONF_LITE_LE -I/usr/local/include/python2.3 -c  
scipy_core/scipy_base/fastumathmodule.c -o  
build/temp.freebsd-4.9-STABLE-i386-2.3/scipy_core/scipy_base/ 
fastumathmodule.o" failed with exit status 1
-bash-2.05b#
-bash-2.05b# uname -a
FreeBSD archer.uchicago.edu 4.9-STABLE FreeBSD 4.9-STABLE #1: Tue Mar   
9 00:39:57 CST 2004      
toor at archer.uchicago.edu:/usr/obj/usr/src/sys/ARCHER1  i386




More information about the SciPy-User mailing list