Hello all,

I'm trying to install scipy-py23 on Tiger, and I keep getting stuck at the same point. I've gotten all the dependencies installed, but the build of scipy-py23 itself fails to install the file /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack/_fftpack.so and the compile dies when it discovers it lacks that file.

Looking around on the net made me think this might be a consequence of Tiger's new gcc 4.0, so I switched the /usr/bin/gcc symlink to point at /usr/bin/gcc-3.3 instead of /usr/bin/gcc-4.0 and tried again. Judging from a few fewer compiler warnings, the new build did use gcc-3.3 instead, but it didn't help. My g77 (installed by fink) is up to date in the unstable tree, which is where I'm doing all this. Any ideas? Thanks in advance for your help.

Oh, and a side issue: when I do this in Fink Commander, I'm prompted for a response partway through the build, but the build continues regardless of whether I ever respond. I can't find where in the output it's asking for a response, and when I do the build with fink on the command line, I'm never prompted for information. Something seems to be triggering the "get input from the user" function in Fink Commander by accident.

Anyway, here are system details and excerpts from the scipy build's output (with gcc 4.0). The compile seems to have some other issues too, some involving things that look related to fft, but I'm not's sure what I need to install to fix this. fftpack is where it dies.

All this is having just run selfupdate.

Thanks again,

--Sarah

 fink -V
Package manager version: 0.24.6
Distribution version: 0.7.1.rsync

 sw_vers
ProductName:    Mac OS X
ProductVersion: 10.4.1
BuildVersion:   8B15

 fink describe g77
Information about 4584 packages read in 1 seconds.

g77-3.4.3-11: GNU Fortran compiler


 fink install scipy-py23
Information about 4586 packages read in 1 seconds.
The following package will be installed or updated:
 scipy-py23
<snip>
/sw/bin/python2.3 setup.py build
fftw_info:
  NOT AVAILABLE

dfftw_info:
  FOUND:
    libraries = ['drfftw', 'dfftw']
    library_dirs = ['/sw/lib']
    define_macros = [('SCIPY_DFFTW_H', None)]
    include_dirs = ['/sw/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.

<snip>
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 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/sw/include'
compile options: '-c'
gcc: _configtest.c
gcc _configtest.o -o _configtest
_configtest
unable to execute _configtest: No such file or directory
failure.
removing: _configtest.c _configtest.o _configtest

<snip>
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 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/sw/include'
compile options: '-c'
gcc: _configtest.c
gcc _configtest.o -lm -o _configtest
_configtest
unable to execute _configtest: No such file or directory
failure.
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 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/sw/include'
compile options: '-c'
gcc: _configtest.c
gcc _configtest.o -lcpml -o _configtest
/usr/bin/ld: can't locate file for: -lcpml
collect2: ld returned 1 exit status
/usr/bin/ld: can't locate file for: -lcpml
collect2: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
WARNING - libm broken? see play/unix/README.fpu
  if on Alpha Linux, rerun ./configure with CC='gcc -mieee'
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 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/sw/include'
compile options: '-c'
gcc: _configtest.c
_configtest.c: In function 'main':
_configtest.c:3: warning: implicit declaration of function 'exp10'
_configtest.c:3: warning: incompatible implicit declaration of built-in function 'exp10'
gcc _configtest.o -lm -o _configtest
/usr/bin/ld: Undefined symbols:
_exp10
collect2: ld returned 1 exit status
/usr/bin/ld: Undefined symbols:
_exp10
collect2: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
libm does not contain exp10, will emulate

<snip>
*************************WARNING***************************
*** play/unix configuration failed to get SIGFPE delivered
*** read the notes in play/unix/README.fpu
*************************WARNING***************************
<snip>

SciPy Version 0.3.2
****************************************************************
    Using fortran_libraries setup option is depreciated
    ---------------------------------------------------
    Use libraries option instead. Yes, scipy_distutils
    now supports Fortran sources in libraries.
****************************************************************
running build
running config_fc
running build_src
building extension "scipy.cluster._vq" sources
building extension "scipy.fftpack._fftpack" sources
creating build/src
creating build/src/Lib
creating build/src/Lib/fftpack
f2py: Lib/fftpack/fftpack.pyf
Reading fortran codes...
        Reading file 'Lib/fftpack/fftpack.pyf'
Post-processing...
        Block: _fftpack
                        Block: zfft
                        Block: drfft
                        Block: zrfft
                        Block: zfftnd
                        Block: destroy_zfft_cache
                        Block: destroy_zfftnd_cache
                        Block: destroy_drfft_cache
Post-processing (stage 2)...
Building modules...
        Building module "_fftpack"...
                Constructing wrapper function "zfft"...
                  y = zfft(x,[n,direction,normalize,overwrite_x])
                Constructing wrapper function "drfft"...
                  y = drfft(x,[n,direction,normalize,overwrite_x])
                Constructing wrapper function "zrfft"...
                  y = zrfft(x,[n,direction,normalize,overwrite_x])
                Constructing wrapper function "zfftnd"...
                  y = zfftnd(x,[s,direction,normalize,overwrite_x])
                Constructing wrapper function "destroy_zfft_cache"...
                  destroy_zfft_cache()
                Constructing wrapper function "destroy_zfftnd_cache"...
                  destroy_zfftnd_cache()
                Constructing wrapper function "destroy_drfft_cache"...
                  destroy_drfft_cache()
Wrote C/API module "_fftpack" to file "build/src/Lib/fftpack/_fftpackmodule.c"
  adding 'build/src/fortranobject.c' to sources.
  adding 'build/src' to include_dirs.
copying /sw/lib/python2.3/site-packages/f2py2e/src/fortranobject.c -> build/src
copying /sw/lib/python2.3/site-packages/f2py2e/src/fortranobject.h -> build/src

<snip>

creating build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack
copying /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/__cvs_version__.py -> build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack copying /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/__init__.py -> build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack copying /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/basic.py -> build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack copying /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/fftpack_version.py -> build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack copying /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/helper.py -> build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack copying /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/info_fftpack.py -> build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack copying /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/pseudo_diffs.py -> build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack copying /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/setup_fftpack.py -> build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack package init file '/sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/tests/__init__.py' not found (or not a regular file)
creating build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack/tests
copying /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/tests/test_basic.py -> build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack/tests copying /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/tests/test_helper.py -> build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack/tests copying /sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/tests/test_pseudo_diffs.py -> build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack/tests package init file '/sw/src/scipy-py23-0.3.2-2/SciPy_complete-0.3.2/Lib/fftpack/tests/__init__.py' not found (or not a regular file)

<snip>

building 'dfftpack' library
compiling Fortran sources
g77(f77) options: '-Wall -fno-second-underscore -fPIC -O3 -funroll-loops'
creating build/temp.darwin-8.1.0-PowerMacintosh-2.3/Lib/fftpack
creating build/temp.darwin-8.1.0-PowerMacintosh-2.3/Lib/fftpack/dfftpack
compile options: '-c'
g77:f77: Lib/fftpack/dfftpack/dcosqb.f
g77:f77: Lib/fftpack/dfftpack/dcosqf.f
g77:f77: Lib/fftpack/dfftpack/dcosqi.f
g77:f77: Lib/fftpack/dfftpack/dcost.f
g77:f77: Lib/fftpack/dfftpack/dcosti.f
g77:f77: Lib/fftpack/dfftpack/dfftb.f
g77:f77: Lib/fftpack/dfftpack/dfftb1.f
g77:f77: Lib/fftpack/dfftpack/dfftf.f
g77:f77: Lib/fftpack/dfftpack/dfftf1.f
g77:f77: Lib/fftpack/dfftpack/dffti.f
g77:f77: Lib/fftpack/dfftpack/dffti1.f
Lib/fftpack/dfftpack/dffti1.f: In subroutine `dffti1':
In file included from Lib/fftpack/dfftpack/dffti1.f:0:
Lib/fftpack/dfftpack/dffti1.f:10: warning: 'ntry' might be used uninitialized in this function
g77:f77: Lib/fftpack/dfftpack/dsinqb.f
g77:f77: Lib/fftpack/dfftpack/dsinqf.f
g77:f77: Lib/fftpack/dfftpack/dsinqi.f
g77:f77: Lib/fftpack/dfftpack/dsint.f
g77:f77: Lib/fftpack/dfftpack/dsint1.f
g77:f77: Lib/fftpack/dfftpack/dsinti.f
g77:f77: Lib/fftpack/dfftpack/zfftb.f
g77:f77: Lib/fftpack/dfftpack/zfftb1.f
g77:f77: Lib/fftpack/dfftpack/zfftf.f
g77:f77: Lib/fftpack/dfftpack/zfftf1.f
g77:f77: Lib/fftpack/dfftpack/zffti.f
g77:f77: Lib/fftpack/dfftpack/zffti1.f
Lib/fftpack/dfftpack/zffti1.f: In subroutine `zffti1':
In file included from Lib/fftpack/dfftpack/zffti1.f:0:
Lib/fftpack/dfftpack/zffti1.f:10: warning: 'ntry' might be used uninitialized in this function ar: adding 23 object files to build/temp.darwin-8.1.0-PowerMacintosh-2.3/libdfftpack.a
ranlib:@ build/temp.darwin-8.1.0-PowerMacintosh-2.3/libdfftpack.a

<snip>

building 'scipy.fftpack._fftpack' extension
compiling C sources
gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/sw/include'
creating build/temp.darwin-8.1.0-PowerMacintosh-2.3/build
creating build/temp.darwin-8.1.0-PowerMacintosh-2.3/build/src
creating build/temp.darwin-8.1.0-PowerMacintosh-2.3/build/src/Lib
creating build/temp.darwin-8.1.0-PowerMacintosh-2.3/build/src/Lib/fftpack
creating build/temp.darwin-8.1.0-PowerMacintosh-2.3/Lib/fftpack/src
compile options: '-DSCIPY_DFFTW_H -I/sw/include -Ibuild/src -I/sw/include/python2.3 -c'
gcc: Lib/fftpack/src/zrfft.c
In file included from Lib/fftpack/src/fftpack.h:44,
                 from Lib/fftpack/src/zrfft.c:7:
/sw/include/dfftw.h:123: warning: function declaration isn't a prototype
gcc: Lib/fftpack/src/zfftnd.c
In file included from Lib/fftpack/src/fftpack.h:44,
                 from Lib/fftpack/src/zfftnd.c:6:
/sw/include/dfftw.h:123: warning: function declaration isn't a prototype
gcc: build/src/fortranobject.c
build/src/fortranobject.c: In function 'fortran_doc':
build/src/fortranobject.c:123: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
gcc: Lib/fftpack/src/zfft.c
In file included from Lib/fftpack/src/fftpack.h:44,
                 from Lib/fftpack/src/zfft.c:7:
/sw/include/dfftw.h:123: warning: function declaration isn't a prototype
gcc: build/src/Lib/fftpack/_fftpackmodule.c
gcc: Lib/fftpack/src/drfft.c
In file included from Lib/fftpack/src/fftpack.h:44,
                 from Lib/fftpack/src/drfft.c:7:
/sw/include/dfftw.h:123: warning: function declaration isn't a prototype
gcc -bundle -flat_namespace -undefined suppress -L/sw/lib build/temp.darwin-8.1.0-PowerMacintosh-2.3/build/src/Lib/fftpack/_fftpackmodule.o build/temp.darwin-8.1.0-PowerMacintosh-2.3/Lib/fftpack/src/zfft.o build/temp.darwin-8.1.0-PowerMacintosh-2.3/Lib/fftpack/src/drfft.o build/temp.darwin-8.1.0-PowerMacintosh-2.3/Lib/fftpack/src/zrfft.o build/temp.darwin-8.1.0-PowerMacintosh-2.3/Lib/fftpack/src/zfftnd.o build/temp.darwin-8.1.0-PowerMacintosh-2.3/build/src/fortranobject.o -L/sw/lib -L/sw/lib/gcc/powerpc-apple-darwin8.0.0/3.4.3 -Lbuild/temp.darwin-8.1.0-PowerMacintosh-2.3 -ldfftpack -ldrfftw -ldfftw -lg2c -lcc_dynamic -o build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack/_fftpack.so
/usr/bin/ld: can't locate file for: -lcc_dynamic
collect2: ld returned 1 exit status
/usr/bin/ld: can't locate file for: -lcc_dynamic
collect2: ld returned 1 exit status
error: Command "gcc -bundle -flat_namespace -undefined suppress -L/sw/lib build/temp.darwin-8.1.0-PowerMacintosh-2.3/build/src/Lib/fftpack/_fftpackmodule.o build/temp.darwin-8.1.0-PowerMacintosh-2.3/Lib/fftpack/src/zfft.o build/temp.darwin-8.1.0-PowerMacintosh-2.3/Lib/fftpack/src/drfft.o build/temp.darwin-8.1.0-PowerMacintosh-2.3/Lib/fftpack/src/zrfft.o build/temp.darwin-8.1.0-PowerMacintosh-2.3/Lib/fftpack/src/zfftnd.o build/temp.darwin-8.1.0-PowerMacintosh-2.3/build/src/fortranobject.o -L/sw/lib -L/sw/lib/gcc/powerpc-apple-darwin8.0.0/3.4.3 -Lbuild/temp.darwin-8.1.0-PowerMacintosh-2.3 -ldfftpack -ldrfftw -ldfftw -lg2c -lcc_dynamic -o build/lib.darwin-8.1.0-PowerMacintosh-2.3/scipy/fftpack/_fftpack.so" failed with exit status 1
### execution of /sw/bin/python2.3 failed, exit code 1
Removing build lock...
dpkg -r fink-buildlock-scipy-py23-0.3.2-2
(Reading database ... 49723 files and directories currently installed.)
Removing fink-buildlock-scipy-py23-0.3.2-2 ...
Failed: phase compiling: scipy-py23-0.3.2-2 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists.  As a last resort, you can try e-mailing
the maintainer directly:

        Jeffrey Whitaker <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to