Thoughts on a mapserver-config script...

Howard Butler hobu.inc at GMAIL.COM
Wed Jun 6 18:42:42 EDT 2007


-lmapserver instead of -lmap, IMO.  This is the time to do it.

Howard

On Jun 6, 2007, at 12:02 PM, Tamas Szekeres wrote:

> Umberto,
>
> Isn't that Daniel's comments at
> http://trac.osgeo.org/mapserver/ticket/1884 may be relevant to this
> demand?
>
> Tamas
>
>
> 2007/6/6, Umberto Nicoletti <umberto.nicoletti at gmail.com>:
>> It would also be very cool if the script could spit out only the
>> -DXXXX params for usage with swig.
>>
>> Umberto
>>
>> On 6/6/07, Frank Warmerdam <warmerdam at pobox.com> wrote:
>> > Steve Lime wrote:
>> > > I checked on how GDAL did this and copied that process over to  
>> mapserver in
>> > > the main branch. Doing a 'make' will create a mapserver-config  
>> script now
>> > > although it likely needs tweaking...
>> >
>> > Steve,
>> >
>> > This looks promising on a preliminary review.
>> >
>> > I notice that "mapserver-config --libs" does not include -lmap.   
>> Shouldn't it?
>> > I also think the value of this is somewhat limited yet since we  
>> don't have
>> > a concept of installing mapserver yet.  So we can't actually  
>> point things
>> > at the installed location of the mapserver library (or include  
>> files).
>> >
>> > Also, I think a config switch that reports the full version  
>> string like
>> > the following would be nice.  Though I can't see exactly how  
>> this would
>> > be accomplished without some substantial changes since this is  
>> normally
>> > constructed based on macros in maperror.c.
>> >
>> >   OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG  
>> SUPPORTS=PROJ
>> > SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER  
>> SUPPORTS=WCS_SERVER
>> > INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
>> >
>> > Best regards,
>> > --
>> > --------------------------------------- 
>> +--------------------------------------
>> > I set the clouds in motion - turn up   | Frank Warmerdam,  
>> warmerdam at pobox.com
>> > light and sound - activate the windows | http://pobox.com/ 
>> ~warmerdam
>> > and watch the world go round - Rush    | President OSGeo, http:// 
>> osgeo.org
>> >
>>



More information about the mapserver-dev mailing list