Actually, 'env' does export to children. That's the whole point of 'env'. "man env" for more info.
-derek Quoting Chris Shoemaker <[EMAIL PROTECTED]>: > > 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@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 [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel