configure error around --enable-debug
Kevin HaleBoyes
kcboyes at yahoo.com
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 <andi5.py at gmx.net> wrote:
> My first question is what branch you checked out, trunk or
> branches/2.2?
trunk
> What did autogen.sh print out? And, may you please attach
> the resulting configure script along with the configure output.
I'll attach the output from the autogen.sh 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
script:
# Check whether --enable-debug was given.
if test "${enable_debug+set}" = set; then
enableval=$enable_debug;
# remove any optimization flags...
CFLAGS=`echo ${CFLAGS} | sed -e 's,-O.,,g'`
# ...except for those the user wants.
CFLAGS="${CFLAGS} -g ${USER_OPTIMIZATION}"
LDFLAGS="${LDFLAGS} -g"
cat >>confdefs.h <<\_ACEOF
#define DEBUG_MEMORY 1
_ACEOF
,
cat >>confdefs.h <<\_ACEOF
#define DEBUG_MEMORY 0
_ACEOF
fi
As I noted in my original email, r17720 was the last change in
that area of the configure.in file.
Thanks,
Kevin.
>
> 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
http://ca.toolbar.yahoo.com.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autogen.out
Type: application/octet-stream
Size: 7639 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20090105/4709f87a/attachment-0003.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.out
Type: application/octet-stream
Size: 25252 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20090105/4709f87a/attachment-0004.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure
Type: application/octet-stream
Size: 1107426 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20090105/4709f87a/attachment-0005.obj
More information about the gnucash-devel
mailing list