Thoughts on a mapserver-config script...
Daniel Morissette
dmorissette at MAPGEARS.COM
Thu Jun 7 10:59:50 EDT 2007
Yes, and checking the Makefile.in it seems that we've already done it
for the shared lib:
#
# Name of static and shared libs to produce
#
LIBMAP_STATIC= libmap.a
LIBMAP_SHARED= libmapserver. at SO_EXT@
LIBMAP_SH_VER= libmapserver.$(MS_VERSION). at SO_EXT@
Not sure why we didn't do it for the static lib, but that should be a
very straightforward change. I'll take care of it unless I hear objections.
Daniel
Steve Lime wrote:
> I recall Dan wanting to actually do it...
>
>>>> Sean Gillies <sgillies at FRII.COM> 06/06/07 6:09 PM >>>
> Amen.
>
> Howard Butler wrote:
>> -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,
--
Daniel Morissette
http://www.mapgears.com/
More information about the mapserver-dev
mailing list