Compile problem RedHat 8.0

Tim Wunder tim@thewunders.org
Fri, 11 Oct 2002 22:43:00 -0400


Hi, 
Recently got RedHat 8.0 installed and am having a little trouble with it 
(other than that it seems very unfriendly towards kde apps -- I'm trying 
gnome2 for a while to see how that goes). Anyway, I downloaded the latest 
from CVS fresh and am running into a little problem with getting it to 
compile.

After running ./autogen.sh, I get this error:
<quote>
Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.
You need aclocal from GNU automake 1.5 (or newer) to do this.
Then run 'autoconf' to regenerate the configure file.

You might also want to copy the convenience header file gettext.h
from the /usr/share/gettext directory into your package.
It is a wrapper around <libintl.h> that implements the configure --disable-nls
option.

Press Return to acknowledge the previous two paragraphs.
</quote>

I press Enter to continue and configure resumes (I *have*, BTW, run 'aclocal 
-I m4' and 'autoconf', per the recommendation), at least until I get this 
error:
<quote>
configure: WARNING: Can not find Guile on this system
checking for guile... /usr/bin/guile
checking for guile - 1.3.4 <= version < 1.5.0... 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.  Right now gnucash requires at least version
  1.3.4 to build, but does not work with 1.5 or greater.
</quote>


Suspicious entries in config.log are:
<quote>
configure:13356: checking for guile-config
configure:13383: result: no
configure:13410: checking for build-guile
configure:13437: result: no
</quote>

and 

<quote>
configure:13836: checking whether guile works
configure:13863: gcc -o conftest -g -O2     conftest.c -lm  -lguile -ldl   
-lreadline -ltermcap >&5
configure:13840:38: libguile.h: No such file or directory
configure:13841:38: guile/gh.h: No such file or directory
configure: In function `main':
configure:13854: `NULL' undeclared (first use in this function)
configure:13854: (Each undeclared identifier is reported only once
configure:13854: for each function it appears in.)
configure:13866: $? = 1
configure: failed program was:
#line 13838 "configure"
#include "confdefs.h"

                #include <libguile.h>
                #include <guile/gh.h>

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

                gh_eval_str("(newline)");
                scm_boot_guile(0,NULL,NULL,NULL);

  ;
  return 0;
}
configure:13889: result: no
configure:13898: WARNING: Can not find Guile on this system
configure:13933: checking for guile
configure:13951: found /usr/bin/guile
configure:13964: result: /usr/bin/guile
configure:13977: checking for guile - 1.3.4 <= version < 1.5.0
configure:14028: result: no
</quote>

'guile --version'  yields:
"Guile 1.4
Copyright (c) 1995, 1996, 1997, 2000 Free Software Foundation"

Any ideas?
Do I need libguile?

'rpm -qa|grep guile' yields:
guile-1.4-8


Thanks, 
Tim

-- 
RedHat Psyche 8.0, stock kernel, Gnome 2.x, Xfree86 4.2.0
  8:00pm  up 21:18,  2 users,  load average: 0.21, 0.27, 0.19
It's what you learn AFTER you know it all that counts