[Gdal-dev] Python modules fail to compile on MAC OS X
zak-ms at hoppsan.org
Sat Sep 25 19:01:31 EDT 2004
On OS X 10.3.5 with the supplied Python 2.3, os.name returns "posix".
In any case, I think what the patch is trying to do is erroneous. The
libgdal dynamic library should have an extension of dylib
(corresponding to Mach-O dynamically linked shared library ppc) but the
python module needs to be a loadable module. The convention for these
'bundle' files is to use the .so extension corresponding to Mach-O
Please correct me if I'm wrong on this.
On Sep 25, 2004, at 4:06 AM, Alessandro Amici wrote:
> On Saturday 25 September 2004 01:07, Frank Warmerdam wrote:
>> I have applied the 3 patches you provide ... you wanted them all
> i could test the first and the third patches myself.
> i'm not sure that the second patch is actually of any use, because i
> know if the os.name variable classify OS X as "mac" or "posix". it is
> going to hurt anybody, anyhow.
> moreover, the setup.py script is not used during the standard build,
> it must
> be explicitly invoked as a work-around to build python support on OS X.
> Gdal-dev mailing list
> Gdal-dev at xserve.flids.com
More information about the Gdal-dev