Opened 10 years ago

Closed 10 years ago

#5435 closed defect (wontfix)

With --without-libtool gdal 1.9.2-1.10.1 doesn't compile with mingw

Reported by: d2tran Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: svn-trunk
Severity: normal Keywords: without-libtool
Cc:

Description

my configure flags:

HOST=i686-w64-mingw32
WORKSPACE=$PWD/workspace
export PATH=$WORKSPACE/bin:$WORKSPACE/lib:$PATH
./configure --prefix=$WORKSPACE --enable-shared=yes --enable-static=no --without-grass --with-python=no --with-xerces=no --with-jasper=no --with-mrsid=no --with-mrsid_lidar=no --with-ecw=no --with-libz=internal --with-png=internal --with-libtiff=internal --with-geotiff=internal --with-jpeg=internal --with-gif=internal --with-pcraster=internal --with-threads --enable-fast-install --with-curl=$WORKSPACE --with-expat=$WORKSPACE --with-static-proj4=$WORKSPACE --with-geos=$WORKSPACE/bin/geos-config --with-freexl=$WORKSPACE --with-sqlite3=$WORKSPACE --with-spatialite=$WORKSPACE --with-pg=$WORKSPACE/bin/pg_config --host=$HOST --build=$HOST --with-odbc

I compile gdal in mingw32 (www.mingw.org) and mingw-builds (x32-4.8.1-release-posix-dwarf-rev5 and msys+7za+wget+svn+git+mercurial+cvs-rev13). Configure and make --without-libtool has ERRORS.

mingw32 shows:

/bin/sh: /mingw/bin/ar: Bad file number
make[1]: *** [/home/David/gdal-1.10.1/libgdal.a] Error 126
make[1]: Leaving directory `/home/David/gdal-1.10.1'
make: *** [check-lib] Error 2

Change History (5)

comment:1 by d2tran, 10 years ago

Version: svn-trunk1.10.1

comment:2 by d2tran, 10 years ago

Version: 1.10.1svn-trunk

comment:3 by Even Rouault, 10 years ago

I'm not sure we want to support non-libtool mingw builds...

comment:4 by d2tran, 10 years ago

Cc: gdal-dev@… removed

comment:5 by Even Rouault, 10 years ago

Milestone: 1.11.0
Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.