[Mapserver-users] Problems with new mapserver install
Dylan Keon
keon at nacse.org
Wed Dec 31 19:08:43 PST 2003
On 12/31/2003 06:21 PM mapserver at digger.net wrote:
> On Wed, 31 Dec 2003 16:08:22 -0800
> Tyler Mitchell <TMitchell at lignum.com> wrote:
>
>
>>./mapserv -v
>>
>>should list all the capabilities.
>
>
> A-hah! That reports:
> MapServer version 4.0.1 SUPPORTS=PROJ SUPPORTS=WMS_SERVER INPUT=TIFF
> INPUT=EPPL7 INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>
> I see some things missing that probably ought to be there. Like GIF and
> PNG. Since I did tell configure where to find those, and it reported
> finding them.
>
> Thinking back, it occurs to me that I had to manually put "-pthread" into
> CFLAGS in the Makefile before it would compile. (I'm sure there must be a
> configure option to solve the problem, but I don't know what it is.) So
> on a whim, I decided to put "-pthread" into CFLAGS in configure and try
> compiling it again, to see if maybe it got configured wrong. Success!
>
> Now mapserv -v reports:
> MapServer version 4.0.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
> SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=JPEG
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>
> That looks MUCH better! Better yet, now the Workshop demo appears to work
> perfectly! The Itasca demo still has issues, but it appears that
> converting GIF to PNG will solve that. So I think I'm up and running!
I would still use absolute paths for the SYMBOLs. I tried relative
paths vs. absolute paths in my copy of the Itasca demo this evening, and
with relative paths I got the exact error you originally reported.
Also, you might want to recompile MapServer --without-tiff if you want
to use --with-gdal. If you're using GDAL it's best to use GDAL's
internal TIFF support, rather than MapServer's.
--Dylan
More information about the MapServer-users
mailing list