Le 28/01/2013 10:16, Mattias Gaertner a écrit :
If this email is not spam, click here to submit the signatures to FortiGuard -
AntiSpam Service.
<http://nospammer.net/SubmitSpam/submitspam.php?id=I3RVAXkWHVZcDXRfeUJzUw__&sig=e3g1IT.ol4BoIzFkaiVlcHl4NCx2MTNwOFjQVGolZXB5eDQrdjEzcDEiObhqJWVweXg0K3YxM3AxIjmmaiVlcHl4NC92MTNwP2ykCWolZXN5eDQsdjEzbQkNVwMYURAfADhHRQJQQBsOV0YNGEBLHQx4NCx0MTN0aCMxbE5pBAsYCkFfNl1aBxxQHwALXwQDDAsaSgRUVgQJUFINBgsKAx54NCx0MTN0aCMxbFZNEQUJQhsDGlhAABsNXQ0QRBcEClZSXhNUQxUbQFAAREoXFlYVVUUaXFIaR09YHx5MCxcWV1hNDFBBARsjMWxuJWVxeXg0LG4xM3RqIzFmsHnElieL4ARtuRWUMHfU27k_>
On Mon, 28 Jan 2013 09:58:51 +0100
Antonio Fortuny wrote:
>
>
> Le 25/01/2013 09:42, Mattias Gaertner a écrit :
> >
> > Antonio Fortuny hat am 25. Januar 2013 um 09:07
> > geschrieben:
> >> Yes, again.
> >> Hi Folks.
> >>
> >> On a Linux OpenSuse x86_64, Lazarus 1.1 37432 31/05/2012, FPC 2.6.0
> >> After a successful compilation of Indy 10.5.9 package (latest SVN
> >> source) when trying to install it: BOUM !
> >> All packages up to SQLDBLaz have been compiled OK
> >> Fatal: Can't find unit system used by Lazarus
> >> while Lazarus was compiling itself.
> >> Removing the package from the installation list does not help.
> >> In a Win32 compilation and intallation of the same package was a success
> >> I'm almost sure that this error has been reported some time ago but Im
> >> not able to find it.
> >> Any ideas ?
> >
> > Maybe you mixed two Lazarus?
> >
> > If yes:
> > Close IDE.
> > Delete ~/.lazarus/bin and ~/.lazarus/packagefiles.xml.
> > Start IDE and build it clean.
> doesn't work: still asks for system unit not available
The system unit is needed to compile any unit. If some units were
compiled, then there are two possibilities:
- You have messed up your FPC install.
- You found a bug in the compiler, which is triggered by the Indy
package.
> I've installed 1.0.4 along with FPC 2.6.0: rpm's, under sudo rpm -ivh...
> First launch: asks to downgrade parameters from 1.1 to 1.0, OK.
> Some packages (outide of Lazarus and FPC folders) recompiled clean
> So far so good
> lazdaemon about to be installed:
>
> complie it: BOUM !
> Write error: Unable to create file
> "/usr/lib64/lazarus/packager/registration/fclaz.pas
> ABORT
It should never write that file. Unless you changed the package
fcl.lpk.
Sorry, I didn't change anything after install
> tools-configure build lazarus:
> Optimized IDe, gtk2, verbose, clea up automatically, restart after
> build, confirm before build, no update revision
> Button Build: BOUM !
> same error as above
>
> After installation under sudo, all folders and files have root as owner
> and all folders have permission rwxr-xr-x, same for executable files
> It sounds good for Linux permissions but a normal user can't rebuild the
> IDE, right ?
A normal user can not change files under /usr/
That's why the IDE compiles under ~/.lazarus/bin
> Something to do with permissions (chown, chmod) ?
> So what's next, doctor ?
Close IDE, delete ~/.lazarus, uninstall lazarus, fpc, fpc-src. Install
fpc-2.6.0-2.fc17.x86_64.rpm
fpc-src-2.6.0-2.fc17.x86_64.rpm
lazarus-1.0.4-0.x86_64.rpm
Install package lazdaemon.
This is exactly what I've done. But lazdaemon doesn't even compile (see
error above)
I can do it again if you ask me to do so
Mattias
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus