[SciPy-user] Darwin install prob - how to specify temp dir names?

Gavin Huttley Gavin.Huttley at anu.edu.au
Tue Jul 30 23:47:03 CDT 2002


Hi all:

I am having a problem with compiling SciPy that appears related to a
peculiarity of Darwin, the inclusion of spaces in pathnames. When I manually
repeat the either of the commands (ranlib, or g77) below as is, the fail,
when I insert a \ before the ' ', they succeed.

This suggest simply inserting an '_' in the dirs generated by the install
script should solve the problem. Can anyone tell me how I might do this?

Assistance much appreciated :)

G


******************
Installation error:
ranlib build/temp.darwin-5.5-Power Macintosh-2.2/libgist.a
ranlib: can't open file: build/temp.darwin-5.5-Power (No such file or
directory)
ranlib: can't open file: Macintosh-2.2/libgist.a (No such file or directory)
Ignoring  failure during build (exit status = 256)
running run_f2py
running build_flib
scipy_distutils.command.build_flib.gnu_fortran_compiler
command: g77 --version
0 GNU Fortran (GCC 3.1 20020420 (prerelease)) 3.1 20020420 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.
 using Gnu (GCC Fortran compiler
 building 'mach' library
g77  -Wall -fno-second-underscore  -fPIC   -O3 -funroll-loops    -c
/Users/gavin/Desktop/SciPy-0.2.0_alpha_105.3698/special/mach/d1mach.f -o
build/temp.darwin-5.5-Power Macintosh-2.2/d1mach.o
g77: cannot specify -o with -c or -S and multiple compilations
error: failure during compile (exit status = 256)
********************

1) Platform information:
     'Darwin', 'localhost', '5.5', 'Darwin Kernel Version 5.5: Thu May 30
14:51:26 PDT 2002; root:xnu/xnu-201.42.3.obj~1/RELEASE_PPC ', 'Power
Macintosh'
     
2) Information about C,C++,Fortran compilers/linkers as reported by
   the compilers when requesting their version information, e.g.,
   the output of
     gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-apple-darwin5.4/3.1/specs
Configured with: ../gcc3/configure --enable-pfe --disable-nls
--enable-languages=c,f77
Thread model: single
Apple Computer, Inc. GCC version 1110, based on gcc version 3.1 20020420
(prerelease)

     g77 --version
GNU Fortran (GCC 3.1 20020420 (prerelease)) 3.1 20020420 (prerelease)

3) Python version:
     2.2 (#1, Apr 19 2002, 03:34:05)
4) Python Numeric version:
     21.3
5) f2py version:
     2.13.175-1250
6) ATLAS version, the locations of atlas and lapack libraries, building
   information if any.

3.4.1

7) The output of the following commands
     python scipy_distutils/system_info.py

[localhost:~/Desktop/SciPy-0.2.0_alpha_105.3698] gavin% python
scipy_distutils/system_info.py
atlas_info:
  FOUND:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/lib/ATLAS']

blas_info:
  NOT AVAILABLE

blas_src_info:
  NOT AVAILABLE

fftw_info:
  NOT AVAILABLE

lapack_info:
  NOT AVAILABLE

lapack_src_info:
  NOT AVAILABLE

x11_info:
  FOUND:
    libraries = ['X11']
    library_dirs = ['/usr/X11R6/lib']
    include_dirs = ['/usr/X11R6/include']

     python scipy_distutils/command/build_flib.py
[localhost:~/Desktop/SciPy-0.2.0_alpha_105.3698] gavin% python
scipy_distutils/command/build_flib.py
command: f77 -V -c /tmp/__dummy.f -o /tmp/__dummy.o
256 zsh: command not found: f77
command: f77 -version
256 zsh: command not found: f77
command: f90 -V
256 zsh: command not found: f90
command: ifc -FI -V -c /tmp/__dummy.f -o /tmp/__dummy.o
256 zsh: command not found: ifc
command: efc -FI -V -c /tmp/__dummy.f -o /tmp/__dummy.o
256 zsh: command not found: efc
command: f95 -V 
256 zsh: command not found: f95
command: fort -V 
256 zsh: command not found: fort
command: DF /what 
0 DF: /what: No such file or directory
command: g77 --version
0 GNU Fortran (GCC 3.1 20020420 (prerelease)) 3.1 20020420 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.
command: vf90 -v 
256 zsh: command not found: vf90
command: f90 +version
256 zsh: command not found: f90
command: g77 --version
0 GNU Fortran (GCC 3.1 20020420 (prerelease)) 3.1 20020420 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.
command: F -V 
256 zsh: command not found: F
command: g77 --version
0 GNU Fortran (GCC 3.1 20020420 (prerelease)) 3.1 20020420 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.
Gnu (GCC




More information about the SciPy-user mailing list