Similar problem here.
It seems to be a permissions problem.
In my case the lyx folder under Library/texmf/tex/latex was owned by
root and the installer could not copy the "Lyx's additional classes
and styles". I guess the reason is that he folder originally had been
created by a LyX 1.51 installer, which required root privileges to run.
A simple "sudo chwon -R me Library/texmf/tex/latex/lyx" solved the
issue.
Daniel
On 18.12.2007, at 17:34, Maria Gouskova wrote:
Dear LyX users,
On Dec 18, 2007 8:27 AM, Bennett Helm <[EMAIL PROTECTED]> wrote:
On Dec 18, 2007, at 4:45 AM, [EMAIL PROTECTED] wrote:
Dear Lyxers,
Yesterday I installed the new 1.5.3 binary for Mac on my MacBook
Pro.
While running the installer, three errors showed up:
1) ERROR: Cannot install preview files
2) ERROR: Cannot install Srcltx files
3) Cannot install LyX's additonal LaTex.cls and .sty files
After thtat, the Installation reports says: No need to update TeX
installation.
My question is: As I don't have to update TeX installation... are
those
errors normal????
I had the same problem. Details below.
I updated the installer in an attempt to remove the requirement of an
administrator's password. Consequently, all these files are now
installed in ~/Library/texmf/tex/latex. So the question is: why is
this change failing for you? -- Can you provide more details?
* Is this a first-time installation, or are you upgrading? If
upgrading, from which previous version of LyX?
Upgrading from 1.5.2.
* Do you have preview and srcltx folders in ~/Library/texmf/tex/
latex? If so, who owns these folders and accompanying files? (You?
root? some other user on your machine?)
Yes. The file preview.sty is read-only for me, but read+write for the
"system." When I tried changing the permissions on the folders and
files, Mac OS required entering the password.
* Are you installing LyX from an administrator's account?
Mine is an administrator account on the Mac, as in "Allow this user to
administer this computer" is checked in system prefs>accounts.
* When you run the installer, can you generate a report and send it
to the list? (There's a button to do this at the end of the
installation procedure.)
The installer script produced this:
1. Removing obsolete files ....
... Done removing obsolete files.
2. Testing to see if old LyX user's folder should be moved to new
location ....
• Old LyX user's folder exists at ~/Library/'Application
Support'/LyX-1.4/. This was left untouched bec
LyX user's folder already exists at the new location,
~/Library/'Application Support'/LyX-1.5/.
... Done moving LyX user's directory to new location.
3. Tidying up your preferences file to reflect new location of LyX
user's directory ....
... Done.
4. Installing default LyX templates ....
... Done installing default LyX templates.
5. Installing LaTeX files ....
• Found TeX installation at /usr/local/teTeX/bin/i386-apple-darwin-
current.
• Local TeX directory set to ~/Library/texmf.
*** ERROR: Cannot install Preview files.
*** ERROR: Cannot install Srcltx files.
*** ERROR: Cannot install LyX's additional LaTeX .cls and .sty files.
• No need to update TeX installation.
... Done.
BTW, I don't know about the original reporter's OS, but mine is
10.5.1. I'd like to know if this is a general Mac problem or a
Leopard-specific one, but my guess is it's one of Leopard's many dark
spots.
Maria