configure error around --enable-debug

Kevin HaleBoyes kcboyes at
Mon Jan 5 17:50:03 EST 2009

Just getting back to this from my Christmas holiday ...

--- On Sat, 12/20/08, Andreas Köhler < at> wrote:

> My first question is what branch you checked out, trunk or
> branches/2.2?


> What did print out?  And, may you please attach
> the resulting configure script along with the configure output.

I'll attach the output from the step and the configure
step (as well as the entire configure script).  All of this is being
done on a fresh svn checkout on a Fedora 7 (virtual) machine.

The warnings in the autogen step are expected and have been noted
before in the -devel list archives.

Have a look at line 248 of configure.out for the error that I'm
referring to.  Here is the snippet from the generated configure

# Check whether --enable-debug was given.
if test "${enable_debug+set}" = set; then
       # remove any optimization flags...
       CFLAGS=`echo ${CFLAGS} | sed -e 's,-O.,,g'`
       # ...except for those the user wants.
       LDFLAGS="${LDFLAGS} -g"

cat >>confdefs.h <<\_ACEOF
#define DEBUG_MEMORY 1

cat >>confdefs.h <<\_ACEOF
#define DEBUG_MEMORY 0


As I noted in my original email, r17720 was the last change in
that area of the file.


> On Fri, 2008-12-19 at 14:36 -0800, Kevin HaleBoyes wrote:
> > I get the following error when I run configure on a
> fresh
> > svn checkout:
> > 
> > ./configure: line 28021: ,: command not found
> > 
> > looking at the generated configure script I can see
> this corresponds
> > to the --enable-debug option processing.
> > 
> > I think it may have been caused by r17720 by cstim but
> I'm not sure
> > and I don't know how to fix it, sorry.
> > 
> > Kevin.

Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autogen.out
Type: application/octet-stream
Size: 7639 bytes
Desc: not available
Url : 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.out
Type: application/octet-stream
Size: 25252 bytes
Desc: not available
Url : 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure
Type: application/octet-stream
Size: 1107426 bytes
Desc: not available
Url : 

More information about the gnucash-devel mailing list