<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>untested: If not already done, "apt install libgeotiff-dev" and
drop the --with-geotiff switch<br>
</p>
<div class="moz-cite-prefix">Le 20/09/2021 à 21:44, Craig Leat a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAAPVWe5HC0Gpve-CNdXmUXTNyxmXoQzpQROKt9wY7LFEzO4smg@mail.gmail.com">
<div dir="ltr">
<div><span>Hi,</span></div>
<div><span><br>
</span></div>
<div><span>I have gdal-3.0.4 installed on ubuntu 20.04. I
require support for mrsid format.</span></div>
<div><span>I wish to build the mrsid driver plugin only and
hopefully avoid building gdal.</span></div>
<div><span><br>
</span></div>
<div><span>I tried:</span></div>
<div><span>$ cd src/gdal-3.0.4+dfsg/frmts/mrsid/pkg</span></div>
<div><span>$ ./configure --with-gdal=/usr/bin/gdal-config
--with-mrsid=/opt/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK
--with-jp2mrsid=no --with-geotiff=../../gtiff/libgeotiff</span></div>
<div><span>...</span></div>
<div><span>checking for lt_base.h in
/opt/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK/include...
found MrSID DSDK version 7.x or newer.<br>
checking for MG3ImageWriter.h in
/opt/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK/include/mrsid_writers...
no encoding support.<br>
checking for MrSID JPEG2000 support... disabled<br>
checking for XTIFFClientOpen in -lgeotiff... no<br>
checking for XTIFFClientOpen in -lgeotiff... (cached) no<br>
configure: error: libgeotiff is required to build GDAL MrSID
driver</span></div>
<div><span><br>
</span></div>
<div><span>Should this work?<br>
</span></div>
<div><span><br>
</span></div>
<div><span><br>
</span></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>