MapServer 4.7-cvs在ubuntu 5.04下的安装

首先从CVS下载最新版本。
然后配置:

./configure –with-ogr –with-gdal –with-geos –with-proj –with-postgis –with-php=/usr/include/php4 –with-freetype

然后,编译,遇到一个错误,byacc参数错误。
郁闷。
后发现若安装了bison后就可以解决此错误。

sudo apt-get install bison

看看结果:

./mapserv -v
MapServer version 4.7 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

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

3 Responses to MapServer 4.7-cvs在ubuntu 5.04下的安装

  1. Vo Nhat Quang says:

    Give me a Mapserver 4.7.0 Source Code

  2. wlx [微博 ] says:

    if you want to download the mapserver source code, please visit http://mapserver.gis.umn.edu/, and you download the stable code or the latest code from their cvs repository.

  3. Pingback: CNGIS.org weblog » Blog Archive » ubuntu breezy下的mapserver问题

发表评论

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

*

您可以使用这些 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 CBReXX to the field below:

以新浪微博帐号登录