The "--with-python" options does the trick. Gonna have to try it from scratch with a fresh Cygwin install and GDAL source, but that seems to have done it.<br>--<br><br><div><span class="gmail_quote">On 4/13/07,
<b class="gmail_sendername">Roger André</b> <<a href="mailto:randre@gmail.com">randre@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The --with-python option is one I hadn't seen before.<br><br>I'll try it again, and with the --with-libtool=no option, since I'd like it to finish in the next 45 minutes.<br><br>Thanks,<br><br>Roger<br><span class="sg">
--<br><br>
<br></span><div><span class="q"><span class="gmail_quote">On 4/13/07, <b class="gmail_sendername">Norman Vine</b> <<a href="mailto:nhv@cape.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nhv@cape.com
</a>> wrote:</span></span><div><span class="e" id="q_111ed3bb3b1c742d_4"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Roger André writes:<br>><br>> Sorry, didn't work. See results below.<br><br>> Roger@obelix /cygdrive/c/gdal/gdal-1.4.1 $ ./configure --disable-shared;<br>make; make install<br>> Roger@obelix /cygdrive/c/gdal/gdal-
1.4.1 $ python Python 2.5 (r25:51908,<br>Mar 13 2007, 08:13:14) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd ><br>0.125)] on cygwin Type "help", "copyright", "credits" or "license" for more
<br>information.<br>> >>> import gdal<br>> Traceback (most recent call last):<br>> File "<stdin>", line 1, in <module><br>> File "/usr/lib/python2.5/site-packages/gdal.py", line 191, in <module>
<br>> import _gdal<br>> ImportError: No module named _gdal <======== Boom!<br>> >>><br><br>Hmm I believe my example was<br><br>./configure --with-libtool=no --with-python<br><br>
Note I installed Cygwin on a clean machine just to test<br>if GDAL still worked in Cygwin<br><br>Good Luck<br><br>Norman<br><br>$ python<br>Python 2.5 (r25:51908, Mar 13 2007, 08:13:14)<br>[GCC 3.4.4 (cygming special, gdc
0.12, using dmd 0.125)] on cygwin<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> import gdal<br>>>> gdal.__file__<br>'/usr/lib/python2.5/site-packages/gdal.pyc'
<br>>>> a = dir(gdal)<br>>>> a[:4]<br>['AllRegister', 'AutoCreateWarpedVRT', 'Band', 'CE_Debug']<br>>>><br><br><br>_______________________________________________
<br>Gdal-dev mailing list<br><a href="mailto:Gdal-dev@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Gdal-dev@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/gdal-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.maptools.org/mailman/listinfo/gdal-dev
</a><br></blockquote></span></div></div><br>
</blockquote></div><br>