configure fails on fresh checkout

Jerry Quinn jlquinn at optonline.net
Wed Oct 18 07:10:06 EDT 2006


Trying to build from svn as of last night (Oct 18):


checking whether guile works... yes
checking for guile... /usr/bin/guile
checking for guile - 1.6.0 <= version < 99.99.99... no:
configure: WARNING: guile version check failed
configure: error:

   guile does not appear to be installed correctly, or is not in the
   correct version range.  Perhaps you have not installed the guile
   development packages?  Gnucash requires at least version 1.6 to build.




This is Debian testing.  I have guile 1.6.8 installed.  It seems the version 
test isn't correct.  guile --version produces the following output:

jlquinn at smaug:~/gnucash/trunk$ guile --version
Guile 1.6.8
Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free 
Software Foundation
Guile may be distributed under the terms of the GNU General Public Licence;
certain other uses are permitted as well.  For details, see the file
`COPYING', which is included in the Guile distribution.
There is no warranty, to the extent permitted by law.


However, the regexes used to extract the version number aren't compatible. 
They look for "Guile version x.x.x", but what I have doesn't have the string 
"version" present.  The following is one of the regexes that get into 
configure, coming originally from macros/legacy_macros.m4:

   guile_major_version=`echo $guile_version | \
         sed 's/.*Guile version \([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\1/'`



I assume that just removing "version" will break lots of people.  Can someone 
who knows what's going on here enlighten me?  I'm brand new to the codebase 
and guile as well.

Thanks
Jerry


More information about the gnucash-devel mailing list