On Wed, Jun 14, 2006 at 06:48:23PM +0200, Vincent Snijders wrote:
> Tom Verhoeff wrote:
> >On Tue, Jun 13, 2006 at 10:54:55PM +0200, Tom Verhoeff wrote:
> >
> >>When I try to install the FPCUnit package under Lazarus as described in
> >>fpcunit.pdf, the recompile of Lazarus fails on step 5. I use Mac OS X.
> >>
> >>Step 5 (install fpcunitide.lpk) fails with:
> >>svn2revisioninc.pas(187) Error: Can't create assembler file:
> >>./svn2revisioninc.s
> >
> >
> >It turns out that the permissions of the directories are at the source of
> >this problem. I tried it from an administrator account, but that didn't
> >work. Then I changed the owner of the whole dirtree at
> >/usr/local/share/lazarus from root to myself. This solved the compile
> >error above.
> >
> >Two new issues arise:
> >
> > * Why is the installation (on Mac OS X) done in this way? Apparently
> > it breaks the ability to install packages. How to solve that in
> > a user-friendly way? Who is involved in this part of Lazarus?
>
> I am involved (as the person who made that installer), but I am not a
> Mac OS X user, so I rely heavily on feedback from the users.
>
> How do you think this can be improved?
Hard to say. As pointed out by Mattias, when installing a package,
it should not be necessary to write in the lazarus install directory
(except that it does happen on Mac OS X, but this is a confirmed bug,
still to be eliminated).
Of course, if one wants to install a new compiler from svn, the
sources must be downloaded somewhere, compiled, and then installed.
It seems easiest to download sources from svn into the install location,
because lcl sources need to be there anyway. In that case, certain
install directories must be writable by the account used for compiling
lazarus.
I don't have a strong technical background in Mac OS X to know how
to solve this elegantly. I am surprised that I still had the problem
when operating from an administrator account.
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PHONE: +31 40 247 41 25 | Eindhoven University of Technology
FAX: +31 40 247 54 04 | PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/ | The Netherlands
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives