[Mapserver-users] HELP {Scanned}

GONZALEZ, Jose A. JGONZALE at ABC-USA.org
Tue Jul 27 09:40:29 EDT 2004


Zoltan,

Can you tell me what my GD lines should look like in my Makefile?  I
think some of my issues may be stemming from those lines.  For example
my lines refer to gd-1.2 but I have the latest version which is
gd-2.0.27.  Also, this is a linux newbie question, When I download
tar.gz files, where should I extract them to?  And then all the
supporting libraries where should those be extracted to?  This may be
part of my issues.  I extracted them all to their own folders in
/root/downloads and then I configured/installed from those directories.
Am I doing this right?  Thanks again for all your help.

-Joe 

-----Original Message-----
From: Siki Zoltan [mailto:siki at agt.bme.hu] 
Sent: Monday, July 26, 2004 6:49 PM
To: GONZALEZ, Jose A.
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] HELP {Scanned}


Hi,

Something strange happend to you.
1st
Check wheather mapserv refere to libpngxx.so. Use the ldd command

ldd mapserv

You will get a long list of shared libraries used by mapserv.

2nd
Try to force to configure png format --with-png=DIR
You can see all the swithes of configure with
./configure --help

Bye
Zoltan

On Mon, 26 Jul 2004, GONZALEZ,  Jose A. wrote:

> Zoltan,
> 
> Still no luck.  The ./configure command lists yes for all PNG related 
> data.  The only thing I don't have installed is jpeg support.  Would 
> that have anything to do with it?  Thanks for all your help I 
> appreciate it. - Joe
> 
> -----Original Message-----
> From: Siki Zoltan [mailto:siki at agt.bme.hu]
> Sent: Saturday, July 24, 2004 5:45 PM
> To: GONZALEZ, Jose A.
> Subject: RE: [Mapserver-users] HELP {Scanned}
> 
> 
> Hi,
> 
> You should check the output of the ./configure command.
> 
> There should be lines about PNG like:
> 
> checking where PNG is installed...
> checking for png_init_io in -lpng... yes
>         using linpng from system libs.
> 
> If you have "no" in the second row then the pnglib installation is not

> correct. Check the installation giude of mapserver.
> 
> Bye
> Zoltan
> 
> On Thu, 22 Jul 2004, GONZALEZ,  Jose A. wrote:
> 
> > Hello Again,
> > 
> > Now the config script says its finding all the libraries including 
> > the
> 
> > new GD lib but when I run the cmd -v I still get OUTPUT=WBMP. I'm
> > guessing it needs to say OUTPUT=PNG? Any Ideas? Is there a way to 
> > change the default OUTPUT?
> > 
> > -Joe
> > 
> > -----Original Message-----
> > From: Siki Zoltan [mailto:siki at agt.bme.hu]
> > Sent: Thursday, July 22, 2004 11:52 AM
> > To: GONZALEZ, Jose A.
> > Subject: RE: [Mapserver-users] HELP {Scanned}
> > 
> > 
> > Hi,
> > 
> > On Thu, 22 Jul 2004, GONZALEZ,  Jose A. wrote:
> > 
> > > Zoltan,
> > > 
> > > Sorry I figure it out.  I used ./mapserv -v.  That seemed to do 
> > > the trick.  This is what I get:
> > > 
> > > MapServer version 4.2.1 OUTPUT=WBMP SUPPORTS=FREETYPE INPUT=EPPL7 
> > > INPUT=SHAPEFILE
> > > 
> > > Does this mean I only have .bmp support?  How do I get it to
> > > configure
> > 
> > > with PNG support?  I did compile and install GD, zlib and libpng.
> > > So
> > > I figured that the mapserver would configure itself to these 
> > > libraries.
> > 
> > Yes you have only bmp support.
> > I see you use linux, then it is not enough to install the png lib, 
> > but
> 
> > the mapserver make/configure must find it. You may need change the
> > LD_LIBRARY path that configure can find it. First run ./configure
and 
> > check the output. It will propably say libpng not found. There were 
> > mails about it on the list, check the archive.
> > 
> > Bye Zoltan
> > > 
> > > -Joe
> > > 
> > > -----Original Message-----
> > > From: Siki Zoltan [mailto:siki at agt.bme.hu]
> > > Sent: Thursday, July 22, 2004 3:58 AM
> > > To: GONZALEZ, Jose A.
> > > Cc: mapserver-users at lists.gis.umn.edu
> > > Subject: Re: [Mapserver-users] HELP {Scanned}
> > > 
> > > 
> > > Hi,
> > > 
> > > Check wheather PNG output is supported on your istallation. Run 
> > > mapserv -v command to see the supported input and output. If you
> cant
> > > see OUTPUT=PNG then you should install the neccessary libs for png
> and
> > 
> > > reconfigure/compile mapserver or change the IMAGETYPE in your map
> > > file
> > 
> > > to one of the supperted formats (GIF, JPG, ...).
> > > 
> > > Bye
> > > Zoltan
> > > 
> > > On Wed, 21 Jul 2004, GONZALEZ,  Jose A. wrote:
> > > 
> > > > I need help with a new setup of mapserver.  I have installed all
> > > > the components and can't seem to run the demo file.  I keep 
> > > > getting g
> > the
> > > > error:
> > > >  
> > > > msPostMapParseOutputFormatSetup(): General error message. Unable
> > > > to select IMAGETYPE 'PNG'.
> > > >  
> > > > I've searched all the archives and can't find any solution.
> > > > Please let me know if you have seen this error before and have a

> > > > solution
> > for
> > > 
> > > > it. Thanks - Joe
> > > > 
> > > 
> > > 
> > 
> > 
> 
> 





More information about the mapserver-users mailing list