At 2:30 PM +0200 5/24/05, Martin Costabel wrote:
Sarah Stockwell wrote:
[]
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.

If you had used "gcc_select 3.3" instead, you would probably have succeeded. But the problem is elsewhere:
[]
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

The linking to libcc_dynamic is no longer needed with Fink's recent g77, and it leads indeed to an error when used with gcc-4.0, because this library no longer exists (when you do the switch to gcc-3.3 using gcc_select, it is resurrected, and it disappears again when you gcc_select 4.0). Apparently the scipy-py23 package is not yet completely fixed for gcc-4.0.

That makes sense -- thanks! I did "gcc_select 3.3" and the install worked. I'll keep an eye out for an update and reinstall with gcc 4.0 when the package gets fixed. Do you expect that this library would cause problems in the meantime?

Thanks,

--Sarah


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to