RES: [Mapserver-users] Re: Mapserver-users digest, Vol 1 #335 - 41 msgs

Murilo Lacerda Yoshida murilo.yoshida at agx.com.br
Fri Nov 7 09:51:23 PST 2003


Emilio,

I found the problem ... I found it on the bug 370 of the bugzilla in the
mapserver page. It says that there was a problem with libpng and
libpdf...

Now it is working. Thaks for the help,
    Murilo

-----Mensagem original-----
De: Emilio Mayorga [mailto:emiliom at u.washington.edu] 
Enviada em: sexta-feira, 7 de novembro de 2003 04:24
Para: mapserver-users at lists.gis.umn.edu
Assunto: [Mapserver-users] Re: Mapserver-users digest, Vol 1 #335 - 41
msgs


Murilo,

I'm not a Mapserver expert at all. I just started using it. Other people

in this list can give you more intelligent advice.

Did you say you're using RedHat 8? That's what I have. When I compiled 
GDAL, it was installed under /usr/local by default. In the mapserver 
configure options, I didn't specify a path for gdal, like you're doing; 
I just used "--with-gdal", and that worked, mapserver was able to find 
it. I don't know much about libtiff and libgeotiff, but I don't see why 
you'd need to use them in mapserver and GDAL if GDAL can use its own 
libraries. It's one thing to have libtiff and libgeotiff in your linux 
install to use with other tools, but with mapserver, GDAL seems to do 
the trick pretty nicely. I would try compiling GDAL like I did: 
--with-libtiff=internal
--with-geotiff=internal

I really can't help beyond that, I'm just a beginner. Good luck!

-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: Thu, 6 Nov 2003 01:08:34 -0200

  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

_______________________________________________
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