ubuntu dapper下编译mapserver

好久没有安装mapserver了,今天才发现mapserver都已经进入官方的源了。
看来已经出了好长时间了,今天要重装mapserver才发现。
ubuntu dapper中的版本是4.6.1

apt-cache search mapserver
cgi-mapserver – cgi module of mapserver
mapserver-bin – mapserver binary utilities
mapserver-doc – documentation for mapserver
perl-mapscript – perl mapserver library
php4-mapscript – module for php4-cgi to use mapserver
php5-mapscript – module for php5-cgi to use mapserver
python-mapscript – python mapserver lib

debian stable中是4.4.1,testing和unstable是4.8.3版本。

并且发现现在安装mapserver好简单了:

./configure –with-ogr –with-gdal –with-geos –with-proj –with-postgis –with-php=/usr/include/php5/
make
sudo cp php_mapscript.so /usr/lib/php5/20051025/
#// 加入php_mapscript.so的extensions
sudo nano /etc/php5/apache2/php.ini
sudo /etc/init.d/apache2 restart

已经安装了apache2-mpm-prefork,libapache2-mod-php5包。

This entry was posted in Linux, MapServer and tagged , , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string rT79sM to the field below:

以新浪微博帐号登录