On Dec 30, 2013, at 3:52 PM, David Reiser <[email protected]> wrote:

> During configure, I get:
> 
> checking for guile-1.8-config... yes
> checking whether guile-1.8-config works... yes
> checking for sin in -lm... yes
> checking for guile libraries... -I/sw/include -D_THREAD_SAFE  -L/sw/lib 
> -lguile -lltdl -L/sw/lib -lgmp -lm -lltdl
> checking for guile headers... -I/sw/include -I/sw/include -D_THREAD_SAFE 
> checking whether guile works... yes
> checking for guile - 1.6.7 <= version < 1.8.99... yes: 1.8.8
> checking for guile - 1.8.0 <= version < 1.8.99... yes: 1.8.8
> 
> 
> But later on the build fails with:
> 
> src/report/utility-reports/test/Makefile.am:30: (probably a GNU make 
> extension)
> checking for guile - 1.6.7 <= version < 1.8.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 a version between 1.6.7 and 1.8.99 to build.
> 
>  Note: if you have installed guile 2 on your system as well, you
>  may want to set environment variables GUILE and GUILE_CONFIG to
>  point explicitly at the proper binaries for guile 1.8 before
>  running configure. Eg:
>  configure --enable-compile-warnings ... GUILE=guile1.8 
> GUILE_CONFIG=guile1.8-config
> 
> make: *** [config.status] Error 1
> make: *** Waiting for unfinished jobs....
> src/tax/us/test/Makefile.am:11: shell ${top_builddir}/src/gnc-test-env 
> --no-exports ${GNC_TEST_DEPS}: non-POSIX variable name
> src/tax/us/test/Makefile.am:11: (probably a GNU make extension)
> WARNING: `automake-1.11' is probably too old.  You should only need it if
>         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
>         You might want to install the `Automake' and `Perl' packages.
>         Grab them from any GNU archive site.
> ### execution of guile18-build failed, exit code 2
> ### execution of /tmp/fink.pYu4e failed, exit code 2
> 
> 
> The change might be related to Changeset 23392
> 
> Despite configure finding GUILE and GUILE_CONFIG, gnucash doesn't seem to be 
> remember them.

Sometimes config.status doesn’t quite work when its re-run from make. In such 
cases, the best thing to do is to re-run autogen.sh and configure by hand after 
changing one of the autotools (i.e., configure.ac, Makefile.am, or Makefile.in) 
files.

Regards,
John Ralls


_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to