Has guile version check changed?

Derek Atkins warlord at MIT.EDU
Sat Oct 21 18:29:53 EDT 2006


Actually, 'env' does export to children.  That's the whole point of 'env'.

"man env" for more info.

-derek

Quoting Chris Shoemaker <c.shoemaker at cox.net>:

>
> 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
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list