Geomoose on RHEL

From Wildsong
Revision as of 03:19, 7 May 2013 by Brian Wilson (talk | contribs) (Created page with '== versions == Really it's CentOS but who is asking? 6.2 I think. And Geomoose 2.6.1 == prerequisite packages == # Always a good first step yum update Recommended by the G…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

versions

Really it's CentOS but who is asking? 6.2 I think. And Geomoose 2.6.1

prerequisite packages

# Always a good first step
yum update

Recommended by the Geomoose page: php5 php5-dev php5-gd php5-pgsql php5-sqlite php-pear php5-curl

jpeg gif tiff

sphinx-tools if I want docs

RHEL

yum install php php-devel php-gd php-pear-Net-Curl

SQLite I don't see a php sqlite package for RHEL

Doing a package install of php-pgsql forces the installation of postgreslql-libs 8.4 which is way too old. I am running PostgreSQL 9.1 along with PostGIS 2

mapserver

wget http://download.osgeo.org/mapserver/mapserver-6.2.1.tar.gz
tar xzvf mapserver-6.2.1.tar.gz 
cd mapserver-6.2.1
./configure \
--with-php \
--with-agg \
--with-gd \
--with-wfs \
--with-wmsclient \
--with-wfsclient \
--with-postgis \
--with-proj \
--with-geos \
--with-freetype \
--with-gdal \
--with-ogr \
--with-python \
--with-zlib
make
sudo make install

Libraries have been installed in:

  /usr/local/lib/php/extensions/no-debug-non-zts-20100525