[Pythonmac-SIG] SciPy compile issue...

Byron Amerson byronea at u.washington.edu
Fri Nov 14 22:44:15 EST 2003


All right, I figured I'd keep things over here for a minute.

To answer your questions Bob:

[Tectonic:~] byron% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

[Tectonic:~] byron% g77 --version
GNU Fortran (GCC) 3.4 20031015 (experimental)
Copyright (C) 2002 Free Software Foundation, Inc.

So after reading the SciPy list and seeing that other fellow's issue - it
looks like a I may have an ugly fink-ism, I remember noticing gcc3.4 being
installed awhile back when I added some package via fink.

How do I selectively disable gcc3.4?



Byron Amerson
MS student
University of Washington
Department of Earth and Space Sciences

On Fri, 14 Nov 2003, Bob Ippolito wrote:

> On Nov 14, 2003, at 12:21 PM, Byron Amerson wrote:
>
> > OK, I know this is not directly MacPython related but the SciPy
> > mail-list
> > daemon is not working...and this is python related :]
> >
> > If anyone has any insight it would be much appreciated -
> >
> > the following error comes up when attempting to install SciPy on my
> > imac
> > running 10.3, with the environment variable: setenv ATLAS /sw/lib (a
> > few
> > lines of output from above the error message included)
> >
> > getctype: No C-type found in "{'attrspec': ['external']}", assuming
> > void.
> > getctype: No C-type found in "{'attrspec': ['external']}", assuming
> > void.
> > getctype: No C-type found in "{'attrspec': ['external']}", assuming
> > void.
> >                   omega =
> > init_convolution_kernel(n,kernel_func,[d,zero_nyquist,kernel_func_extra
> > _args])
> >                 Constructing wrapper function
> > "destroy_convolve_cache"...
> >                   destroy_convolve_cache()
> >                 Constructing wrapper function "convolve"...
> >                   y = convolve(x,omega,[swap_real_imag,overwrite_x])
> >                 Constructing wrapper function "convolve_z"...
> >                   y = convolve_z(x,omega_real,omega_imag,[overwrite_x])
> >         Wrote C/API module "convolve" to file
> > "build/temp.darwin-7.0.0-Power_Macintosh-2.3/convolvemodule.c"
> > running build_flib
> > f771: error: unrecognized command line option "-arch"
> > f771: fatal error: can't open ppc: No such file or directory
> > compilation terminated.
> > error: failure during compile (exit status = 256)
>
> from __disclaimer__ import i_dont_know_fortran_very_well
>
> Which fortran compiler is that?  It looks like it's passing g77 options
> to a non-g77 compiler?  I've been planning on getting a Panther build
> of scipy out sometime soon, but I too have had some fortran issues in
> naive attempts, I haven't put any serious time into it.  I'd like to
> this weekend, but I've got other commitments so I doubt I'll have a lot
> of MacPython time to spare.
>
> -bob



More information about the Pythonmac-SIG mailing list