fink python26 and numpy 1.2.1
Not sure if this is an issue with numpy or an issue with fink python 2.6, but when trying to build numpy, I get the following error: gcc -L/sw/lib -bundle /sw/lib/python2.6/config -lpython2.6 build/ temp.macosx-10.5-i386-2.6/numpy/core/src/multiarraymodule.o -o build/ lib.macosx-10.5-i386-2.6/numpy/core/multiarray.so ld: library not found for -lpython2.6 collect2: ld returned 1 exit status ld: library not found for -lpython2.6 collect2: ld returned 1 exit status error: Command "gcc -L/sw/lib -bundle /sw/lib/python2.6/config - lpython2.6 build/temp.macosx-10.5-i386-2.6/numpy/core/src/ multiarraymodule.o -o build/lib.macosx-10.5-i386-2.6/numpy/core/ multiarray.so" failed with exit status 1 -gideon
Gideon Simpson wrote:
Not sure if this is an issue with numpy or an issue with fink python 2.6, but when trying to build numpy, I get the following error:
Unfortunately numpy 1.2.x does not support Python 2.6. IIRC support is planned for numpy 1.3.
gcc -L/sw/lib -bundle /sw/lib/python2.6/config -lpython2.6 build/ temp.macosx-10.5-i386-2.6/numpy/core/src/multiarraymodule.o -o build/ lib.macosx-10.5-i386-2.6/numpy/core/multiarray.so ld: library not found for -lpython2.6 collect2: ld returned 1 exit status ld: library not found for -lpython2.6 collect2: ld returned 1 exit status error: Command "gcc -L/sw/lib -bundle /sw/lib/python2.6/config - lpython2.6 build/temp.macosx-10.5-i386-2.6/numpy/core/src/ multiarraymodule.o -o build/lib.macosx-10.5-i386-2.6/numpy/core/ multiarray.so" failed with exit status 1
-gideon
Cheers, Michael
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
Michael Abshoff wrote:
Unfortunately numpy 1.2.x does not support Python 2.6. IIRC support is planned for numpy 1.3.
Also it is true it is not supported, it should at least build on most if not all platforms where numpy used to run under python 2.5. Not finding -lpython2.6 is more likely a bug/installation problem from fink (unless you are ready to deal with multiple version problems of python, I would advice against using fink: it makes it difficult to be sure there are no conflict between system python, fink python and python.org python. It is not impossible, of course, but that complicates matters a lot in my own experience). cheers, David
The fink guys fixed a bug so it now at least builds properly with python 2.6. -gideon On Nov 3, 2008, at 1:35 AM, David Cournapeau wrote:
Michael Abshoff wrote:
Unfortunately numpy 1.2.x does not support Python 2.6. IIRC support is planned for numpy 1.3.
Also it is true it is not supported, it should at least build on most if not all platforms where numpy used to run under python 2.5.
Not finding -lpython2.6 is more likely a bug/installation problem from fink (unless you are ready to deal with multiple version problems of python, I would advice against using fink: it makes it difficult to be sure there are no conflict between system python, fink python and python.org python. It is not impossible, of course, but that complicates matters a lot in my own experience).
cheers,
David _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
participants (3)
-
David Cournapeau
-
Gideon Simpson
-
Michael Abshoff