最简单方案
apt-get install gdal-bin libgdal-doc libgdal1 libgdal1-dev proj
apt-get install libgd2 libgd2-dev
./configure --with-gd=/usr --with-gdal=/usr/bin/gdal-config --with-ogr --with-proj --with-threads --with-postgis=/usr/local/pgsql/bin/pg_config
makecd mapscript/java
make
make test
cp *.so /usr/lib/jni/
cp *.jar /usr/share/tomcat4/common/lib
发表回复