[mapserver-users] Error compiling Mapserver 6.0.3

Eichner, Andreas - SID-NLKM Andreas.Eichner at sid.sachsen.de
Thu Aug 30 03:05:51 PDT 2012


That's what I did on Debian Squeeze:

$ wget -O- "http://download.osgeo.org/mapserver/mapserver-6.0.3.tar.gz" | tar xz
$ cd mapserver-6.0.3/
$ ./configure --with-ogr=/usr/bin/gdal-config --with-gdal=/usr/bin/gdal-config --with-wfsclient --with-wmsclient --enable-debug --with-curl-config=/usr/bin/curl-config --with-proj=/usr --with-tiff --with-gd=/usr --with-jpeg --with-freetype=/usr/bin/freetype-config --with-threads --with-wcs --with-libiconv=/usr --with-geos=/usr/bin/geos-config --with-libiconv=/usr --with-xml2-config=/usr/bin/xml2-config --with-sos --with-postgis=/usr/bin/pg_config
[...]
MapServer is now configured for 

 -------------- Compiler Info ------------- 
  C compiler:                gcc -g  -fPIC -Wall  
  C++ compiler:              g++ -g  -fPIC -Wall  
  Debug:                     -g 
  Generic NINT:              

 -------------- Renderer Settings --------- 
  OpenGL support:            
  zlib support:              -DUSE_ZLIB
  png support:               -DUSE_PNG
  gif support:               -DUSE_GIF
  jpeg support:              -DUSE_JPEG
  freetype support:          -DUSE_FREETYPE
  iconv support:             -DUSE_ICONV
  AGG support:               internal
  SVG Symbol support:        -DUSE_AGG_SVG_SYMBOLS
  Cairo (SVG,PDF) support:   
  KML support:               

 -------------- Support Libraries --------- 
  Proj.4 support:            -DUSE_PROJ
  Libxml2 support:           -DUSE_LIBXML2
  FriBidi support:           
  Curl support:              -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH
  FastCGI support:           
  Threading support:         -DUSE_THREAD
  GEOS support:              -DUSE_GEOS
  XML Mapfile support:        
  XSLT support:              
  EXSLT support:              

 -------------- Data Format Drivers ------- 
  PostGIS support:           -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION
  ArcSDE support:            
  OGR support:               -DUSE_OGR
  GDAL support:              -DUSE_GDAL
  Oracle Spatial support:    

 -------------- OGC Services -------------- 
  WMS Server:                -DUSE_WMS_SVR
  WMS Client:                -DUSE_WMS_LYR
  WFS Server:                
  WFS Client:                -DUSE_WFS_LYR
  WCS Server:                -DUSE_WCS_SVR
  SOS Server:                -DUSE_SOS_SVR

 -------------- MapScript ----------------- 
  PHP MapScript:             no
$ make
$ sudo make install

All went fine so I'm just wondering what the hell you're doing.
 

> -----Ursprüngliche Nachricht-----
> Von: Luís de Sousa [mailto:luis.a.de.sousa at gmail.com] 
> Gesendet: Donnerstag, 30. August 2012 11:56
> An: thomas bonfort
> Cc: Eichner, Andreas - SID-NLKM; mapserver-users at lists.osgeo.org
> Betreff: Re: [mapserver-users] Error compiling Mapserver 6.0.3
> 
> On 30 August 2012 11:12, thomas bonfort 
> <thomas.bonfort at gmail.com> wrote:
> > As already stated multiple times, you have no reason to 
> regenerate the
> > lexer yourself, i.e. flex and yacc are *not* a requirement for
> > building. Start off with a fresh directory from a 6.0.3 
> tarball, to be
> > sure touch maplexer.c and uninstall flex/yacc, and you 
> should be fine.
> >
> 
> I've done that yesterday (or the day before) with both 6.0.3 and
> 6.0.1, please read my messages up thread. I'm not compiling maplexer.c
> myself, I'm just following the instructions at the Mapserver website.
> 
> Thank you for the help in any case,
> 
> Luís
> 



More information about the MapServer-users mailing list