---
title: "在linux上安装mapserver"
author: "zhyiwww"
date: "2009-01-28T23:00:00Z"
tags: ["Debian", "Linux", "PostgreSQL"]
slug: "linux-mapserver"
draft: false
lastmod: "2009-01-28T23:00:00Z"
id: 580831
url: "https://zhyiwww.iteye.com/blog/580831"
---

在debian上安装mapserver

\# cd mapser5.2.1

\# ./configure --with-freetype --with-agg=/opt/agg-2.5/ --with-gdal=/opt/gdal-1.6.0/bin/gdal-config --with-gd=/opt/gd-2.0.33/ --with-png --with-jpeg --with-eppl --with-geos=/opt/geos-3.0.3/bin/geos-config --with-postgis=/opt/PostgreSQL/8.3/bin/pg\_config --with-ogr=/opt/gdal-1.6.0/bin/gdal-config --with-tiff=/opt/tiff-3.8.2/ --with-threads --with-curl=/opt/curl-7.19.3/ --with-proj=/opt/proj-4.5.0/ --enable-debug --with-wfs --with-wcs --with-wmsclient --with-wfsclient --with-sos --with-curl-config=/opt/curl-7.19.3/bin/curl-config --with-prefix=/opt/mapserver5

\# make