[Gdal-dev] Instructions for Cygwin compile of GDAL

Roger André randre at gmail.com
Fri Apr 13 18:30:52 EDT 2007


Sorry, didn't work.  See results below.

Roger at obelix /cygdrive/c/gdal/gdal-1.4.1
$ ./configure --disable-shared; make; make install  <====== ok

Roger at obelix /cygdrive/c/gdal/gdal-1.4.1
$ which gdalinfo
/usr/local/bin/gdalinfo                                           <====== ok

Roger at obelix /cygdrive/c/gdal/gdal-1.4.1
$ python
Python 2.5 (r25:51908, Mar 13 2007, 08:13:14)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gdal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/gdal.py", line 191, in <module>
    import _gdal
ImportError: No module named _gdal                  <======== Boom!
>>>



On 4/13/07, Norman Vine <nhv at cape.com> wrote:
>
> Alessandro Amici writes:
> >
> > Norman,
> >
> > On Friday 13 April 2007 01:44, Norman Vine wrote:
> > > Shouldn't have to change anything
> > >
> > > To check I just did a fresh Cygwin install and
> > >
> > > ./configure --with-libtool=no; make; make install
> > >
> > >   < might work with libtool I don't know I just can't stand the
> > >     glacially slow Cygwin compiles with libtool >
> >
> > in order to avoid the double compile with libtool you may use
> > the '--disable-static' (tested on unix/linux) or
> > '--disable-shared' (maybe on cygwin, but not tested) options.
> >
> > this is not as fast as '--without-libtool', but much, much closer.
> >
> > if you test it on cygwin (i don't have a cygwin install at
> > hand, currently), please report back how it goes.
>
> Alessandro
>
> Libtool's 'glacial pace' is due to the many levels of indirection
> that it forces.
>
> Cygwin is not Linux.  :-)
>
> Cheers
>
> Norman
>
>
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070413/649623f5/attachment.html


More information about the Gdal-dev mailing list