From: Markus R. <mro...@ma...> - 2006-10-19 21:55:47
Attachments:
smime.p7s
|
Hi! I try to compile numpy rc3 on Panther and get following errors. (I start build with "python2.3 setup.py build" to be sure to use the python shipped with OS X. I din't manage to compile Python2.5 either yet with similar errors) Does anynbody has an Idea? gcc-3.3 XCode 1.5 November gcc updater is installed regards Markus python2.3 setup.py build ... compile options: '-Ibuild/src.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/src -Inumpy/core/include -Ibuild/src.darwin-7.9.0-Power_Macintosh-2.3/numpy/core -Inumpy/core/src -Inumpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/ python2.3 -c' gcc: numpy/core/src/multiarraymodule.c In file included from numpy/core/src/arrayobject.c:511, from numpy/core/src/multiarraymodule.c:63: numpy/core/src/arraytypes.inc.src: In function `LONGDOUBLE_scan': numpy/core/src/arraytypes.inc.src:883: warning: long double format, npy_longdouble arg (arg 3) gcc -Wl,-F. -Wl,-F. -bundle -framework Python build/temp.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/src/ multiarraymodule.o -o build/lib.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/multiarray.so ld: Undefined symbols: _fstatvfs referenced from Python expected to be defined in libSystem _lchown referenced from Python expected to be defined in libSystem _statvfs referenced from Python expected to be defined in libSystem ld: Undefined symbols: _fstatvfs referenced from Python expected to be defined in libSystem _lchown referenced from Python expected to be defined in libSystem _statvfs referenced from Python expected to be defined in libSystem error: Command "gcc -Wl,-F. -Wl,-F. -bundle -framework Python build/temp.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/src/ multiarraymodule.o -o build/lib.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/multiarray.so" failed with exit status 1 |
From: Markus R. <mar...@el...> - 2006-10-19 21:56:14
|
Hi! I try to compile numpy rc3 on Panther and get following errors. (I start build with "python2.3 setup.py build" to be sure to use the python shipped with OS X. I din't manage to compile Python2.5 either yet with similar errors) Does anynbody has an Idea? gcc-3.3 XCode 1.5 November gcc updater is installed regards Markus python2.3 setup.py build ... compile options: '-Ibuild/src.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/src -Inumpy/core/include -Ibuild/src.darwin-7.9.0-Power_Macintosh-2.3/numpy/core -Inumpy/core/src -Inumpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/ python2.3 -c' gcc: numpy/core/src/multiarraymodule.c In file included from numpy/core/src/arrayobject.c:511, from numpy/core/src/multiarraymodule.c:63: numpy/core/src/arraytypes.inc.src: In function `LONGDOUBLE_scan': numpy/core/src/arraytypes.inc.src:883: warning: long double format, npy_longdouble arg (arg 3) gcc -Wl,-F. -Wl,-F. -bundle -framework Python build/temp.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/src/ multiarraymodule.o -o build/lib.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/multiarray.so ld: Undefined symbols: _fstatvfs referenced from Python expected to be defined in libSystem _lchown referenced from Python expected to be defined in libSystem _statvfs referenced from Python expected to be defined in libSystem ld: Undefined symbols: _fstatvfs referenced from Python expected to be defined in libSystem _lchown referenced from Python expected to be defined in libSystem _statvfs referenced from Python expected to be defined in libSystem error: Command "gcc -Wl,-F. -Wl,-F. -bundle -framework Python build/temp.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/src/ multiarraymodule.o -o build/lib.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/multiarray.so" failed with exit status 1 |
From: Jay P. <pa...@gm...> - 2006-10-20 00:53:40
|
> Hi! > I try to compile numpy rc3 on Panther and get following errors. > (I start build with "python2.3 setup.py build" to be sure to use the > python shipped with OS X. I din't manage to compile Python2.5 either > yet with similar errors) > Does anynbody has an Idea? > gcc-3.3 > XCode 1.5 > November gcc updater is installed > I couldn't get numpy building with Python 2.5 on 10.3.9 (although I had different compile errors). The solution that ended up working for me was Python 2.4. There's a bug in the released version of Python 2.5 that's preventing it from working with numpy, should be fixed in the next release. You can find a .dmg for Python 2.4 here: http://pythonmac.org/packages/py24-fat/index.html Jay P. |
From: Markus R. <mar...@el...> - 2006-10-20 11:14:04
|
Am 20.10.2006 um 02:53 schrieb Jay Parlar: >> Hi! >> I try to compile numpy rc3 on Panther and get following errors. >> (I start build with "python2.3 setup.py build" to be sure to use the >> python shipped with OS X. I din't manage to compile Python2.5 either >> yet with similar errors) >> Does anynbody has an Idea? >> gcc-3.3 >> XCode 1.5 >> November gcc updater is installed >> > > I couldn't get numpy building with Python 2.5 on 10.3.9 (although I > had different compile errors). The solution that ended up working for > me was Python 2.4. There's a bug in the released version of Python 2.5 > that's preventing it from working with numpy, should be fixed in the > next release. > > You can find a .dmg for Python 2.4 here: > http://pythonmac.org/packages/py24-fat/index.html > > Jay P. > I have that installed already but i get some bus errors with that. Furthermore it is built with gcc4 and i need to compile an extra module(pytables) and I fear that will not work, hence I try to compile myself. Python 2.5 dosent't compile either (libSystemStubs is only on Tiger). The linking works when i remove the -lSystemStubs and it compiled clean. Numpy rc3 wass also compiling now with python 2.5, but the tests failed: Python 2.5 (r25:51908, Oct 20 2006, 11:40:08) [GCC 3.3 20030304 (Apple Computer, Inc. build 1671)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> numpy.test(10) Found 5 tests for numpy.distutils.misc_util Found 4 tests for numpy.lib.getlimits Found 31 tests for numpy.core.numerictypes Found 32 tests for numpy.linalg Found 13 tests for numpy.core.umath Found 4 tests for numpy.core.scalarmath Found 9 tests for numpy.lib.arraysetops Found 42 tests for numpy.lib.type_check Found 183 tests for numpy.core.multiarray Found 3 tests for numpy.fft.helper Found 36 tests for numpy.core.ma Found 1 tests for numpy.lib.ufunclike Found 12 tests for numpy.lib.twodim_base Found 10 tests for numpy.core.defmatrix Found 4 tests for numpy.ctypeslib Found 41 tests for numpy.lib.function_base Found 2 tests for numpy.lib.polynomial Found 8 tests for numpy.core.records Found 28 tests for numpy.core.numeric Found 4 tests for numpy.lib.index_tricks Found 47 tests for numpy.lib.shape_base Found 0 tests for __main__ ........................................................................ ................................Warning: invalid value encountered in divide ..Warning: invalid value encountered in divide ..Warning: divide by zero encountered in divide .Warning: divide by zero encountered in divide ..Warning: invalid value encountered in divide .Warning: divide by zero encountered in divide .Warning: divide by zero encountered in divide .Warning: divide by zero encountered in divide .Warning: divide by zero encountered in divide ..Warning: invalid value encountered in divide ..Warning: invalid value encountered in divide ..Warning: divide by zero encountered in divide .Warning: divide by zero encountered in divide .Warning: divide by zero encountered in divide .Warning: divide by zero encountered in divide ........Warning: invalid value encountered in divide .Warning: invalid value encountered in divide ..Warning: divide by zero encountered in divide ........................................................................ ..............................................Warning: overflow encountered in exp F....................................................................... ..........Warning: divide by zero encountered in divide Warning: divide by zero encountered in divide Warning: divide by zero encountered in divide Warning: divide by zero encountered in divide Warning: divide by zero encountered in divide Warning: divide by zero encountered in divide Warning: divide by zero encountered in divide Warning: divide by zero encountered in divide Warning: divide by zero encountered in divide .....................Warning: invalid value encountered in sqrt Warning: invalid value encountered in log Warning: invalid value encountered in log10 ..Warning: invalid value encountered in sqrt Warning: invalid value encountered in sqrt Warning: divide by zero encountered in log Warning: divide by zero encountered in log Warning: divide by zero encountered in log10 Warning: divide by zero encountered in log10 Warning: invalid value encountered in arcsin Warning: invalid value encountered in arcsin Warning: invalid value encountered in arccos Warning: invalid value encountered in arccos Warning: invalid value encountered in arccosh Warning: invalid value encountered in arccosh Warning: divide by zero encountered in arctanh Warning: divide by zero encountered in arctanh Warning: invalid value encountered in divide Warning: invalid value encountered in true_divide Warning: invalid value encountered in floor_divide Warning: invalid value encountered in remainder Warning: invalid value encountered in fmod ........................................................................ ........................................................................ ................. ====================================================================== FAIL: Ticket #112 ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- packages/numpy/core/tests/test_regression.py", line 219, in check_longfloat_repr assert(str(a)[1:9] == str(a[0])[:8]) AssertionError ---------------------------------------------------------------------- Ran 519 tests in 3.760s FAILED (failures=1) <unittest.TextTestRunner object at 0x1545f70> >>> regards Markus |
From: <mar...@el...> - 2006-10-24 14:54:17
|
> > Am 20.10.2006 um 02:53 schrieb Jay Parlar: > >>> Hi! >>> I try to compile numpy rc3 on Panther and get following errors. >>> (I start build with "python2.3 setup.py build" to be sure to use the >>> python shipped with OS X. I din't manage to compile Python2.5 either >>> yet with similar errors) >>> Does anynbody has an Idea? >>> gcc-3.3 >>> XCode 1.5 >>> November gcc updater is installed >>> >> >> I couldn't get numpy building with Python 2.5 on 10.3.9 (although I >> had different compile errors). The solution that ended up working for >> me was Python 2.4. There's a bug in the released version of Python 2.5 >> that's preventing it from working with numpy, should be fixed in the >> next release. >> >> You can find a .dmg for Python 2.4 here: >> http://pythonmac.org/packages/py24-fat/index.html >> >> Jay P. >> > > > I have that installed already but i get some bus errors with that. > Furthermore it is built with gcc4 > and i need to compile an extra module(pytables) and I fear that will > not work, hence I try to compile myself. Python 2.5 dosent't compile > either (libSystemStubs is only on Tiger). I have now everything compileing nicely: Python 2.5 (removed the -llibSystemStubs from the Makefile) the BusError when using iPython was still present; the reason is an unpatched readline 5.1. This problem was solved by libreadline-5.2. numpy rc3 compiled, too but numpy.test() still fails with them same error (see previous post) regards Markus |
From: Markus R. <mar...@el...> - 2006-11-02 15:13:53
|
Hi! This, and similar problems with other programs were fixed when I installed 10.4 SDK from Apple Developer Conenction. Yes, the 10.4 SDK can be installed on 10.3.9. Regards Markus Am 19.10.2006 um 23:56 schrieb Markus Rosenstihl: > Hi! > I try to compile numpy rc3 on Panther and get following errors. > (I start build with "python2.3 setup.py build" to be sure to use the > python shipped with OS X. I din't manage to compile Python2.5 either > yet with similar errors) > Does anynbody has an Idea? > gcc-3.3 > XCode 1.5 > November gcc updater is installed > > > regards > > Markus > > python2.3 setup.py build > ... > compile options: > '-Ibuild/src.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/src > -Inumpy/core/include > -Ibuild/src.darwin-7.9.0-Power_Macintosh-2.3/numpy/core > -Inumpy/core/src -Inumpy/core/include > -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/ > python2.3 -c' > gcc: numpy/core/src/multiarraymodule.c > In file included from numpy/core/src/arrayobject.c:511, > from numpy/core/src/multiarraymodule.c:63: > numpy/core/src/arraytypes.inc.src: In function `LONGDOUBLE_scan': > numpy/core/src/arraytypes.inc.src:883: warning: long double format, > npy_longdouble arg (arg 3) > gcc -Wl,-F. -Wl,-F. -bundle -framework Python > build/temp.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/src/ > multiarraymodule.o -o > build/lib.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/multiarray.so > ld: Undefined symbols: > _fstatvfs referenced from Python expected to be defined in libSystem > _lchown referenced from Python expected to be defined in libSystem > _statvfs referenced from Python expected to be defined in libSystem > ld: Undefined symbols: > _fstatvfs referenced from Python expected to be defined in libSystem > _lchown referenced from Python expected to be defined in libSystem > _statvfs referenced from Python expected to be defined in libSystem > error: Command "gcc -Wl,-F. -Wl,-F. -bundle -framework Python > build/temp.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/src/ > multiarraymodule.o -o > build/lib.darwin-7.9.0-Power_Macintosh-2.3/numpy/core/multiarray.so" > failed with exit status 1 > > > ----------------------------------------------------------------------- > -- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion |