configure doesn't find guile

Asked by Rick Charon

When I run ./configure, it reports "checking for GUILE... no" but guile 2.2.3 is available at /usr/bin/guile.

Question information

Language:
English Edit question
Status:
Solved
For:
gEDA Edit question
Assignee:
No assignee Edit question
Solved by:
Rick Charon
Solved:
Last query:
Last reply:
Revision history for this message
Roland Lutz (rlutz) said :
#1

gEDA/gaf currently requires Guile 2.0 in order to run (bug #1782306).

I suspect it may actually run fine with Guile 2.2, but I haven't yet got around to testing it. If you want to, you could change all occurrences of "guile-2.0" in `m4/geda-guile.m4` and `xorn/configure.ac` to "guile-2.2" and see whether all works as expected.

If you do, I'd be interested to hear about your results.

Revision history for this message
Rick Charon (rickcharon) said :
#2

Well, changing occurrences of "guile-2.0" to "guile-2.2" got the configure script to complete successfully. But when "make" is run, an error with the following message appears on my system (btw aclocal-1.15 is installed):

/disk2/geda-gaf-1.8.2/build-tools/missing: line 81: aclocal-1.13: command not found
WARNING: 'aclocal-1.13' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:511: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127

I wish I knew the build system better! Thank you for any help. It is deeply appreciated.

Revision history for this message
Roland Lutz (rlutz) said :
#3

Are you compiling from a release tarball? If so, please use the current development sources available from:

  git://git.geda-project.org/geda-gaf.git

Here's the list of commands you'd typically use to build gEDA/gaf from the development sources. It's written assuming you are using Debian; if you are using another system, replace the "apt-get" invocations with your own package management tool:

  sudo apt-get update
  sudo apt-get build-dep geda
  git clone git://git.geda-project.org/geda-gaf.git
  cd geda-gaf
  ./autogen.sh
  ./configure --prefix=$HOME/geda
  make
  make install

Revision history for this message
Rick Charon (rickcharon) said :
#4

Thank you Roland. I was using a source tarball, but using the git project and the commands above got it all nicely built. BTW, using xubuntu 18.04 on a Dell XPS13-9360.