Hi Angus!
Bad news again:
2005-01-16 02:41:17.640 SystemUIServer[274] app path = /Applications/LyX.app
/Applications/LyX.app/Contents/MacOS/LyX
env PATH = /Applications/LyX.app/Contents/MacOS/:/usr/bin:/bin:/usr/sbin:/sbin:/ Users/vox
LyX: Creating directory /Users/vox/Library/Application Support/lyx/ and running configure...
checking for a LaTeX2e program... (pplatex latex2e latex)
+checking for "pplatex"... no
+checking for "latex2e"... no
+checking for "latex"... no
This happens when I start LyX via LaunchServices. The "env PATH =" output was
added by me in LyX::queryUserLyXDir
My usual PATH is:
vox$ echo $PATH
/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/local/bin:/ Developer/qt/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/ local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/X11R6/ bin
OK, a few minutes later (I looked up the "prepending elements to PATH" thread and found
out you think this is less nasty :-) )
If I set the PATH prefix to "/usr/local/teTeX/bin/powerpc-apple-darwin-current" in Preferences
and restart LyX to reconfigure
and restart LyX again, it works.
But it still gives the same "env PATH =" as above, so the automatic configure in
LyX::queryUserLyXDir would fail even if someone sets the correct PATH prefix.
Maybe we should add a MacOSX section at the beginning of configure to search for
TeX and other progs in /usr/local/... and /sw/bin ? Then configure could automatically
set the Path prefix.
/Andreas