Re: [Pythonmac-SIG] building extension problems on OS X python 2.5.1

2007-05-07 Thread Christopher Barker
James Boyle wrote: > Thanks a lot for the help. Your suggestion (2) was the one I finally > used to get a build. > As you indicate option (1) was probably the most useful, but in the > press of time to get something done, this had to be put off until I > have more time. fair enough. Could yo

Re: [Pythonmac-SIG] building extension problems on OS X python 2.5.1

2007-05-04 Thread James Boyle
Thanks for the help. Using your advice I augmented the Extension definitions in the setup.py of pynetcdf and it worked OK. BUT when I tried to modify a more complex installation (cdat_lite-4.1.2-0.2.2). I got the same problem as before. cdat-lite has a tree 3 layers deep and 8 setup.py files

Re: [Pythonmac-SIG] building extension problems on OS X python 2.5.1

2007-05-04 Thread Ronald Oussoren
On 4 May, 2007, at 18:11, James Boyle wrote: INTEL Mac OS X 10.4.9 Macpython 2.5.1 I am having trouble building extensions onto my MacPython 2.5.1. The error for pynetcdf 0.7 is given below but I have had the same error on two other packages. It appears that the builds attempt to make a uni

Re: [Pythonmac-SIG] building extension problems on OS X python 2.5.1

2007-05-04 Thread William Kyngesburye
On May 4, 2007, at 12:47 PM, Christopher Barker wrote: > William Kyngesburye wrote: >> Getting HDF5 to build universal from configure-make is very messy, >> though there is one trick that can make it very easy. > > Do tell! > The easy part is using this trick: http://www.macosxhints.com/article.p

Re: [Pythonmac-SIG] building extension problems on OS X python 2.5.1

2007-05-04 Thread Christopher Barker
William Kyngesburye wrote: > Getting HDF5 to build universal from configure-make is very messy, > though there is one trick that can make it very easy. Do tell! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600

Re: [Pythonmac-SIG] building extension problems on OS X python 2.5.1

2007-05-04 Thread William Kyngesburye
I have built NetCDF and HDF5 (and HDF4) universal. Currently they're built statically into my GDAL framework (which has python interface, BTW). I have Xcode projects for these (though they're integrated with my GDAL Xcode project), but I used to do them as configure-make- install builds.

Re: [Pythonmac-SIG] building extension problems on OS X python 2.5.1

2007-05-04 Thread Christopher Barker
James Boyle wrote: > It appears that the builds attempt to make a universal binary by > default and attempt to link to a library that I have built as i386 > only. Yes, that does appear to be your problem. The whole point of distutils is to make it easy to build extensions that match the Pyt

[Pythonmac-SIG] building extension problems on OS X python 2.5.1

2007-05-04 Thread James Boyle
INTEL Mac OS X 10.4.9 Macpython 2.5.1 I am having trouble building extensions onto my MacPython 2.5.1. The error for pynetcdf 0.7 is given below but I have had the same error on two other packages. It appears that the builds attempt to make a universal binary by default and attempt to link