building from source.

Steve zephod at cfl.rr.com
Thu Nov 7 17:00:17 EST 2013


---- Derek Atkins <warlord at MIT.EDU> wrote: 
> Hi,
> 
> Steve <zephod at cfl.rr.com> writes:
> 
> > So I installed Fedora 19 in a VM (The UI is as bad as I thought it was
> > going to be but at least they have a GNOME classic look which although
> > not as good as it used to be, is at least tolerable) installed
> > autogen, automake, libtool intltool swig and guile-devel but I get
> > this error when trying o compile:
> >
> > $ ../configure --enable-compile-warnings --enable-debug
> > ...
> > checking for guile-1.8 >= 1.8.5... no
> > checking for guile-2.0 >= 2.0.0... yes
> > checking GUILE_CFLAGS... -pthread -I/usr/include/guile/2.0  
> > checking GUILE_LIBS... -lguile-2.0 -lgc  
> > checking for guile... /usr/bin/guile
> > checking if guile needs our copy of (guile www)... ../configure: line
> > 20830: syntax error near unexpected token `gnc_have_guile_www,'
> > ../configure: line 20830:
> > GUILE_MODULE_AVAILABLE(gnc_have_guile_www,(www main))'
> >
> > I've checked all the dependencies listed here
> > http://wiki.gnucash.org/wiki/Dependencies
> >
> > Steve
> >
> > ---- Derek Atkins <derek at ihtfp.com> wrote
> >> You are probably missing a bunch of -devel packages. This one looks
> >> like guile.  Yet running yum-builddep gnucash to pull in most of the
> >> deps. Also read the README.dependencies doc
> >
> > guile-devel would be the obvious one but I had already checked that
> > before I posted.
> > I ran yum-builddep gnucash and pulled in a couple of extra packages
> > but I still get the same error. The fact that it reports a syntax
> > error makes me think there could be a bug in the configure script.
> 
> GUILE_MODULE_AVAILABLE is defined in /usr/share/aclocal/guile.m4 (at
> least on my F18 system).  On my system this is in guile-devel, but in
> F18 it's guile-1.8, not guile-2.  Make sure you have that file
> installed; you may need to find the right package using 'yum provides'
> 
> > Steve

Derek, 

These are the guile packages I have installed:
$ rpm -qa | grep guile
guile-lib-0.1.6-5.fc18.noarch
guile-2.0.9-1.fc19.i686
compat-guile18-1.8.8-6.fc19.i686
compat-guile18-devel-1.8.8-6.fc19.i686
guile-devel-2.0.9-1.fc19.i686

The guile.m4 file is installed:
$ ls -l /usr/share/aclocal/guile.m4
-rw-r--r--. 1 root root 11295 Apr 15  2013 /usr/share/aclocal/guile.m4

and GUILE_MODULE_AVAILABLE is used in a couple of places:

[steve at localhost aclocal]$ grep -v '^#' /usr/share/aclocal/* | grep -A 4 GUILE_MODULE_AVAILABLE
/usr/share/aclocal/guile.m4:AC_DEFUN([GUILE_MODULE_AVAILABLE],
/usr/share/aclocal/guile.m4:         [GUILE_MODULE_CHECK($1,$2,0,is available)
/usr/share/aclocal/guile.m4:         ])
/usr/share/aclocal/guile.m4:
/usr/share/aclocal/guile.m4:AC_DEFUN([GUILE_MODULE_REQUIRED],
/usr/share/aclocal/guile.m4:         [GUILE_MODULE_AVAILABLE(ac_guile_module_required, ($1))
/usr/share/aclocal/guile.m4:          if test "$ac_guile_module_required" = "no" ; then
/usr/share/aclocal/guile.m4:              AC_MSG_ERROR([required guile module not found: ($1)])
/usr/share/aclocal/guile.m4:          fi
/usr/share/aclocal/guile.m4:         ])

Steve



More information about the gnucash-user mailing list