Opened 18 years ago

Last modified 13 years ago

#1720 closed defect

Detection of SWIG and MapScript languages by configure — at Initial Version

Reported by: dmorissette Owned by: mapserverbugs
Priority: high Milestone: 6.0 release
Component: Build Problems Version: 4.8
Severity: normal Keywords:
Cc: aboudreault, sdlime

Description

This is a tracking bug for the detection of SWIG and of MapScript language
dependencies by the configure script and automation of the builds via Makefiles.

Please do not include language-specific details here. Individual bugs should be
created for the specific dependencies of each language and linked from here.

-------- Original Message --------
Subject: Re: [UMN_MAPSERVER-DEV] Support for detection of SWIG and MONO during
configuration
Date: Tue, 21 Mar 2006 15:56:27 -0500
From: Daniel Morissette <dmorissette@MAPGEARS.COM>
Reply-To: Daniel Morissette <dmorissette@MAPGEARS.COM>
To: MAPSERVER-DEV@LISTS.UMN.EDU

I agree with Howard that the best place to start would be to document 
the requirements for each MapScript flavour in separate bugs, then once 
we have sorted out the details I could try to help with the configure.in 
updates.

A few questions to address:

1- How to detect SWIG, is it enough to look for the swig executable and 
test its version? Also which version is required as a minimum?

2- Do we want the main Makefile automatically build all the enabled SWIG 
bindings the same way that PHP MapScript is currently built 
automatically by the main Makefile when it is enabled? I would think the 
answer is yes, but we need to agree on that.

3- Then for each supported language, we need:
    - Makefile template, including targets for default build and for 
install (optionally a 'make test' too)
    - List of dependencies to detect (e.g. /usr/bin/mcs for MONO?)
    - Required version(s) of dependencies

Daniel

Change History (0)

Note: See TracTickets for help on using tickets.