Re: [Numpy-discussion] Can' compile numpy 1.02rc3 on OSX 10.3.9

2006-11-02 Thread Markus Rosenstihl
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=lnkkid=120709bid=263057dat=121642
 ___
 Numpy-discussion mailing list
 Numpy-discussion@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/numpy-discussion


-
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=lnkkid=120709bid=263057dat=121642
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] Can' compile numpy 1.02rc3 on OSX 10.3.9

2006-10-20 Thread Markus Rosenstihl

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

[Numpy-discussion] Can' compile numpy 1.02rc3 on OSX 10.3.9

2006-10-19 Thread 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


smime.p7s
Description: S/MIME cryptographic signature
-
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=lnkkid=120709bid=263057dat=121642___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


[Numpy-discussion] Can' compile numpy 1.02rc3 on OSX 10.3.9

2006-10-19 Thread 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=lnkkid=120709bid=263057dat=121642
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


[Numpy-discussion] Can' compile numpy 1.02rc3 on OSX 10.3.9

2006-10-19 Thread 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.

-
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=lnkkid=120709bid=263057dat=121642
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion