Swapping out GDAL

View: New views
6 Messages — Rating Filter:   Alert me  

Swapping out GDAL

by Marc Pfister :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I needed MrSID support so I built a new version of GDAL 1.6.0 with MrSID enabled. What’s the best and most reversible way to get it into FGS? So far I have only done configure and make so can I just copy the GDAL apps over the existing ones in FGS, and then use the original FGS GDAL package to revert should things go sideways?

 

Or should I really take the time to build a new package?

 

Thanks,

 

Marc

n
Marc Pfister
Technology Manager
ENPLAN
mpfister@...
530/221-0440 x108
530/221-6963 Fax

 


_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite

Re: Swapping out GDAL

by nsavard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marc Pfister wrote:

> I needed MrSID support so I built a new version of GDAL 1.6.0 with MrSID
> enabled. What's the best and most reversible way to get it into FGS? So
> far I have only done configure and make so can I just copy the GDAL apps
> over the existing ones in FGS, and then use the original FGS GDAL
> package to revert should things go sideways?
>
>  
>
> Or should I really take the time to build a new package?
>
>  
>  
Marc,

By supposing that all the GDAL depencies are all the same as the ones
you use for compiling, it should work.  You can give it a try.  I'll
suggest to make a backup of your actual fgs installation.  To help you
locate where each file goes, you could download a GDAL FGS package on
maptool.org and look to the directory structure.

Dependencies with fgs 1.0.0:

libstdc++-lib:6.0.8
libgcc-lib:1
jpeg-lib:6b
tiff-lib:3.8.2
postgresql-lib:8.3.1
proj-lib:4.5.0
libgeotiff-lib:1.2.4
openssl-lib:0.9.8a
xerces_c-base:2_8_0
unixODBC-base:2.2.10
libungif-base:4.1.3
libpng-lib:1.2.8
curl-lib:7.16.4


Norm
_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite

Re: Swapping out GDAL

by Frank Warmerdam-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Normand Savard wrote:

> Marc Pfister wrote:
>> I needed MrSID support so I built a new version of GDAL 1.6.0 with MrSID
>> enabled. What's the best and most reversible way to get it into FGS? So
>> far I have only done configure and make so can I just copy the GDAL apps
>> over the existing ones in FGS, and then use the original FGS GDAL
>> package to revert should things go sideways?
>>
>>  
>>
>> Or should I really take the time to build a new package?
>>
>>  
>>  
> Marc,
>
> By supposing that all the GDAL depencies are all the same as the ones
> you use for compiling, it should work.  You can give it a try.  I'll
> suggest to make a backup of your actual fgs installation.  To help you
> locate where each file goes, you could download a GDAL FGS package on
> maptool.org and look to the directory structure.

Marc,

I think another approach would be to build the MrSID driver as a plugin
though this might be more work to setup.

Best regards,
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@...
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite

Re: Swapping out GDAL

by Marc Pfister :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Frank Warmerdam [mailto:warmerdam@...] wrote

> I think another approach would be to build the MrSID driver as a
plugin
> though this might be more work to setup.

Maybe I should rewind a bit - what would be the easiest way to enable
MrSID in an existing FGS install (Ubuntu 6.06, 64 bit). I know I can
compile GDAL 1.6.0 on that platform with the MrSID DSDK using GCC 3.3,
for whatever's that worth. But then it seems from reading that I would
have to recompile MapServer with 3.3 too. So maybe I should go back and
rebuild the package in the FGS virtual machine. Speaking of the VM -
where is it? It's not showing up in the downloads section.

Marc Pfister
_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite

Re: Swapping out GDAL

by nsavard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marc Pfister wrote:
> MrSID in an existing FGS install (Ubuntu 6.06, 64 bit). I know I can
> compile GDAL 1.6.0 on that platform with the MrSID DSDK using GCC 3.3,
> for whatever's that worth. But then it seems from reading that I would
> have to recompile MapServer with 3.3 too. So maybe I should go back and
> rebuild the package in the FGS virtual machine. Speaking of the VM -
> where is it? It's not showing up in the downloads section.
>
>  
Marc,

The vm is only available on demand because of the size of the tarball.  
I email you offline to give you the URL.

Norm
_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite

Parent Message unknown Re: Swapping out GDAL

by nsavard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marc Pfister wrote:

> Norm wrote:
>
>  
>> Here is the URL where you can find the vm:
>>
>> http://dev1.lan.mapgears.com/vm-fgsdev1.0/
>>    
>
> Oh wow, you weren't kidding about the size!
>
> If you don't mind, you could you tell me if I understand the process of
> getting MrSID running correctly:
>
> Download and run the VM
> Uncomment "#OPTIONS="$OPTIONS --with-mrsid=path/to/dsdk"
> Run "fgsdev build_pkg gdal"
> Test in VM, if OK then:
> Copy resulting tarball to real FGS server and install
> Test there, if not working revert to release 1.0.0 GDAL tarball
>
>  
Marc,

Download and run the VM
Uncomment "#OPTIONS="$OPTIONS --with-mrsid=path/to/dsdk"
Run "fgsdev build_pkg gdal"
Backup your existing fgs environment before modifying it
Copy resulting tarball to real FGS server and install
Test there, if not working revert to release 1.0.0 GDAL tarball


It is not necessary to test within the vm.  If you prefer I could build
the gdal package with mrsid for you.  But if you prefer to give it try
before with the vm, you're welcome.

See also HOWTO-BUILD-RELEASE-COMPATIBLE-PACKAGE.txt under fgsdev/docs

Norm
_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite