[Mapserver-users] shp2img segfaults

Michael Schulz mschulz at webgis.de
Thu Jun 5 09:18:39 EDT 2003


Thanks Frank, that did it.

But how come, the mapscript dialects worked, though? I was rather puzzled about
that one - usually it's the other way round.

Cheers, Michael


Frank Warmerdam schrieb:

> Michael Schulz wrote:
> > Hi there,
> >
> > the get-together-mails sound promising, i'd really have liked to come to
> > the MUM, but not this year ...
> >
> > But the real problem is: I have a mapserver nightly build from end of
> > may (tried also the recent nightly), php-mapscript and python-mapscript
> > work fine only the mapserv executable and shp2img give me a segfault
> > when trying to render a map-file with a tiff raster layer... When i
> > comment out the raster layer everything works fine, python mapscript
> > draws a nice picture with the raster only mapserv/shp2img don't. MS
> > 3.6.3 draws the map-file without a problem.
> >
> > This is my config.status:
> >
> > ./configure  --with-gd=static,/usr/local/gd-2.0.12gif/
> > --with-freetype=/usr/local/src/freetype-2.1.0
> > --with-tiff=/usr/local/src/tiff-v3.5.7
> > --with-gdal=/usr/local/src/gdal-1.1.8/apps/gdal-config
> > --with-ogr=/usr/local/src/gdal-1.1.8/ogr
> > --with-proj=/usr/local/src/proj-4.4.5 --with-jpeg=/usr/local/src/jpeg-6b
> > --with-png --with-wmsclient --with-php=/usr/local/src/php-4.3.1/
>
> Michael,
>
> I would suggest configuring --without-tiff to ensure the TIFF handling
> goes through GDAL instead of the more direct MapServer libtiff support.  If
> you want the direct support, then please ensure your GDAL is built with
> an external libtiff 3.5.7 as well.  Note that this is fairly antique
> and the builtin version of libtiff in GDAL is essentially 3.6.0 beta.
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent

--
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                Informationstechnologie mbH
                             Sautierstr. 38, 79104 Freiburg
                                     0761 55695-95 (Fax 96)
mschulz at webgis.de                             www.webgis.de





More information about the mapserver-users mailing list