[FGS] Uninstalling an FGS package
Julien-Samuel Lacroix
jlacroix at mapgears.com
Wed Nov 28 10:15:16 EST 2007
Hi Alan,
It is possible that libfontconfig.so is not included in FGS. In that
case it will try to use the one from the system. I think that normally
you will have it in /usr/lib/. If it's the case simply add a logical
link to it calles libfontconfig.so.1. However if you don't have, you may
need to install the package that include it (fontconfig-devel-2.2.3-13
on FC4).
Julien
Normand Savard wrote:
> 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
>
> ****************************************************************
>
> _______________________________________________
> Foss-gis-suite mailing list
> Foss-gis-suite at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/foss-gis-suite
>
--
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/
More information about the Foss-gis-suite
mailing list