[gdal-dev] gdal-2.4.3 build dies at libiso8211.a

sean darcy seandarcy2 at gmail.com
Fri Dec 13 07:30:03 PST 2019


On 12/13/19 4:50 AM, Even Rouault wrote:
> On jeudi 12 décembre 2019 22:37:32 CET Sean Darcy wrote:
>> Building gdal-2.4.3 on Fedora 31, gcc-9.2.1. This happens even though
>> configure has --disable-static, which is recognized:
>>
>> checking whether to build shared libraries... yes
>> checking whether to build static libraries... no
>>
>> Any suggestions appreciated.
> 
> You are doing a manual "make 8211dump" from frmts/iso8211, right ? Well, as
> this is mostly debug stuff not built by default, support for static builds
> might be broken. You may need to tweek the makefile.
> 
> Works at least for me for a shared + non-libtool build.
> 

I'm not doing a manual make 8211dump . This is a full ./configure make 
dance, with --disable-static:



+ ./configure --build=x86_64-redhat-linux-gnu 
--host=x86_64-redhat-linux-gnu --program-prefix= 
--disable-dependency-tracking --prefix=/usr --exec-prefix=/usr 
--bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include 
--libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var 
--sharedstatedir=/var/lib --mandir=/usr/share/man 
--infodir=/usr/share/info --disable-static 'LIBS=-lg2c_v1.6.0 -ltirpc' 
--with-autoload=/usr/lib64/gdalplugins --datadir=/usr/share/gdal/ 
--includedir=/usr/include/gdal/ --prefix=/usr --with-armadillo 
--with-curl --with-cfitsio=/usr --with-dods-root=/usr --with-expat 
--with-freexl --with-geos --with-geotiff=external --with-gif --with-gta 
--with-hdf4 --with-hdf5 --with-jasper --with-java --with-jpeg 
--with-libjson-c --without-jpeg12 --with-liblzma --with-libtiff=external 
--with-libz --without-mdb --without-msg --with-mysql --with-netcdf 
--with-odbc --with-ogdi --with-openjpeg --with-pcraster --with-pg 
--with-png --with-poppler --with-proj --with-spatialite --with-sqlite3 
--with-threads --with-webp --with-xerces --enable-shared --with-libkml
configure: WARNING: unrecognized options: --disable-dependency-tracking, 
--with-autoload
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for x86_64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
.............
+ make -j1 POPPLER_0_20_OR_LATER=yes POPPLER_0_23_OR_LATER=yes 
POPPLER_BASE_STREAM_HAS_TWO_ARGS=yes POPPLER_0_58_OR_LATER=yes
(cd port; make)
make[1]: Entering directory '/builddir/build/BUILD/gdal-2.4.2/port'
..........

How would I do a "non-libtool build" ?



More information about the gdal-dev mailing list