[FGS] GDAL, ECW Plugin...
dmorissette at mapgears.com
Tue Jul 3 12:21:46 EDT 2007
Frank Warmerdam wrote:
> Folks (well mostly Daniel),
> I have prepared a preliminary gdal_ecw package that builds the ecw driver
> as a plugin instead of linking it directly into GDAL. I have added this in
> CVS though it depends on at least one change in GDAL - building
> --without-libtool. Does anyone know of a problem with doing this?
I'm not aware of any problem. FGS was probably just using the default
since the beginning.
> Also, can anyone explain what this patch in fgs-dev/pkg_def/gdal/fgs_build
> is supposed to do?
> ## GDAL 1.2.5 : small fix to avoid compile error
> #if [ "$SRC_VERSION" = '1.2.5' -o "$SRC_VERSION" = '1.2.6' ] ; then
> echo "* Applying special patch for version 1.2.5 and +"
> TMP_FILE=`mktemp /tmp/FGS-gdal-XXXXXX`
> sed -e "s|with GDAL]))|with GDAL]),-L\$with_geotiff/lib)|g"
> configure.in > $TMP_FILE
> mv $TMP_FILE configure.in
> rm -f configure
> autoconf --force
> I'm not very comfortable with it rerunning autoconf, so I'd like to
> uncomment the if, restricting it to the 1.2.x versions of gdal. This
> bit of script highlights what I don't especially like about FGS.
> Agressive use of Bash shell scripting that makes stuff somewhat
> opaque (to me).
How'bout flushing this completely? GDAL 1.2.x is quite old and I think
it would be okay to support only 1.3 and up in the next FGS release.
(Assuming they work without the patch)
I think the patch has caused me some problems in the past on some
systems (I forget the details) so I'd be happy to see it go away.
> I also ran into problems with the gdal package picking up extra stuff
> on my local system. So I'd like to add:
> and, perhaps optionally,
Works for me.
More information about the Foss-gis-suite