Has guile version check changed?
Chris Shoemaker
c.shoemaker at cox.net
Sat Oct 21 17:48:43 EDT 2006
On Sat, Oct 21, 2006 at 02:19:36PM -0400, David Reiser wrote:
>
> On Oct 21, 2006, at 12:29 PM, Chris Shoemaker wrote:
>
> >
> >What do you get from:
> >$ guile16-build env PATH=/opt/bin:$PATH $GUILE_CONFIG --version
>
> % guile16-build env PATH=/opt/bin:$PATH $GUILE_CONFIG --version
> tcsh: GUILE_CONFIG: Undefined variable.
This already shows the problem, doesn't it? And what does it do
without the PATH=/opt/bin:$PATH ? I think those environment variables
aren't making it to the children processes.
>
> % guile16-build env PATH=/opt/bin:$PATH guile-config --version
> env: guile-config: No such file or directory
But you should've tested with "guile-1.6-config", no?
> % guile16-build env LIBRARY_PATH=/sw/lib CPATH=/sw/include
> $GUILE_CONFIG --version
> tcsh: GUILE_CONFIG: Undefined variable.
>
> % guile16-build env LIBRARY_PATH=/sw/lib CPATH=/sw/include guile-
> config --version
> guile-config - Guile version 1.6.7
Ok, but that's not the value you set to GUILE_CONFIG.
>
> so having another PATH command is overriding the guile16-build
> settings.
I suspect that's not exactly what's happening. Try:
% guile16-build env PATH=/opt/bin:$PATH echo $PATH
I suspect you won't see the /opt/bin. Perhaps because using "env"
like that doesn't export the variables to children processes.
So, just don't use "env". Put all your variables in one file, and
make sure you export them. It should work.
-chris
More information about the gnucash-devel
mailing list