building gnucash with guile-1.8
John Ralls
jralls at ceridwen.us
Fri Nov 14 12:04:29 EST 2014
On Nov 13, 2014, at 7:38 PM, Stuart McGraw <smcg4191 at frii.com> wrote:
> On 11/13/2014 05:53 PM, John Ralls wrote:
>> On Nov 13, 2014, at 1:29 PM, Stuart McGraw <smcg4191 at frii.com> wrote:
>> [...]
>>> But when I try with gnucash-2.6.4. ./configure complains:
>>> [...]
>>> checking for guile-1.8 >= 1.8.5... yes
>>> checking GUILE_CFLAGS... -pthread
>>> checking GUILE_LIBS... -lguile
>>> checking for guile... /usr/bin/guile
>>> checking for Guile version >= 2.0...
>>> configure: error: Guile 2.0 required, but 1.8.8 found
>> [...]
>> Where did you get GnuCash 2.6.4 from?
>
> The download link on gnucash.org.
>
>> We build GnuCash on Windows with Guile 1.8.8, so I’m quite confident
>> that it builds just fine. Dig into config.log for more details about
>> exactly what failed.
>
> Ah, good, thanks! Then there's hope. :-)
>
> config.log says:
> ...
> configure:20609: checking for Guile version >= 2.0
> configure:20628: error: Guile 2.0 required, but 1.8.8 found
>
> config says (line 20628 marked with *):
> if test "$_guile_major_version" -ge "$_major_version"; then
> ...
> else
> * as_fn_error $? "Guile $_guile_required_version required, but $_guile_prog_version found" "$LINENO" 5
> fi
>
> A little above that there is:
>
> _guile_required_version="$GUILE_EFFECTIVE_VERSION"
> if test -z "$_guile_required_version"; then
> _guile_required_version=2.0
>
> and sticking an echo statement in there shows that
> $GUILE_EFFECTIVE_VERSION is empty.
>
> As a quick hack, I changed the 2.0 to 1.8.5 and was able
> to configure and build ok but I'm not sure if the missing
> GUILE_EFFECTIVE_VERSION value represents a problem in my
> environment or a problem in Gnucash's autoconfig logic.
It got to “checking for Guile version >= 2.0 because the 1.8 check failed for some reason. Look above that for why the Guile 1.8 tests failed.
Regards,
John Ralls
More information about the gnucash-user
mailing list