[Pythonmac-SIG] package manager.

2005-02-22 Thread Kim Branson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

HI all,
this is probably a question that has been answered on the wiki, but i  
can't seem to find it.
I decided to try and upgrade my version of Numeric (currently 23.1)  
(building the latest Biopython was causing errors) but the  
packagmanager gives me a 404 errror  opening  
http://www.python.org/packman/version-0.3/darwin-7.80- 
Power_Macintosh.plist.

I've tried the official unofficial database, but when i attempt to  
upgrade numeric I get told that there is no package for apple installed  
python 2.3 download manually.  I thought all macpython used apples  
python now?

ealier in the night i tried to install a few packages, like reportlab,  
and the packager appeared to die half way through. I was letting me  
download packages, but have i corrupted its database?

Can i repair this, or should I attempt to build all these packages by  
hand. If so can anyone resolve the errors in building i have below?

cheers
Kim
Building numeric 23.7 from the source dies,
building 'lapack_lite' extension
gcc -Wl,-F. -Wl,-F. -bundle -framework Python  
build/temp.darwin-7.8.0-Power_Macintosh-2.3/Src/lapack_litemodule.o  
- -L/usr/lib/atlas -llapack -lcblas -lf77blas -latlas -lg2c -o  
build/lib.darwin-7.8.0-Power_Macintosh-2.3/lapack_lite.so -framework  
vecLib
ld: warning -L: directory name (/usr/lib/atlas) does not exist
ld: can't locate file for: -llapack
error: command 'gcc' failed with exit status 1

Building Biopython1.40b
fails with
Bio/Cluster/clustermodule.c:2:33: Numeric/arrayobject.h: No such file  
or directory
Bio/Cluster/clustermodule.c:20: error: parse error before  
"PyArrayObject"


Bio/Cluster/clustermodule.c:2:33: Numeric/arrayobject.h: No such file  
or directory
Bio/Cluster/clustermodule.c:20: error: parse error before  
"PyArrayObject"


Dr Kim Branson
Peter Doherty Fellow
Protein Structure and Function
St Vincents Institute for Medical Research
41 Victoria Parade, Fitzroy
Victoria 3065, Australia.
Phone: +613 9288 2480
Fax: +613 94162 676
Ph +613 9662 7136
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.svi.edu.au
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCG7qter2hmGbHcokRAnuQAJ4uXdKQRdl7QbE4Q9MhjqdQ9XPUnACgpk7Q
iTG4ghKd1x3jBERpACax8DI=
=j37O
-END PGP SIGNATURE-
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[Pythonmac-SIG] numarray 1.5.2 compilation 10.4 ppc

2007-01-29 Thread Kim Branson

Hi,

i'm trying to build numarray 1.5.2 for 10.4 on a ppc machine, using  
gcc 4.0.

i get the following errors:

this machine does not have the MacOSX10.4u sdk.   it has xcode 2.1  
installed.
there are a few versions of limits in

/usr/include/i386/limits.h
/usr/include/i386/_limits.h
/usr/include/limits.h
/usr/include/machine/limits.h
/usr/include/machine/_limits.h
/usr/include/ppc/limits.h
/usr/include/ppc/_limits.h
/usr/include/sys/syslimits.h
/usr/lib/gcc/i686-apple-darwin8/4.0.0/include/limits.h

should i try to get setup.py to use these?

cheers

Kim

 >python setup.py  build
Using EXTRA_COMPILE_ARGS = ['-Ddarwin']
Using external BLAS and LAPACK
running config
Wrote config.h
running build
running build_py
copying Lib/numinclude.py -> build/lib.macosx-10.3-fat-2.4/numarray
running build_ext
building 'numarray._conv' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd - 
fno-common -dynamic -DNDEBUG -g -O3 -IInclude/numarray -I/Library/ 
Frameworks/Python.framework/Versions/2.4/include/python2.4 -c Src/ 
_convmodule.c -o build/temp.macosx-10.3-fat-2.4/Src/_convmodule.o - 
Ddarwin
In file included from Src/_convmodule.c:13:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:18:20: error: limits.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:21:2: error: #error "Something's broken.  UCHAR_MAX should  
be defined in limits.h."
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:25:2: error: #error "Python's source code assumes C's  
unsigned char is an 8-bit type."

..etc..
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig