[Ubuntu] ubuntu configure options for gdal

Alex Mandel tech_dev at wildintellect.com
Wed Apr 17 11:56:05 PDT 2013


On 04/17/2013 11:39 AM, Jason Paul Joines wrote:
> -------- Original Message --------
> Subject: Re: ubuntu configure options for gdal
> From: Alex Mandel
> <tech_dev-V1ui0Jp4Xm2ZwHVy+eqOOgC/G2K4zDHf at public.gmane.org>
> To: Jason Paul Joines <jason-PTE4jOe1oXodnm+yROfE0A at public.gmane.org>
> CC: UbuntuGIS Users <ubuntu-qjLDD68F18NyQMAyxoHuMA at public.gmane.org>
> Date: 2013.04.17.Wed.14:24:49
>> 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-/E1597aS9LQAvxtiuMwx3w at public.gmane.org>
>>> To: Jason Paul Joines
>>> <jason-PTE4jOe1oXodnm+yROfE0A at public.gmane.org>, Katie Urey
>>> <ksurey-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
>>> CC: UbuntuGIS Users <ubuntu-qjLDD68F18NyQMAyxoHuMA at public.gmane.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
>>
>
>
>      Nope, those directions no longer work.  The package
> libgdal-mrsid-src is not available for 12.04.  Also, the available
> lizardtech SDK is now MrSID_DSDK-8.5.0.3422-linux.x86-64.gcc44 which
> seems to be a lot newer than the SDK referenced in that tutorial.
>
>
> Jason
> ===========
>

Yes, I know the package isn't available, but what I'm saying is that 
package is just a bash script, nothing else. If you look at the source 
from a previous version you can do the same steps by hand.

Also here is Ragi's Fabric script for filegdb, no idea if it works on 
12.04 (Ragi said it worked last year), but it can be deciphered into how 
to do it by hand.
https://gist.github.com/RBURHUM/2955440

Thanks,
Alex


More information about the Ubuntu mailing list