[Gdal-dev] 1.4.3 build and NG bindings

William Kyngesburye woklist at kyngchaos.com
Mon Oct 29 13:27:50 EDT 2007


Either new or old python options should correctly find the Python 2.5  
framework.  But I think Python needs to be in your PATH.  This is  
correctly set when you install the Python framework, and there is also  
an option to put symlinks in /usr/local/bin.

If you have another Python somewhere earlier in your PATH, this will  
be found instead.


PS. a warning for Leopard users: Leopard includes python 2.5, properly  
universal and 32+64bit (ie 4-arch), so you probably shouldn't install  
the Tiger Python 2.5 framework on Leopard.  But also, that means that  
python on leopard will try to build all 4 archs by default (for the  
ngpython bindings).

On Oct 29, 2007, at 11:49 AM, Brian Hamlin wrote:

> Hi All-
>
>  I am still getting used to the details of GDAL/OGR. I found the  
> output of the configure script to be a little confusing regarding  
> NG, or Next Gen bindings and building. Howard Butler clarified it  
> pretty well, so I am repeating that here. I hope this helps others  
> with this build.
>
>  NG Bindings, or Next Gen, means SWIG. So if you are using a SWIG  
> binding in any language, that is NG.   -  Originally there was  
> python only, in a directory called pymod, and that alone is not NG.  
> With 1.4.3 you can still specifiy the pymod python interface.
>
>  --with-python  => pymod interfaces
>  --without-python  --with-ngpython  =>  SWIG python, these are the  
> preferred interfaces in the future
>
>  On the Macintosh, I have a new Framework python installed, version  
> 2.5.x. Configure will not find that. You can tell configure to put  
> your python support files in the framework python on the Mac. It  
> seems to be this
>
>  --with-pymoddir=/Library/Frameworks/Python.framework/Versions/ 
> Current/
>
> hth
>  -Brian
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Those people who most want to rule people are, ipso-facto, those  
least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy





More information about the Gdal-dev mailing list