configure issue with debug

Frank Warmerdam fwarmerdam at GMAIL.COM
Thu Feb 3 12:10:46 EST 2005


On Thu, 3 Feb 2005 11:13:28 -0500, Kralidis,Tom [Burlington]
<Tom.Kralidis at ec.gc.ca> wrote:
> Hi,
>
> I have a requirement to compile MapServer with debugging turned on, so I
> tried running ./configure with --enable-debug=yes, and got the following
> error:
>
> <snip>
> checking compiler warnings... basic
> configure: checking whether we should enable debug features...
> expr: syntax error
> ./configure: line 10130: test: too many arguments
>         Enabling debug features: -g in CFLAGS and msDebug() to stderr
> (-DENABLE_STDERR_DEBUG).
> </snip>

Tom,

I believe that --enable / --disable directives to configure are not
supposed to have any arguments.  So just use --enable-debug.

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    | Geospatial Programmer for Rent



More information about the mapserver-dev mailing list