[FGS] Uninstalling an FGS package

Normand Savard nsavard at mapgears.com
Wed Nov 28 08:43:51 EST 2007


Alan Hale wrote:

> Normand Savard wrote:
>
>> For the installation you have to type in exactly this:
>>
>> wget 
>> http://download.osgeo.org/mapserver/fgs-msx/fgs-msx-5.0a-linux-i386.bin
>> sh fgs-msx-5.0a-linux-i386.bin
>> (answer prompts ... defaults are often ok)
>
> At the end of this I get an error as follows:
> + Starting 'apache':
> Processing config directory: /opt/fgs/www/conf.d/*.conf
> Processing config file: /opt/fgs/www/conf.d/gdal.conf
> Processing config file: /opt/fgs/www/conf.d/php4.conf
> Syntax error on line 7 of /opt/fgs/www/conf.d/php4.conf:
> Cannot load /opt/fgs/www/libexec/libphp4.so into server: 
> libfontconfig.so.1: cannot open shared object file: No such file or 
> directory
> /opt/fgs/etc/init.d/apache start: httpd could not be started
>
>
>
Alan,

I don't know what's happening on your side but I just tested it and it 
worked out of the box (see below).  You also have to know that these fgs 
packages have been tested a lot during the MapServer 5.0.0 release.

Norm


...
+ Starting 'apache':
Processing config directory: /home/nsavard/opt/fgstodelete/www/conf.d/*.conf
 Processing config file: /home/nsavard/opt/fgstodelete/www/conf.d/gdal.conf
 Processing config file: /home/nsavard/opt/fgstodelete/www/conf.d/php4.conf
 Processing config file: /home/nsavard/opt/fgstodelete/www/conf.d/proj.conf
 Processing config file: 
/home/nsavard/opt/fgstodelete/www/conf.d/python.conf
[Wed Nov 28 08:39:09 2007] [warn] NameVirtualHost *:8080 has no VirtualHosts
/home/nsavard/opt/fgstodelete/etc/init.d/apache start: httpd started
 
111111111111111111111111111111111111111111111111111111111111111
 
To start installed FGS's daemon at boot time, do (as root) :
 
$ echo "su nsavard -c \"( . /home/nsavard/opt/fgstodelete/setenv.sh ; 
fgs start )\"" >> /etc/rc.d/rc.local
 
222222222222222222222222222222222222222222222222222222222222222
 
Before using the FGS environment, you need to set some
environment variables (each time you login) :
 
$ cd /home/nsavard/opt/fgstodelete
$ . setenv.sh
 
OR you can do it automatically each time you log in by doing :
 
echo ". /home/nsavard/opt/fgstodelete/setenv.sh" >> ~/.bashrc
 
****************************************************************



More information about the Foss-gis-suite mailing list