[SciPy-user] Pointers installing scipy on OS X
Rick Muller
rmuller at sandia.gov
Fri Aug 19 07:03:35 EDT 2005
On Aug 18, 2005, at 9:04 PM, Chris Fonnesbeck wrote:
>
> Rick, could you provide the full output from your attempted build --
> that will help me diagnose the problem.
>
Attached. Thanks very much for looking.
fftw_info:
FOUND:
libraries = ['rfftw', 'fftw']
library_dirs = ['/usr/local/lib']
define_macros = [('SCIPY_FFTW_H', None)]
include_dirs = ['/usr/local/include']
djbfft_info:
NOT AVAILABLE
DJBFFT (http://cr.yp.to/djbfft.html) libraries not found.
Directories to search for the libraries can be specified in the
scipy_distutils/site.cfg file (section [djbfft]) or by setting
the DJBFFT environment variable.
blas_opt_info:
FOUND:
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3)]
extra_compile_args = ['-faltivec', '-framework', 'Accelerate']
lapack_opt_info:
FOUND:
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3)]
extra_compile_args = ['-faltivec', '-framework', 'Accelerate']
creating build
creating build/temp.darwin-7.9.0-Power_Macintosh-2.3
creating build/temp.darwin-7.9.0-Power_Macintosh-2.3/config_pygist
============= begin top level configuration =============
compiling '_configtest.c':
/* check whether libm is broken */
#include <math.h>
int main(int argc, char *argv[])
{
return exp(-720.) > 1.0; /* typically an IEEE denormal */
}
gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes'
compile options: '-c'
gcc: _configtest.c
gcc _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
compiling '_configtest.c':
/* check whether libm is broken */
#include <math.h>
int main(int argc, char *argv[])
{
return exp(-720.) > 1.0; /* typically an IEEE denormal */
}
gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes'
compile options: '-c'
gcc: _configtest.c
gcc _configtest.o -o _configtest
_configtest
success!
removing: _configtest.c _configtest.o _configtest
No libm needed.
compiling '_configtest.c':
int main(int argc, char *argv[])
{
double x=exp10(3.);
return (x<999.999)||(x>1000.001);
}
gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes'
compile options: '-c'
gcc: _configtest.c
_configtest.c: In function `main':
_configtest.c:3: warning: implicit declaration of function `exp10'
gcc _configtest.o -o _configtest
ld: Undefined symbols:
_exp10
ld: Undefined symbols:
_exp10
failure.
removing: _configtest.c _configtest.o
libm does not contain exp10, will emulate
============= begin play/unix configuration =============
compiling '_configtest.c':
#define USE_GETRUSAGE
/* check settings of: USE_GETRUSAGE USE_TIMES */
#define CONFIG_SCRIPT
#include "timeu.c"
int
main(int argc, char *argv[])
{
double s;
double t = p_cpu_secs(&s);
return 0;
}
gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes'
compile options:
'-I/Users/rmuller/Python/scipy-0.3.2/build/temp.darwin-7.9.0-
Power_Macintosh-2.3/config_pygist
-I/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/src/play -c'
gcc: _configtest.c
_configtest.c: In function `main':
_configtest.c:9: warning: unused variable `t'
gcc _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
using getrusage() (CPU timer)
compiling '_configtest.c':
#define USE_GETTIMEOFDAY
/* check settings of: USE_GETTIMEOFDAY */
#define CONFIG_SCRIPT
#include "timew.c"
int
main(int argc, char *argv[])
{
double t = p_wall_secs();
return 0;
}
gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes'
compile options:
'-I/Users/rmuller/Python/scipy-0.3.2/build/temp.darwin-7.9.0-
Power_Macintosh-2.3/config_pygist
-I/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/src/play -c'
gcc: _configtest.c
_configtest.c: In function `main':
_configtest.c:8: warning: unused variable `t'
gcc _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
using gettimeofday() (wall timer)
compiling '_configtest.c':
#define FPU_DIGITAL
#define CONFIG_SCRIPT
#include "fputest.c"
gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes'
compile options:
'-I/Users/rmuller/Python/scipy-0.3.2/build/temp.darwin-7.9.0-
Power_Macintosh-2.3/config_pygist
-I/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/src/play -c'
gcc: _configtest.c
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c:27:27: machine/fpu.h: No such file or directory
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c: In function `u_fpu_setup':
fpuset.c:45: warning: implicit declaration of function
`ieee_set_fp_control'
fpuset.c:45: error: `IEEE_TRAP_ENABLE_INV' undeclared (first use in
this function)
fpuset.c:45: error: (Each undeclared identifier is reported only once
fpuset.c:45: error: for each function it appears in.)
fpuset.c:45: error: `IEEE_TRAP_ENABLE_DZE' undeclared (first use in
this function)
fpuset.c:46: error: `IEEE_TRAP_ENABLE_OVF' undeclared (first use in
this function)
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c:27:27: machine/fpu.h: No such file or directory
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c: In function `u_fpu_setup':
fpuset.c:45: warning: implicit declaration of function
`ieee_set_fp_control'
fpuset.c:45: error: `IEEE_TRAP_ENABLE_INV' undeclared (first use in
this function)
fpuset.c:45: error: (Each undeclared identifier is reported only once
fpuset.c:45: error: for each function it appears in.)
fpuset.c:45: error: `IEEE_TRAP_ENABLE_DZE' undeclared (first use in
this function)
fpuset.c:46: error: `IEEE_TRAP_ENABLE_OVF' undeclared (first use in
this function)
failure.
removing: _configtest.c _configtest.o
compiling '_configtest.c':
#define FPU_AIX
#define CONFIG_SCRIPT
#include "fputest.c"
gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes'
compile options:
'-I/Users/rmuller/Python/scipy-0.3.2/build/temp.darwin-7.9.0-
Power_Macintosh-2.3/config_pygist
-I/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/src/play -c'
gcc: _configtest.c
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c:53:20: fptrap.h: No such file or directory
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c: In function `u_fpu_setup':
fpuset.c:58: warning: implicit declaration of function `fp_trap'
fpuset.c:58: error: `FP_TRAP_FASTMODE' undeclared (first use in this
function)
fpuset.c:58: error: (Each undeclared identifier is reported only once
fpuset.c:58: error: for each function it appears in.)
fpuset.c:59: warning: implicit declaration of function `fp_enable'
fpuset.c:59: error: `TRP_INVALID' undeclared (first use in this
function)
fpuset.c:59: error: `TRP_DIV_BY_ZERO' undeclared (first use in this
function)
fpuset.c:59: error: `TRP_OVERFLOW' undeclared (first use in this
function)
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c:53:20: fptrap.h: No such file or directory
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c: In function `u_fpu_setup':
fpuset.c:58: warning: implicit declaration of function `fp_trap'
fpuset.c:58: error: `FP_TRAP_FASTMODE' undeclared (first use in this
function)
fpuset.c:58: error: (Each undeclared identifier is reported only once
fpuset.c:58: error: for each function it appears in.)
fpuset.c:59: warning: implicit declaration of function `fp_enable'
fpuset.c:59: error: `TRP_INVALID' undeclared (first use in this
function)
fpuset.c:59: error: `TRP_DIV_BY_ZERO' undeclared (first use in this
function)
fpuset.c:59: error: `TRP_OVERFLOW' undeclared (first use in this
function)
failure.
removing: _configtest.c _configtest.o
compiling '_configtest.c':
#define FPU_HPUX
#define CONFIG_SCRIPT
#include "fputest.c"
gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes'
compile options:
'-I/Users/rmuller/Python/scipy-0.3.2/build/temp.darwin-7.9.0-
Power_Macintosh-2.3/config_pygist
-I/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/src/play -c'
gcc: _configtest.c
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c: In function `u_fpu_setup':
fpuset.c:76: warning: implicit declaration of function `fpsetmask'
fpuset.c:76: error: `FP_X_INV' undeclared (first use in this function)
fpuset.c:76: error: (Each undeclared identifier is reported only once
fpuset.c:76: error: for each function it appears in.)
fpuset.c:76: error: `FP_X_DZ' undeclared (first use in this function)
fpuset.c:76: error: `FP_X_OFL' undeclared (first use in this function)
fpuset.c:77: warning: implicit declaration of function `fpsetfastmode'
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c: In function `u_fpu_setup':
fpuset.c:76: warning: implicit declaration of function `fpsetmask'
fpuset.c:76: error: `FP_X_INV' undeclared (first use in this function)
fpuset.c:76: error: (Each undeclared identifier is reported only once
fpuset.c:76: error: for each function it appears in.)
fpuset.c:76: error: `FP_X_DZ' undeclared (first use in this function)
fpuset.c:76: error: `FP_X_OFL' undeclared (first use in this function)
fpuset.c:77: warning: implicit declaration of function `fpsetfastmode'
failure.
removing: _configtest.c _configtest.o
compiling '_configtest.c':
#define FPU_SOLARIS
#define CONFIG_SCRIPT
#include "fputest.c"
gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes'
compile options:
'-I/Users/rmuller/Python/scipy-0.3.2/build/temp.darwin-7.9.0-
Power_Macintosh-2.3/config_pygist
-I/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/src/play -c'
gcc: _configtest.c
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c:103:20: ieeefp.h: No such file or directory
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c: In function `u_fpu_setup':
fpuset.c:108: warning: implicit declaration of function `fpsetmask'
fpuset.c:108: error: `FP_X_INV' undeclared (first use in this function)
fpuset.c:108: error: (Each undeclared identifier is reported only once
fpuset.c:108: error: for each function it appears in.)
fpuset.c:108: error: `FP_X_DZ' undeclared (first use in this function)
fpuset.c:108: error: `FP_X_OFL' undeclared (first use in this function)
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c:103:20: ieeefp.h: No such file or directory
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c: In function `u_fpu_setup':
fpuset.c:108: warning: implicit declaration of function `fpsetmask'
fpuset.c:108: error: `FP_X_INV' undeclared (first use in this function)
fpuset.c:108: error: (Each undeclared identifier is reported only once
fpuset.c:108: error: for each function it appears in.)
fpuset.c:108: error: `FP_X_DZ' undeclared (first use in this function)
fpuset.c:108: error: `FP_X_OFL' undeclared (first use in this function)
failure.
removing: _configtest.c _configtest.o
compiling '_configtest.c':
#define FPU_SUN4
#define CONFIG_SCRIPT
#include "fputest.c"
gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes'
compile options:
'-I/Users/rmuller/Python/scipy-0.3.2/build/temp.darwin-7.9.0-
Power_Macintosh-2.3/config_pygist
-I/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/src/play -c'
gcc: _configtest.c
In file included from fputest.c:10,
from _configtest.c:3:
fpuset.c: In function `u_fpu_setup':
fpuset.c:133: warning: implicit declaration of function
`nonstandard_arithmetic'
fpuset.c:134: warning: implicit declaration of function `ieee_handler'
Traceback (most recent call last):
File "setup.py", line 112, in ?
setup_package(ignore_packages)
File "setup.py", line 85, in setup_package
ignore_packages = ignore_packages)
File "scipy_core/scipy_distutils/misc_util.py", line 475, in
get_subpackages
config = setup_module.configuration(*args)
File "/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/setup_xplt.py", line
210, in configuration
conf.run()
File "/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/config_pygist.py",
line 64, in run
self.config_unix()
File "/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/config_pygist.py",
line 193, in config_unix
self.find_sigfpe(configfile)
File "/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/config_pygist.py",
line 311, in find_sigfpe
include_dirs=self.unix_include_dirs):
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/distutils/command/config.py", line 260, in try_link
libraries, library_dirs, lang)
File "/Users/rmuller/Python/scipy-0.3.2/Lib/xplt/config_pygist.py",
line 28, in _link
library_dirs=library_dirs)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/distutils/ccompiler.py", line 860, in link_executable
debug, extra_preargs, extra_postargs, None, target_lang)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/distutils/unixccompiler.py", line 153, in link
libraries)
File "scipy_core/scipy_distutils/ccompiler.py", line 266, in
gen_lib_options
runtime_library_dirs, libraries)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/distutils/ccompiler.py", line 1249, in gen_lib_options
(lib_dir, lib_name) = os.path.split (lib)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/posixpath.py", line 77, in split
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
More information about the SciPy-User
mailing list