On Sep 11, 2008, at 8:26 AM, Andrew Noble wrote:

I just tried returning to Xcode2.4.1 and fink0.8 without running selfupdate. This worked for me a few weeks ago. I was able to install python v2.4 packages without the need for gcc43.

Unfortunately, the installation I ran last night (it takes about six hours on an ~100k/s ethernet connection) did claim gcc43 as a dependency. Here's where the errors showed up:

----------------------

creating build/temp.darwin-8.11.0-Power_Macintosh-2.4/Lib/cluster
creating build/temp.darwin-8.11.0-Power_Macintosh-2.4/Lib/cluster/src
compile options: '-I/sw/lib/python2.4/site-packages/numpy/core/ include -I/sw/include/python2.4 -c'
c++: Lib/cluster/src/vq_wrap.cpp
Lib/cluster/src/vq_wrap.cpp: In function 'PyObject* ARGOUT_argout(char*, char*, int*, int)': Lib/cluster/src/vq_wrap.cpp:734: error: 'OWN_DATA' was not declared in this scope
Lib/cluster/src/vq_wrap.cpp: In function 'int char_to_size(char)':
Lib/cluster/src/vq_wrap.cpp:582: warning: control reaches end of non- void function
Lib/cluster/src/vq_wrap.cpp: In function 'int char_to_numtype(char)':
Lib/cluster/src/vq_wrap.cpp:590: warning: control reaches end of non- void function
Lib/cluster/src/vq_wrap.cpp: At global scope:
Lib/cluster/src/vq_wrap.cpp:147: warning: 'void* SWIG_TypeQuery(const char*)' defined but not used Lib/cluster/src/vq_wrap.cpp:301: warning: 'void SWIG_addvarlink(PyObject*, char*, PyObject* (*)(), int (*) (PyObject*))' defined but not used Lib/cluster/src/vq_wrap.cpp:315: warning: 'int SWIG_ConvertPtr(PyObject*, void**, swig_type_info*, int)' defined but not used Lib/cluster/src/vq_wrap.cpp:516: warning: 'PyObject* l_output_helper(PyObject*, PyObject*)' defined but not used Lib/cluster/src/vq_wrap.cpp: In function 'PyObject* ARGOUT_argout(char*, char*, int*, int)': Lib/cluster/src/vq_wrap.cpp:734: error: 'OWN_DATA' was not declared in this scope
Lib/cluster/src/vq_wrap.cpp: In function 'int char_to_size(char)':
Lib/cluster/src/vq_wrap.cpp:582: warning: control reaches end of non- void function
Lib/cluster/src/vq_wrap.cpp: In function 'int char_to_numtype(char)':
Lib/cluster/src/vq_wrap.cpp:590: warning: control reaches end of non- void function
Lib/cluster/src/vq_wrap.cpp: At global scope:
Lib/cluster/src/vq_wrap.cpp:147: warning: 'void* SWIG_TypeQuery(const char*)' defined but not used Lib/cluster/src/vq_wrap.cpp:301: warning: 'void SWIG_addvarlink(PyObject*, char*, PyObject* (*)(), int (*) (PyObject*))' defined but not used Lib/cluster/src/vq_wrap.cpp:315: warning: 'int SWIG_ConvertPtr(PyObject*, void**, swig_type_info*, int)' defined but not used Lib/cluster/src/vq_wrap.cpp:516: warning: 'PyObject* l_output_helper(PyObject*, PyObject*)' defined but not used error: Command "c++ -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -I/sw/include -I/sw/ lib/python2.4/site-packages/numpy/core/include -I/sw/include/ python2.4 -c Lib/cluster/src/vq_wrap.cpp -o build/temp.darwin-8.11.0- Power_Macintosh-2.4/Lib/cluster/src/vq_wrap.o" failed with exit status 1
### execution of /sw/bin/python2.4 failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-scipy-py24-0.4.6-1
(Reading database ... 18892 files and directories currently installed.)
Removing fink-buildlock-scipy-py24-0.4.6-1 ...


<snip>

If you could solve this for me, I would be most appreciative!

Thank you,
Andrew



I'm putting this back on the mailing list. This isn't *my* package, and so I don't know anything specific about it. (Furthermore, your current error has nothing to do with gcc43).

If I'm reading you correctly, you reverted back to Fink as installed from the 0.8.1 binary installer? It appears that you're now building a scipy-p24 that is two years old, and whose listed maintainer has left the project. That's going to be almost impossible to debug at this point. The current maintainer for scipy is concerned with the current version in Fink.

Reverting Xcode is almost never the right thing to do, since our developers tend to target the more recent versions. Also, if you didn't run the cleanup script to remove Xcode 2.5 before going to 2.4.1 you may have a hybrid of stuff from both.

I would use the removal script from Xcode2.5 to flush things out completely, install Xcode 2.5 again and then run a "fink selfupdate- rsync" to get current package descriptions. Then try building the current scipy-py24 (maybe update individual outdated packages don't necessarily do an update-all if you want to avoid building a new gcc43). If you have problems with the current version, then people will be able to see if they can duplicate your error, etc.

Or, if you want to try an unofficial binary distribution, run "sudo pico /sw/etc/apt/sources.list" and add the following line

deb http://fink.sodan.ecc.u-tokyo.ac.jp/apt/10.4 unstable main crypto

to the end of that file. Then run a "sudo apt-get update" to download those packages. At that point an "update-all" should entail much less building on your end (possibly none).

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to