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

Murilo Lacerda Yoshida murilo.yoshida at agx.com.br
Wed Nov 5 22:08:34 EST 2003


 Olá Emilio,

 Yes, I'm using libtiff and libgeotiff, but I guess that this isn't the
problem here. Unless I cannot use gdal and libtiff and libgeotiff at the
same time, but I think that's not the case.
  Here are my configure strings:

  For mapserver
./configure --without-tiff --without-eppl --without-jpeg --with-threads
--with-proj --with-gdal=/usr/local/bin/gdal-config
--with-php=../php-4.3.3 --with-gd=/usr/local --with-freetype=/usr/bin
--with-pdf --with-ogr --with-ming --with-wmsclient --with-wfs
--with-wfs-client

  For PHP
./configure --enable-force-cgi-redirect
--with-config-file-path=/etc/httpd/ --with-gd=/usr/local
--with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib
--with-freetype-dir=/usr --without-ttf --with-pdflib --with-mysql
--with-regex=system --with-ming --enable-dbase --enable-dbx
--enable-versioning --with-oci8 --enable-shared
--with-config-file-path=/usr/local/php433/ --prefix=/usr/local/php433

  For gdal
./configure --with-libz --with-png --with-libtiff=/usr/local
--with-geotiff=/usr/local --with-jpeg --without-jasper --without-python

  And I changed the mapserver configure string to --without-tiff after I
read your message, but nothing changed ... 
  Thanks,
    Murilo

-----Mensagem original-----
De: Emilio Mayorga [mailto:emiliom at u.washington.edu] 
Enviada em: quinta-feira, 6 de novembro de 2003 00:09
Para: mapserver-users at lists.gis.umn.edu
Assunto: RES: [Mapserver-users] problem displaying raster layers; GDAL?


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

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users






More information about the mapserver-users mailing list