[Gdal-dev] Re: undefined python objects
alexamici at fastwebnet.it
Sat Jan 31 05:19:18 EST 2004
sorry for being that much late in the discussion. hope it is still
On Wednesday 03 December 2003 16:51, Sean Fulton wrote:
> > On Dec 1, 2003, at 4:11 PM, Sean Fulton wrote:
> >>> I am trying to compile GDAL on OSX with python support, but I get
> >>> the following errors on building:
> >>> <SNIP>
> >>> The only advice I have seen so far is to compile without python
> >>> support, but thats not really a solution. Python support is the only
> >>> reason I am looking to use GDAL.
> >>> Thanks in advance,
> >> Chris,
> Good luck. I'll give it a try once I get a Dev CD and see if we can't
> beat Panther into submission.
the build of the gdal python module has always been fragile, and it has became
a real hack since the libtool transition (my fault, admittedly). IMHO the
only hope to get out of the current mess is to use the distutils
infrastructure, that hopefully will take care of the OSX problem as well.
so i refreshed what looked like an abandoned setup.py in the top directory.
current gdal cvs builds and installs fine on linux with:
$ python setup.py build
$ python setup.py install
it wuold be very helpfull if you could test it on OSX and report the results.
Frank, if the distutils build of the python module fixes a real problem, i'll
try to set up a more polished patch, and we may think to port all
architecture to it.
More information about the Gdal-dev