[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building g-wrap with guile installed in a nonstandard prefix
From: |
Ludovic Courtès |
Subject: |
Re: building g-wrap with guile installed in a nonstandard prefix |
Date: |
Wed, 23 Aug 2006 10:15:11 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Hi,
"gregory benison" <address@hidden> writes:
> That solves the problem and 'make check' now works with guile in a
> non-standard prefix. There is still an issue when the build tree is outside
> the source tree (as happens in 'make distcheck' or if you run 'mkdir build; cd
> build; ../configure'). I can get 'make check' to work in such cases by
> changing a couple of 'srcdir's to 'builddir's:
Ah, thanks for finding this.
> --- orig/guile/test/guile-test-env.in
> +++ mod/guile/test/guile-test-env.in
> @@ -1,9 +1,9 @@
> #!/bin/sh
> -GUILE_LOAD_PATH="@abs_top_srcdir@/guile:@abs_top_srcdir@/guile/test:${GUILE_LOAD_PATH}"
> +GUILE_LOAD_PATH="@top_builddir@/guile:@abs_top_srcdir@/guile:@abs_top_srcdir@/guile/test:${GUILE_LOAD_PATH}"
Why would you need to add `builddir/guile' in the load path? All `.scm'
files are in `srcdir', not `builddir', right?
> --- orig/guile/test/test-compat
> +++ mod/guile/test/test-compat
> @@ -1,5 +1,5 @@
> #!/bin/sh
> -exec ${srcdir-.}/guile-test-env ${GUILE_FLAGS} -s "$0" "$@"
> +exec ${builddir-.}/guile-test-env ${GUILE_FLAGS} -s "$0" "$@"
Unlike `${srcdir}', `${buildir}' is not defined by the generated
makefile when running `make check' so I think this change doesn't have
any effect.
Thanks,
Ludovic.
PS: Please, refrain from sending HTML emails, they are harder to read.