RES: [Mapserver-users] problem displaying raster layers; GDAL?

Emilio Mayorga emiliom at u.washington.edu
Wed Nov 5 21:08:53 EST 2003


Oi Murilo,

What I did is exactly what I mentioned in my message, I added 
--without-tiff to the configure line. Here is my complete mapserver 
configuration line:
./configure --with-gd --with-proj --with-gdal --with-ogr --without-tiff 
--with-wmsclient --with-threads --enable-runpath --enable-debug

I ran a make clean before doing that, to clean up the previous make 
file; I'm no expert installing programs on Linux, so it took me some 
effort to figure that out!

Here's the GDAL configuration line (I'm using GDAL 1.1.9):
./configure  --with-libz --with-png --with-libtiff=internal 
--with-geotiff=internal --with-jpeg --without-jasper

 From a previous message you posted, it looks like you're trying to use 
libtiff and libgeotiff, not GDAL. I think the --without-tiff mapserver 
option specifies NOT to use other tiff libraries (--with-gdal tells it 
to use GDAL, obviously), and the --with-libtiff=internal and 
--with-geotiff=internal in the GDAL configuration tell GDAL to use its 
own tiff/geotiff libraries. Could that be the problem?

Boa sorte!

-Emilio


----------------------
From: "Murilo Lacerda Yoshida" <murilo.yoshida at agx.com.br>
To: <mapserver-users at lists.gis.umn.edu>
Subject: RES: [Mapserver-users] problem displaying raster layers; GDAL?
Date: Wed, 5 Nov 2003 13:02:44 -0200

   Hi Emilio,
   I have the same problem that you had, I guess, but I've tried to
compile mapserver --without-tiff and it still don't work, I still have
the "Premature end of script headers: php " error...
   Can you tell me what you did to solve your problem?
   Thanks,
     Murilo
-----Mensagem original-----
De: Emilio Mayorga [mailto:emiliom at u.washington.edu]
Enviada em: quinta-feira, 30 de outubro de 2003 22:27
Para: mapserver-users at lists.gis.umn.edu
Assunto: Re: [Mapserver-users] problem displaying raster layers; GDAL?


That was it!! Thank you, Randy! Such a simple fix, after so much
frustration. But this is great, now all the Mapserver features I wanted
to enable are working.

Cheers,

-Emilio


Randy James wrote:

 >> Hi
 >>
 >> I seem to remember that problem, i believe that i compiled
 >> mapserver --without-tiff and used gdals tiff lib and than
 >> it worked.
 >>
 >> Hope this helps
 >>
 >> Randy




More information about the mapserver-users mailing list