get source code http://trac.osgeo.org/gdal/wiki/DownloadSource let's use GDAL 1.10.1 for this example.
here's the page on BuildingOnUnix http://trac.osgeo.org/gdal/wiki/BuildingOnUnix
here's the page for MrSID / GDAL http://trac.osgeo.org/gdal/wiki/MrSID
get the DSDK from LizardTech https://www.lizardtech.com/developer/ - version I used was MrSID_DSDK-8.5.0.3422-linux.x86-64.gcc44
I made a folder /home/oeon/local/src
and put it there. I also extracted my GDAL src code there.
i made a folder /home/oeon/local/gdal1101