On Aug 30, 2007, at 2:51 PM, Richard Heck wrote:

Karen Chang wrote:
Hi,

I just installed LyX onto a Mac and got the following error:

Cannot run texhash command to update Tex installation.  Run Manually.

How would I go about doing that? Have I done something wrong during the
installation?

Open a terminal window (maybe it has some special Mac name, I don't know) and type "texhash", return. But if LyX couldn't run it, I'm doubtful you can, either. Do you have LaTeX installed? If not, you need to install that first before LyX will give you any output.

On Mac, it's Terminal.app (in /Applications/Utilities/). If you simply run "texhash", you'll get some warnings about certain directories not being writable (because you don't have permission). They can safely be ignored or, if you like, you can run "sudo texhash" from an administrative account and give your administrative password.

I agree with Richard: if the LyX installer couldn't run texhash, there's likely something wrong with the TeX installation. (Did you install MacTeX, e.g.? -- <http://www.tug.org/mactex/>.)

Bennett

Reply via email to