[SciPy-user] Installation from source on OS X: 'NoneType' object has no attribute 'link_shared_object'
Michael Williams
williams at astro.ox.ac.uk
Tue Sep 23 14:22:37 EDT 2008
Hi Robert,
thanks very much.
On 23 Sep 2008, at 18:39, Robert Kern wrote:
> Can you show us more of the build log? Particularly the parts during
> the Fortran compiler detection. What version of numpy are you using?
numpy is version 1.1.1. I'm very confused because I'm getting a
different error message when I install scipy. I'm pretty sure I
haven't done anything that has changed my setup. To confirm that this
new error message is real I removed my site-packages directory and ran
"easy_install numpy".
The last 100 lines of the build log, which seem to include the
detection of the Fortran compiler, are below. The full log is here: http://rafb.net/p/Sue0Wv11.html
.
Hope this helps. Thanks,
-- Mike
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
customize Gnu95FCompiler
Found executable /usr/local/bin/gfortran
customize Gnu95FCompiler using build_clib
building 'dfftpack' library
compiling Fortran sources
Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-
underscore -fPIC -O3 -funroll-loops
Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
second-underscore -Wall -fno-second-underscore -fPIC -O3 -funroll-loops
creating build/temp.macosx-10.5-i386-2.5
creating build/temp.macosx-10.5-i386-2.5/scipy
creating build/temp.macosx-10.5-i386-2.5/scipy/fftpack
creating build/temp.macosx-10.5-i386-2.5/scipy/fftpack/dfftpack
compile options: '-c'
gfortran:f77: scipy/fftpack/dfftpack/dcosqb.f
gfortran:f77: scipy/fftpack/dfftpack/dcosqf.f
gfortran:f77: scipy/fftpack/dfftpack/dcosqi.f
gfortran:f77: scipy/fftpack/dfftpack/dcost.f
gfortran:f77: scipy/fftpack/dfftpack/dcosti.f
gfortran:f77: scipy/fftpack/dfftpack/dfftb.f
gfortran:f77: scipy/fftpack/dfftpack/dfftb1.f
gfortran:f77: scipy/fftpack/dfftpack/dfftf.f
gfortran:f77: scipy/fftpack/dfftpack/dfftf1.f
gfortran:f77: scipy/fftpack/dfftpack/dffti.f
gfortran:f77: scipy/fftpack/dfftpack/dffti1.f
scipy/fftpack/dfftpack/dffti1.f: In function ‘dffti1’:
scipy/fftpack/dfftpack/dffti1.f:11: warning: ‘ntry’ may be used
uninitialized in this function
gfortran:f77: scipy/fftpack/dfftpack/dsinqb.f
gfortran:f77: scipy/fftpack/dfftpack/dsinqf.f
gfortran:f77: scipy/fftpack/dfftpack/dsinqi.f
gfortran:f77: scipy/fftpack/dfftpack/dsint.f
gfortran:f77: scipy/fftpack/dfftpack/dsint1.f
gfortran:f77: scipy/fftpack/dfftpack/dsinti.f
gfortran:f77: scipy/fftpack/dfftpack/zfftb.f
gfortran:f77: scipy/fftpack/dfftpack/zfftb1.f
gfortran:f77: scipy/fftpack/dfftpack/zfftf.f
gfortran:f77: scipy/fftpack/dfftpack/zfftf1.f
gfortran:f77: scipy/fftpack/dfftpack/zffti.f
gfortran:f77: scipy/fftpack/dfftpack/zffti1.f
scipy/fftpack/dfftpack/zffti1.f: In function ‘zffti1’:
scipy/fftpack/dfftpack/zffti1.f:11: warning: ‘ntry’ may be used
uninitialized in this function
ar: adding 23 object files to build/temp.macosx-10.5-i386-2.5/
libdfftpack.a
ranlib:@ build/temp.macosx-10.5-i386-2.5/libdfftpack.a
building 'linpack_lite' library
compiling Fortran sources
Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-
underscore -fPIC -O3 -funroll-loops
Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
second-underscore -Wall -fno-second-underscore -fPIC -O3 -funroll-loops
creating build/temp.macosx-10.5-i386-2.5/scipy/integrate
creating build/temp.macosx-10.5-i386-2.5/scipy/integrate/linpack_lite
compile options: '-c'
gfortran:f77: scipy/integrate/linpack_lite/dgbfa.f
gfortran:f77: scipy/integrate/linpack_lite/dgbsl.f
gfortran:f77: scipy/integrate/linpack_lite/dgefa.f
gfortran:f77: scipy/integrate/linpack_lite/dgesl.f
gfortran:f77: scipy/integrate/linpack_lite/dgtsl.f
ar: adding 5 object files to build/temp.macosx-10.5-i386-2.5/
liblinpack_lite.a
ranlib:@ build/temp.macosx-10.5-i386-2.5/liblinpack_lite.a
building 'mach' library
using additional config_fc from setup script for fortran compiler:
{'noopt': ('scipy/integrate/setup.py', 1)}
customize Gnu95FCompiler
compiling Fortran sources
Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
second-underscore -fPIC
Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-
underscore -fPIC
Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
second-underscore -Wall -fno-second-underscore -fPIC
creating build/temp.macosx-10.5-i386-2.5/scipy/integrate/mach
compile options: '-c'
gfortran:f77: scipy/integrate/mach/d1mach.f
gfortran:f77: scipy/integrate/mach/i1mach.f
gfortran:f77: scipy/integrate/mach/r1mach.f
gfortran:f77: scipy/integrate/mach/xerror.f
scipy/integrate/mach/xerror.f:1.40:
SUBROUTINE XERROR(MESS,NMESS,L1,L2)
1
Warning: Unused dummy argument 'l2' at (1)
scipy/integrate/mach/xerror.f:1.37:
SUBROUTINE XERROR(MESS,NMESS,L1,L2)
1
Warning: Unused dummy argument 'l1' at (1)
ar: adding 4 object files to build/temp.macosx-10.5-i386-2.5/libmach.a
ranlib:@ build/temp.macosx-10.5-i386-2.5/libmach.a
building 'quadpack' library
compiling Fortran sources
Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-
underscore -fPIC -O3 -funroll-loops
Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
second-underscore -Wall -fno-second-underscore -fPIC -O3 -funroll-loops
creating build/temp.macosx-10.5-i386-2.5/scipy/integrate/quadpack
compile options: '-c'
gfortran:f77: scipy/integrate/quadpack/dqag.f
gfortran:f77: scipy/integrate/quadpack/dqage.f
gfortran:f77: scipy/integrate/quadpack/dqagi.f
gfortran:f77: scipy/integrate/quadpack/dqagie.f
scipy/integrate/quadpack/dqagie.f: In function ‘dqagie’:
scipy/integrate/quadpack/dqagie.f:154: warning: ‘small’ may be used
uninitialized in this function
scipy/integrate/quadpack/dqagie.f:153: warning: ‘ertest’ may be used
uninitialized in this function
scipy/integrate/quadpack/dqagie.f:152: warning: ‘erlarg’ may be used
uninitialized in this function
scipy/integrate/quadpack/dqagie.f:151: warning: ‘correc’ may be used
uninitialized in this function
gfortran:f77: scipy/integrate/quadpack/dqagp.f
gfortran:f77: scipy/integrate/quadpack/dqagpe.f
scipy/integrate/quadpack/dqagpe.f: In function ‘dqagpe’:
scipy/integrate/quadpack/dqagpe.f:196: warning: ‘k’ may be used
uninitialized in this function
scipy/integrate/quadpack/dqagpe.f:191: warning: ‘correc’ may be used
uninitialized in this function
gfortran:f77: scipy/integrate/quadpack/dqags.f
gfortran:f77: scipy/integrate/quadpack/dqagse.f
scipy/integrate/quadpack/dqagse.f: In function ‘dqagse’:
scipy/integrate/quadpack/dqagse.f:153: warning: ‘small’ may be used
uninitialized in this function
scipy/integrate/quadpack/dqagse.f:152: warning: ‘ertest’ may be used
uninitialized in this function
scipy/integrate/quadpack/dqagse.f:151: warning: ‘erlarg’ may be used
uninitialized in this function
scipy/integrate/quadpack/dqagse.f:150: warning: ‘correc’ may be used
uninitialized in this function
gfortran:f77: scipy/integrate/quadpack/dqawc.f
gfortran:f77: scipy/integrate/quadpack/dqawce.f
gfortran:f77: scipy/integrate/quadpack/dqawf.f
gfortran:f77: scipy/integrate/quadpack/dqawfe.f
scipy/integrate/quadpack/dqawfe.f: In function ‘dqawfe’:
scipy/integrate/quadpack/dqawfe.f:203: warning: ‘ll’ may be used
uninitialized in this function
scipy/integrate/quadpack/dqawfe.f:200: warning: ‘drl’ may be used
uninitialized in this function
gfortran:f77: scipy/integrate/quadpack/dqawo.f
gfortran:f77: scipy/integrate/quadpack/dqawoe.f
scipy/integrate/quadpack/dqawoe.f: In function ‘dqawoe’:
scipy/integrate/quadpack/dqawoe.f:208: warning: ‘ertest’ may be used
uninitialized in this function
scipy/integrate/quadpack/dqawoe.f:207: warning: ‘erlarg’ may be used
uninitialized in this function
scipy/integrate/quadpack/dqawoe.f:206: warning: ‘correc’ may be used
uninitialized in this function
gfortran:f77: scipy/integrate/quadpack/dqaws.f
gfortran:f77: scipy/integrate/quadpack/dqawse.f
gfortran:f77: scipy/integrate/quadpack/dqc25c.f
gfortran:f77: scipy/integrate/quadpack/dqc25f.f
scipy/integrate/quadpack/dqc25f.f: In function ‘dqc25f’:
scipy/integrate/quadpack/dqc25f.f:103: warning: ‘m’ may be used
uninitialized in this function
gfortran:f77: scipy/integrate/quadpack/dqc25s.f
gfortran:f77: scipy/integrate/quadpack/dqcheb.f
gfortran:f77: scipy/integrate/quadpack/dqelg.f
scipy/integrate/quadpack/dqelg.f: In function ‘dqelg’:
scipy/integrate/quadpack/dqelg.f:1: internal compiler error: vector
VEC(tree,base) index domain error, in build_classic_dist_vector_1 at
tree-data-ref.c:2725
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
scipy/integrate/quadpack/dqelg.f: In function ‘dqelg’:
scipy/integrate/quadpack/dqelg.f:1: internal compiler error: vector
VEC(tree,base) index domain error, in build_classic_dist_vector_1 at
tree-data-ref.c:2725
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
error: Command "/usr/local/bin/gfortran -Wall -ffixed-form -fno-second-
underscore -fPIC -O3 -funroll-loops -c -c scipy/integrate/quadpack/
dqelg.f -o build/temp.macosx-10.5-i386-2.5/scipy/integrate/quadpack/
dqelg.o" failed with exit status 1
More information about the SciPy-User
mailing list