[FGS] Fedora 5 Installation Problem

Thomas Hammerlund tom at maplink.jp
Tue Jul 18 03:17:28 EDT 2006


----- Original Message ----- 
From: "Thomas Hammerlund" <tom at maplink.jp>
To: <julien.63 at free.fr>
Sent: Tuesday, July 18, 2006 4:16 PM
Subject: Re: [FGS] Fedora 5 Installation Problem


> Thank you Julien.
>
> These are great notes.  Just one thing though, I got lost when you said to 
> edit the index.html file in the demo folder.  In my version of the demo 
> there doesn't seem to be an index.html file.
>
> I downloaded the base version of FGS if that has anything to do with it.
>
> Thank you again,
> Tom
>
>
> ----- Original Message ----- 
> From: <julien.63 at free.fr>
> To: "Thomas Hammerlund" <tom at maplink.jp>
> Cc: <foss-gis-suite at lists.maptools.org>
> Sent: Friday, July 14, 2006 10:39 PM
> Subject: Re: [FGS] Fedora 5 Installation Problem
>
>
>> Hi Thomas,
>> I'm using fgs under FC5. Here below a reminder i've made for me.
>> As you could notice, i'm installing as simple user (not as root).
>> I hope it will help you.
>> Julien
>>
>> =================================================
>> 1- Download the package :
>> http://www.maptools.org/fgs/index.phtml?page=downloads.html
>>
>> =================================================
>> 2- Before installing, make sure SElinux is desactivated.
>> edit the selinux file in /etc/sysconfig/
>> edit the config file in /etc/selinux/
>> the line should be : SELINUX=disabled
>>
>> =================================================
>> 3- Install the fgs-mapserver package :
>> [julien at localhost ~]$ sh 
>> fgs-mapserver_phpmapscript_4.8.2-1.2-linux-i386.bin
>> you will be asked :
>> ? Where do you want to install the FGS suite [/home/julien/fgs] ?
>> press enter to have this default setting
>>
>> then you will be asked :
>> ? What TCP port do you want to use [8080] :
>> press enter to keep the default setting or choose among 80, 8080, 
>> 8000,...
>> You may have this error message :
>> Syntax error on line 3 of /home/julien/fgs/www/conf.d/php.conf:
>> Cannot load /home/julien/fgs/www/libexec/libphp4.so into server: 
>> libstdc++.so.5:
>> cannot open shared object file: No such file or directory
>> /home/julien/fgs/etc/init.d/apache start: httpd could not be started
>> Don't worry, we're gonna fix that now!
>>
>> Go in the fgs folder (or where you just installed the fgs-mapserver 
>> package)
>> [julien at localhost ~]$ cd fgs
>>
>>
>> Type the command line below to load the environement setting
>> [julien at localhost fgs]$ . setenv.sh
>>
>> Type the command line below to download and install the missing librairy
>> [julien at localhost fgs]$ fgs install libstdc++-lib:5.0.7
>> http://www.maptools.org/dl/fgs/modules/0.2
>>
>> this should gives you :
>> + Installing libstdc++-lib:
>> + Getting and extracting module 'libstdc++-lib'... ok
>> + Copying all files into FGS environment... ok
>> Module 'libstdc++-lib' installed with success.
>>
>> Then type :
>> [julien at localhost fgs]$ fgs start
>>
>> which should ends with :
>> /home/julien/fgs/etc/init.d/apache start: httpd started it's running.
>>
>> If this message comes up :
>> [Fri Jul  7 10:46:55 2006] [warn] NameVirtualHost *:8080 has no 
>> VirtualHosts
>> Then open the www/conf/httpd.conf file and at the end of the file comment 
>> the
>> line (930) NameVirtualHost *:$PORT by putting « # » in front.
>>
>> =================================================
>> 4- Install the demo :
>> download the demo from :
>> http://cvs.gis.umn.edu/dist/itasca3.5.tar.gz
>>
>> untar the archive and put all the content in a folder named 'demo' in
>> ~/fgs/www/htdocs/
>>
>> edit the index.html file in ~/fgs/www/htdocs/demo/
>>
>> change the variable as the comments say:
>> <!-- EDIT THE FORM ACTION -->
>> <form name="demo" method="GET" action="/cgi-bin/mapserv"
>> onSubmit="submit_form()">
>> <input type="hidden" name="layer" value="lakespy2">
>> <input type="hidden" name="layer" value="dlgstln2">
>> <input type="hidden" name="zoomsize" value=2>
>> <!-- EDIT THESE HIDDEN VARIABLES -->
>> <input type="hidden" name="map"
>> value="/home/julien/fgs/www/htdocs/demo/itasca.map">
>> <input type="hidden" name="program" value="/cgi-bin/mapserv">
>> <input type="hidden" name="root" value="/demo">
>> <input type="hidden" name="map_web_imagepath"
>> value="/home/julien/fgs/www/htdocs/tmp/">
>> <input type="hidden" name="map_web_imageurl" value="/tmp/">
>>
>> open the browser to :
>> http://127.0.0.1:80/demo/index.html
>>
>>
>> Selon Thomas Hammerlund <tom at maplink.jp>:
>>
>>> Hi,
>>>
>>> I downloaded the fgs-mapserver package using:
>>>
>>> wget
>>>
>> http://www.maptools.org/dl/fgs/self-installers/fgs-mapserver_phpmapscript_4.8.2-1.2-linux-i386.bin
>>>
>>> I then ran the command:
>>>
>>> sh fgs-mapserver_phpmapscript_4.8.2-1.2-linux-i386.bin
>>>
>>> According to the How to Install FGS document, I should then be able to 
>>> see a
>>> map of Canada by pointing my browser to http://dfserver02:8080/gmap-demo
>>> (dfserver02 is the name of my machine) but I only get the IE error page
>>> cannot be displayed.  Apache is running because when I type in
>>> http://dfserver02/ I can see the test page.
>>>
>>> Any ideas on where I went wrong?
>>>
>>> Thank you,
>>> Tom
>>>
>>
>>
>>
> 



More information about the Foss-gis-suite mailing list