[Gfoss] Mapserver 5 su ubuntu feisty

Alessandro Pasotti ale.pas at tiscali.it
Wed Sep 19 15:54:33 CEST 2007


Ho penato un po' ma alla fine l'ho compilato, allego qualche nota in caso 
serva a qualcuno:

Prima di tutto installare tutti pacchetti -dev delle librerie di base:
gdal
geos
proj
libjpeg
libpng
libgd-xpm
libhdf5
agg2 (antialiasing grandioso)
freetype

non so se me le ricordo tutte, la maggior parte era già installata, comunque 
se mancano si pianta il configure (o peggio, il linker)

poi occorre qualche symlink come root in /usr/lib

ln -s libhdf5-1.6.5.so.0 libhdf5.so
ln -s libsqlite3.so.0 libsqlite3.so

controllate anche libgd.so , dovrebbe puntare libgd.so -> libgd.so.2.0.34

Il resto è la solita roba:
-------------------
PREFIX=/usr
./configure \
         --with-wfs \
         --with-wfsclient \
         --with-wmsclient \
         --with-proj=$PREFIX \
         --with-geos=$PREFIX/bin/geos-config \
         --with-gdal=$PREFIX/bin/gdal-config \
         --with-ogr=$PREFIX/bin/gdal-config \
         --with-php=/usr/include/php5 \
         --with-mygis=yes \
         --with-freetype \
         --with-postgis \
         --with-httpd=/usr/sbin/apache2 \
         --with-agg=$PREFIX \
         --with-threads \
         --prefix=$PREFIX
#make clean
make
------------------

La qualità del driver AGG è fantastica!!!!

-- 
Alessandro Pasotti
itOpen - "Open Solutions for the Net Age"
w3:  www.itopen.it
Linux User# 167502



More information about the Gfoss mailing list