On Aug 4, 2005, at 3:28 AM, Martin Costabel wrote:

Alexander Hansen wrote:

I have the following failure:
gcc: build/src/Lib/fftpack/convolvemodule.c
gcc -bundle -flat_namespace -undefined suppress -L/sw/lib build/ temp.darwin-8.2.0-Power_Macintosh-2.4/build/src/Lib/fftpack/ convolvemodule.o build/temp.darwin-8.2.0-Power_Macintosh-2.4/Lib/ fftpack/src/convolve.o build/temp.darwin-8.2.0-Power_Macintosh-2.4/ build/src/fortranobject.o -L/sw/lib -L/sw/lib/gcc/powerpc-apple- darwin7.8.0/3.4.3 -Lbuild/temp.darwin-8.2.0-Power_Macintosh-2.4 - ldfftpack -ldrfftw -ldfftw -lg2c -o build/lib.darwin-8.2.0- Power_Macintosh-2.4/scipy/fftpack/convolve.so ld: build/temp.darwin-8.2.0-Power_Macintosh-2.4/build/src/Lib/ fftpack/convolvemodule.o has external relocation entries in non- writable section (__TEXT,__text) for symbols:
restFP
saveFP


No reason to go all newbie-ish :-) and a) send html mail,

oops--Mail.app must have reset that preference when I upgraded from Panther and I forgot all about it.

b) not tell what compiler you are running.

That was defintely bad of me:

XCode 2.1 on 10.4.2.

My guess is that you did a "gcc_select 3.3" earlier and forgot about it.

Here's a transcript from earlier in the build:

...
patch -p1 </sw/fink/dists/unstable/main/finkinfo/sci/scipy-py.patch
patching file Lib/interpolate/fitpack.pyf
patching file Lib/stats/ranlib_all.c
patching file Lib/xplt/setup_xplt.py
patching file scipy_core/scipy_base/setup_scipy_base.py
patching file scipy_core/scipy_distutils/gnufcompiler.py
Default compiler has been set to:
gcc version 4.0.0 (Apple Computer, Inc. build 5026)
/sw/bin/python2.4 setup.py build
...

So I didn't do a gcc_select myself. On the other hand, since I was unexpectedly able to build rosegarden because configure found gcc3.3 rather than gcc4, there is apparently something strange on my system.


Maybe the package needs a GCC: field, not because it uses C++, but because it doesn't compile on gcc-3.3 any more. In the previous version there was the "-lcc_dynamic" flag that was introduced for exactly this kind of problem, but it was removed because libcc_dynamic doesn't exist for gcc-4.0. I don't think there is any way to make this kind of code compile with both gcc-3.3 and gcc-4.0.

--
Martin


Here's what I found that's suspicious:

/sw/var/lib/fink/path-prefix-g++-3.3 hansen$ ls -la
total 8
drwxr-xr-x    6 root     admin         204 Aug  1 15:50 .
drwxr-xr-x   12 root     admin         408 Aug  4 09:48 ..
lrwxr-xr-x    1 root     admin           3 Aug  1 15:50 c++ -> g++
lrwxr-xr-x    1 root     admin           3 Apr 25 15:22 ccc -> gcc
-rwxr-xr-x    1 root     admin         138 Aug  1 09:06 g++
-rwxr-xr-x    1 root     admin          28 Apr 25 15:22 gcc

The ccc and gcc entries are much older, and not in the dpkg database. I'll mvoe them out of the way and try again.



--
Alexander Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to