So I just had some fun trying to get this to work - I thought I would share...and I have no clue if this should go to the GDAL list or what....but...

Warning - I stink at scripting complicated things. I do enjoy stupid vi tricks.

1. Installed libgdal_mrsid_src-1.9.0-2_oneiric on trusty.
2. I had a copy of the MrSid 8.5 DSDK - so I ran with that.
3. Tried - sudo gdal-build-mrsid $HOME/MrSID_DSDK-8.5.0.3422-linux.x86-64.gcc44 - didn't work. I think because I ultimately installed the wrong deb. BUT - I'm not enjoying launchpad like I should. 4. Downloaded the libgdal-mrsid_1.9.0-2~oneiric1.tar.gz file and decided to start working with that....
5. Uncompressed that file and edited the gdal-mrsid-build.ln file

 *   it wants to create a directory  /usr/lib/gdalplugins/1.9 . Changed
   that to /usr/lib/gdalplugins/1.11
 * Changed all references to lt_base.h to include the path Raster_DSDK
   - Example:

/if [ ! -f "$GEOEXPRESSSDK/Raster_DSDK/include/lt_base.h" -o `grep 'LT_BASE_H' "$GEOEXPRESSSDK/Raster_DSDK/include/lt_base.h" |wc -l` -eq 0 ]; then/

 * Changed all references in the files contained in
   libgdal-mrsid-1.9.0.tar.gz (since that gets copied to /usr/src
 * Scripts look for jpeg2000 support in the Lizardtech downloads -
   removed all references to libltikdu.a because it doesn't seem to be
   in the SDK.
 * errored out looking for:  libgeotiff is required to build GDAL MrSID
   driver

I haven't given up yet - but decided to take a break and keep making notes. There is a brand new Sid SDK out - version 9 but I didn't want to try that one..... yet.

Randy "too stubborn to not want to live the dream of reading a sid file on linux" Hale.

On 12/08/2014 10:12 AM, Even Rouault wrote:
Le lundi 08 décembre 2014 16:05:08, William Kyngesburye a écrit :
I don't do linux, but I'm sure it's possible - the MrSID SDK exists for
linux.  I use a simple custom makefile to make it as a GDAL plugin, using
an installed GDAL.  Ask on the GDAL mailing list, someone may have already
done it.
--> For Ubuntu with UbuntuGIS PPA :
http://trac.osgeo.org/ubuntugis/wiki/TutorialMrSid

On Dec 8, 2014, at 8:17 AM, Randal Hale <[email protected]>
wrote:
!!

Is there a way to port this to Linux as we are now the odd man
out......and Sid files drive me an extra 6 minutes and about 6.5 GB of
difficulty every time I run into one.

Randy

On 12/07/2014 11:03 PM, William Kyngesburye wrote:
Check my site.  The GDAL framework that you should have installed also
has a separately downloadable plugin for the MrSID format.

On Dec 7, 2014, at 7:53 PM, Dave Peterson <[email protected]> wrote:
I need to be able to display MrSID files made available by the state
GIS department.  I had them running on QGIS 1.8, OSX 10.6.8, but I’m
not sure what I did back then.  Have searched the Web as best I can
and haven’t found any instructions for current QGIS with a current OS.
  Can anyone help?

Seems to me at one point I saw some directions for getting 1.4 to read
MrSID, but I can’t find them.  I’m doing GIS volunteer work for Mass
Audubon Society, and a lot of their raster stuff is MrSID.  (They use
ArcGIS; I can’t afford it.) --
Dave Peterson

[email protected]
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the past
isn't a fiction designed to account for the discrepancy between my
immediate physical sensations and my state of mind?"

- The Ruler of the Universe


_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

--
-----------------
Randal Hale
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611 [email protected]
twitter:rjhale     http://about.me/rjhale
http://www.northrivergeographic.com/spatial-connect

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to