[Ubuntu] ubuntu configure options for gdal
Hamish
hamish_b at yahoo.com
Tue Apr 16 22:31:28 PDT 2013
Hi,
Jason wrote:
> I'm trying to rebuild gdal to get mrsid and filegdb support
> in GRASS and QGIS on Kubuntu 12.04.2.
note you don't actually have to rebuild gdal for that, at
least mrsid can be installed as a plugin.
(same with many license-problematic format filters which can't
be built in by default)
perhaps you just need the libgdal1-dev package installed to
build plugins? (idealy)
I notice that libgdal-mrsid isn't prebuilt for Precise/12.04:
https://launchpad.net/~ubuntugis/+archive/ppa/
https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable
you can get the build rules and re-run "debuild" to make your
own package though. Once you get it set up and figured out it's
a very simple one liner to build your own packages.
https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable/+sourcepub/2354547/+listing-archive-extra
> I'm using the ubuntugis-unstable and ubuntugis-testing
> repositories. I'd like to build the gdal packages the
> same way as the build in the repositories was built but
> with mrsid and filegdb support as well. How can I tell
> what options were passed to configure to build the gdal
> packages hosted there?
for rebuilding all of the gdal packages with some slight
modifications, what I'd do is get the DebianGIS packaging
rules and rebuild from there (perhaps with slight mod-
ifications as needed).
go to http://wiki.debian.org/DebianGis and scroll down to
the git repo.
you can use the instructions here, they'll work just as well
for GDAL as they do for rebuilding the GRASS packages:
http://trac.osgeo.org/grass/browser/grass/trunk/debian/README.debian
just swap the names around.
there are many ways to do it... that's just one!
good luck,
Hamish
More information about the Ubuntu
mailing list