[Mapserver-users] Compiling Mapserver/configure options

Jean-Francois.Doyon at CCRS.NRCan.gc.ca Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Tue Jun 24 07:53:47 PDT 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C33A60.6AA5AD60
Content-Type: text/plain;
	charset="iso-8859-1"

Benjamin,
 
That is indeed confusing, and I'm not entirely sure of the underlying reason
for seeing it in there twice.
 
But, as a rule of thumb, I would give configure as much information as
possible ... Better too much than not enough.
 
A good thing to do if you're learning how to use the whole "autoconf" world
is to run a simple "./configure" with NO options.
 
Read the output, as it is fairly detailed, figure out what you feel is
missing that you need, and then add the options.  It's a
repetitive/iterative process, but it's the best way to learn this, and
you'll find it much easier next time you have to compile something.
 
Normally, "configure" will detect the system's jpeg and png libraries
automagically anyways, so you don't really have to specify them on the
command line. I've never had the situation where it doesn't since I use
Linux, and pretty much all Linux distributions come with those libs
installed ... If it doesn't however, just to be safe, I'd install them.
 
Are there any developpers out there that could tell us why the JPEG and PNG
libraries are looked for outside of GD support ? (I'm thinking it might be a
historical leftover also ...)
 
Hope this helps,
J.F.

-----Original Message-----
From: Benjamin Wragg [mailto:bwragg at tpg.com.au]
Sent: Monday, June 23, 2003 6:49 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Compiling Mapserver/configure options


Hi list,
 
I'm quite new to Linux and compiling software from source, so bare with me.
When it comes to compiling Mapserver I have some questions regarding the
./configure options. 
 
There are some components with seem to be duplicated in different parts of
the compile process. For example I can compile jpeg support separately into
gd, gdal and mapserver. 
Am I right in saying that if I compile jpeg into gdal I can have jpeg as an
input data source? If I compile jpeg into gd I can output jpeg images? If I
have compiled jpeg into gd I don't need to compile it into mapserver
directly with the --with-jpeg (as long as I use --with-gd) as it will use
gd's code to do jpeg manipulation? Similar with png?
 
Thanks,
 
Benjamin Wragg


------_=_NextPart_001_01C33A60.6AA5AD60
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2722.900" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff 
size=2>Benjamin,</FONT></SPAN></DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff size=2>That 
is indeed confusing, and I'm not entirely sure of the underlying reason for 
seeing it in there twice.</FONT></SPAN></DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff size=2>But, 
as a rule of thumb, I would give configure as much information as possible ... 
Better too much than not enough.</FONT></SPAN></DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff size=2>A good 
thing to do if you're learning how to use the whole "autoconf" world is to run a 
simple "./configure" with NO options.</FONT></SPAN></DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff size=2>Read 
the output, as it is fairly detailed, figure out what you feel is missing that 
you need, and then add the options.  It's a repetitive/iterative process, 
but it's the best way to learn this, and you'll find it much easier next time 
you have to compile something.</FONT></SPAN></DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff 
size=2>Normally, "configure" will detect the system's jpeg and png libraries 
automagically anyways, so you don't really have to specify them on the command 
line. I've never had the situation where it doesn't since I use Linux, and 
pretty much all Linux distributions come with those libs installed ... If it 
doesn't however, just to be safe, I'd install them.</FONT></SPAN></DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff size=2>Are 
there any developpers out there that could tell us why the JPEG and PNG 
libraries are looked for outside of GD support ? (I'm thinking it might be a 
historical leftover also ...)</FONT></SPAN></DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff size=2>Hope 
this helps,</FONT></SPAN></DIV>
<DIV><SPAN class=513244614-24062003><FONT face=Arial color=#0000ff 
size=2>J.F.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Benjamin Wragg 
  [mailto:bwragg at tpg.com.au]<BR><B>Sent:</B> Monday, June 23, 2003 6:49 
  PM<BR><B>To:</B> mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> 
  [Mapserver-users] Compiling Mapserver/configure options<BR><BR></FONT></DIV>
  <DIV><SPAN class=765273722-23062003><FONT face=Arial size=2>Hi 
  list,</FONT></SPAN></DIV>
  <DIV><SPAN class=765273722-23062003><FONT face=Arial 
  size=2></FONT></SPAN> </DIV>
  <DIV><SPAN class=765273722-23062003><FONT face=Arial size=2>I'm quite new to 
  Linux and compiling software from source, so bare with me. When it comes 
  to compiling Mapserver I have some questions regarding the ./configure 
  options. </FONT></SPAN></DIV>
  <DIV><SPAN class=765273722-23062003><FONT face=Arial 
  size=2></FONT></SPAN> </DIV>
  <DIV><SPAN class=765273722-23062003></SPAN><SPAN 
  class=765273722-23062003><FONT face=Arial size=2>There are some components 
  with seem to be duplicated in different parts of the compile process. For 
  example I can compile jpeg support separately into gd, gdal and mapserver. 
  </FONT></SPAN></DIV>
  <DIV><SPAN class=765273722-23062003><FONT face=Arial size=2>Am I right in 
  saying that if I compile jpeg into gdal I can have jpeg as an input data 
  source? </FONT></SPAN><SPAN class=765273722-23062003><FONT face=Arial 
  size=2>If I compile jpeg into gd I can output jpeg images? If I have compiled 
  jpeg into gd I don't need to compile it into mapserver directly with the 
  --with-jpeg (as long as I use --with-gd) as it will use gd's code to do jpeg 
  manipulation? </FONT></SPAN><SPAN class=765273722-23062003><FONT face=Arial 
  size=2>Similar with png?</FONT></SPAN></DIV>
  <DIV><SPAN class=765273722-23062003><FONT face=Arial 
  size=2></FONT></SPAN> </DIV>
  <DIV><SPAN class=765273722-23062003><FONT face=Arial 
  size=2>Thanks,</FONT></SPAN></DIV>
  <DIV><SPAN class=765273722-23062003><FONT face=Arial 
  size=2></FONT></SPAN> </DIV>
  <DIV><SPAN class=765273722-23062003><FONT face=Arial size=2>Benjamin 
  Wragg</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C33A60.6AA5AD60--



More information about the MapServer-users mailing list