[Ubuntu] ubuntu configure options for gdal

Alex Mandel tech_dev at wildintellect.com
Wed Apr 17 11:24:49 PDT 2013


On 04/17/2013 11:07 AM, Jason Paul Joines wrote:
> -------- Original Message --------
> Subject: Re: [Ubuntu] ubuntu configure options for gdal
> From: Hamish <hamish_b at yahoo.com>
> To: Jason Paul Joines <jason at joines.org>, Katie Urey <ksurey at gmail.com>
> CC: UbuntuGIS Users <ubuntu at lists.osgeo.org>
> Date: 2013.04.17.Wed.1:31:28
>> 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
>>
>
>
> Thanks for the information. I'll read up on all of these options and
> give them a try.
>
> However, from what I can tell, no one has every been able to get mrsid
> and filegdb to work with Ubuntu 12.04. I've tried every guideline I
> could find online without success. Mostly, the information is outdated.
> There seem to be a lot of people in my situation who have tried
> everything without success and can't find out if anyone has ever been
> able to make it work.
>
> At this point I'm afraid GIS is going to be the end of my 13 years of
> exclusive open source use on my desktop.
>
>
> Jason
> ===========
>

So this method no longer works for Mrsid (I haven't tried since I 
upgraded but it was working prior to 12.04)?
http://trac.osgeo.org/ubuntugis/wiki/TutorialMrSid
If I recall correctly gdal-build-mrsid is actually just a helper script. 
So even if there isn't a package for the new ubuntu versions you can 
grab the files from an older one and poke at it.


I'll contact Ragi and Frank about the Filegdb driver since one of them 
is likely to have gotten it working.

Thanks,
Alex



More information about the Ubuntu mailing list