On Feb 14, 2005, at 12:45 PM, Angus Leeming wrote:
Angus Leeming wrote:Thanks, Bennett. What that tells me is that the problem doesn't lie in PutEnv at all. It lies in the code that calls PutEnv.
I have a nasty feeling that this, or something like it, will fix the problem (still in src/support/filetools.C)
Actually, while we're at it, let's add yet more diagnostic info:
Env var "PATH", "/usr/bin:/bin:/usr/sbin:/sbin:/Users/bennett", is prepended with "/Applications/LyX-136.app/Contents/MacOS/"
setEnvPath elem: /Applications/LyX-136.app/Contents/MacOS/
setEnvPath elem: /usr/bin
setEnvPath elem: /bin
setEnvPath elem: /usr/sbin
setEnvPath elem: /sbin
setEnvPath elem: /Users/bennett
setEnvPath calling PutEnv(PATH=)
result:
lyxrc.path_prefix is /usr/bin:/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin- current:/usr/X11R6/bin:/sw/bin:/opt/local/teTeX/bin
Env var "PATH", "", is prepended with "/usr/bin:/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin- current:/usr/X11R6/bin:/sw/bin:/opt/local/teTeX/bin"
setEnvPath elem: /usr/bin
setEnvPath elem: /usr/local/bin
setEnvPath elem: /usr/local/teTeX/bin/powerpc-apple-darwin-current
setEnvPath elem: /usr/X11R6/bin
setEnvPath elem: /sw/bin
setEnvPath elem: /opt/local/teTeX/bin
setEnvPath calling PutEnv(PATH=)
result: