* bug#10557: GUILE_LOAD_PATH variable value ignored when setting %load-path.
@ 2012-01-19 22:39 Ian Hulin
2012-01-20 7:48 ` Ian Price
2012-02-03 15:32 ` Andy Wingo
0 siblings, 2 replies; 4+ messages in thread
From: Ian Hulin @ 2012-01-19 22:39 UTC (permalink / raw)
To: 10557
This doesn't appear to work as per page 41, section 4.2.2 Environment
Variables in the docs. Strangely enough, though settings of
GUILE_LOAD_COMPILED_PATH *are* observed and added to the front of
%load-compiled-path.
Cheers,
Ian Hulin
==================================================================================================
ian@ian-laptop ~/src/lilypond (T1686)$ echo $GUILE_LOAD_PATH
ian@ian-laptop ~/src/lilypond (T1686)$ guile
GNU Guile 2.0.3
Copyright (C) 1995-2011 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> %load-path
$1 = ("/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0"
"/usr/local/share/guile/site" "/usr/local/share/guile")
scheme@(guile-user)> ,q
ian@ian-laptop ~/src/lilypond (T1686)$ declare -x
GUILE_LOAD_COMPILED_PATH='/home/ian/src/lilypond/scm/out'
ian@ian-laptop ~/src/lilypond (T1686)$ guile
GNU Guile 2.0.3
Copyright (C) 1995-2011 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> %load-path
$1 = ("/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0"
"/usr/local/share/guile/site" "/usr/local/share/guile")
scheme@(guile-user)> ^\Quit
ian@ian-laptop ~/src/lilypond (T1686)$
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#10557: GUILE_LOAD_PATH variable value ignored when setting %load-path.
2012-01-19 22:39 bug#10557: GUILE_LOAD_PATH variable value ignored when setting %load-path Ian Hulin
@ 2012-01-20 7:48 ` Ian Price
2012-01-20 8:24 ` Ian Price
2012-02-03 15:32 ` Andy Wingo
1 sibling, 1 reply; 4+ messages in thread
From: Ian Price @ 2012-01-20 7:48 UTC (permalink / raw)
To: 10557; +Cc: Ian Hulin
Ian Hulin <ian@hulin.org.uk> writes:
> ian@ian-laptop ~/src/lilypond (T1686)$ echo $GUILE_LOAD_PATH
>
> ian@ian-laptop ~/src/lilypond (T1686)$ guile
> GNU Guile 2.0.3
> Copyright (C) 1995-2011 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)> %load-path
> $1 = ("/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0"
> "/usr/local/share/guile/site" "/usr/local/share/guile")
> scheme@(guile-user)> ,q
> ian@ian-laptop ~/src/lilypond (T1686)$ declare -x
> GUILE_LOAD_COMPILED_PATH='/home/ian/src/lilypond/scm/out'
> ian@ian-laptop ~/src/lilypond (T1686)$ guile
> GNU Guile 2.0.3
> Copyright (C) 1995-2011 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)> %load-path
> $1 = ("/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0"
> "/usr/local/share/guile/site" "/usr/local/share/guile")
> scheme@(guile-user)> ^\Quit
> ian@ian-laptop ~/src/lilypond (T1686)$
Err, all you have done here is show that GUILE_LOAD_COMPILED_PATH has no
bearing on %load-path, which is perfectly in accordance with the
documentation as far as I can see.
As for the question of GUILE_LOAD_PATH not prepending to %load-path, I
can't reproduce this on a recent stable-2.0 with fedora 16.
[ian@Kagami ~]$ env GUILE_LOAD_PATH=notadir guile -q
GNU Guile 2.0.3.155-6f0e5
...<snip>...
scheme@(guile-user)> %load-path
$1 = ("notadir" "/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0" "/usr/local/share/guile/site" "/usr/local/share/guile")
scheme@(guile-user)>
I'll report back again after I've built the 2.0.3 release
--
Ian Price
"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#10557: GUILE_LOAD_PATH variable value ignored when setting %load-path.
2012-01-20 7:48 ` Ian Price
@ 2012-01-20 8:24 ` Ian Price
0 siblings, 0 replies; 4+ messages in thread
From: Ian Price @ 2012-01-20 8:24 UTC (permalink / raw)
To: 10557; +Cc: Ian Hulin
> I'll report back again after I've built the 2.0.3 release
[ian@Kagami ~]$ env GUILE_LOAD_PATH=notadir GUILE_LOAD_COMPILED_PATH=notadir2 guile -q
GNU Guile 2.0.3
...<snip>...
scheme@(guile-user)> %load-path
$1 = ("notadir" "/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0" "/usr/local/share/guile/site" "/usr/local/share/guile")
scheme@(guile-user)> %load-compiled-path
$2 = ("notadir2" "/usr/local/lib/guile/2.0/ccache" "/usr/local/lib/guile/2.0/site-ccache")
scheme@(guile-user)>
As you can see, I get the same behaviour on 2.0.3
--
Ian Price
"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#10557: GUILE_LOAD_PATH variable value ignored when setting %load-path.
2012-01-19 22:39 bug#10557: GUILE_LOAD_PATH variable value ignored when setting %load-path Ian Hulin
2012-01-20 7:48 ` Ian Price
@ 2012-02-03 15:32 ` Andy Wingo
1 sibling, 0 replies; 4+ messages in thread
From: Andy Wingo @ 2012-02-03 15:32 UTC (permalink / raw)
To: Ian Hulin; +Cc: 10557-done
Hi Ian,
I think I agree with ijp's assessment of things. If you can point to
something in the manual that is confusing in this regard, please let us
know. Thanks!
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-02-03 15:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-19 22:39 bug#10557: GUILE_LOAD_PATH variable value ignored when setting %load-path Ian Hulin
2012-01-20 7:48 ` Ian Price
2012-01-20 8:24 ` Ian Price
2012-02-03 15:32 ` Andy Wingo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).