Olivier:

It looks to me like cc is getting confused by the space in directory name
(build/lib.darwin-5.3-Power Macintosh-2.2/Scientific/darwin).  I came
across a similar problem with the scipy package, and ended up patching
python so that the temporary build directory is has "PowerMacintosh" in it
instead of "Power Macintosh".  If you do a fink selfupdate-cvs and install
python-2.2-8 from unstable, you should be OK.

This must have started with 10.1.3, I know I've installed scientific
python before without this happening.

-Jeff

 On Thu, 7 Mar 2002, Olivier Dhez wrote:

> I got an error when I try to rebuild ScientificPython
> Anybody can help me
> There is the error:
> running build_ext
> building 'Scientific_netcdf' extension
> creating build/temp.darwin-5.3-Power Macintosh-2.2
> cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp
> -IInclude -I/sw/include -I/sw/include/python2.2 -c
> Src/Scientific_netcdf.c -o build/temp.darwin-5.3-Power
> Macintosh-2.2/Scientific_netcdf.o
> Src/Scientific_netcdf.c: In function `PyNetCDFVariable_WriteArray':
> Src/Scientific_netcdf.c:1397: warning: `lastloop' might be used
> uninitialized in this function
> creating build/lib.darwin-5.3-Power Macintosh-2.2/Scientific/darwin
> cc -L/sw/lib -bundle -flat_namespace -undefined suppress
> build/temp.darwin-5.3-Power Macintosh-2.2/Scientific_netcdf.o
> -L/sw/lib -lnetcdf -o build/lib.darwin-5.3-Power
> Macintosh-2.2/Scientific/darwin/Scientific_netcdf.so
> /usr/bin/ld: can't locate file for: -lbundle1.o
> error: command 'cc' failed with exit status 1
> ### pythonx failed, exit code 1
> Failed: compiling scientificpython-2.2-5 failed
>
> Thanks
> Olivier
>
>

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/CDC  R/CDC1        Email  : [EMAIL PROTECTED]
325 Broadway                Web    : www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80303-3328 Office : Skaggs Research Cntr 1D-124


_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to