Forum > General

lazarus does not compile my (very) simple application

<< < (2/2)

chris.gordon-smith:
I've now fixed it by changing the permissions on the /usr/share/lazarus/lcl directory. Not ideal, but works for now and does not allow anything on my system other than the Lazarus installation to be affected.

Chris Gordon-Smith
http://graffiti.virgin.net/c.gordon-smith/

vrs:

--- Quote from: "Anonymous" ---I don't know if the error is the same, but for me the situation is the same (new project, compile, error) the message was:
/usr/share/fpcsrc/fcl/classes/linux/classes.pp(70) Error: Writing Resource String Table file: $1
--- End quote ---

It seems fpc wants to recompile the fcl units. That shouldn't happen. Don't put the path to the fpc source in the other unit files textbox on the paths tab in the compiler options dialog.


--- Quote ---I've now fixed it by changing the permissions on the /usr/share/lazarus/lcl directory.
--- End quote ---

To compile lazarus at least write access is needed in the units directories and lower. As you did  (the complete tree) might be the most simple solution.

Vincent.

Marc:

--- Quote from: "vrs" ---
--- Quote from: "Anonymous" ---I don't know if the error is the same, but for me the situation is the same (new project, compile, error) the message was:
/usr/share/fpcsrc/fcl/classes/linux/classes.pp(70) Error: Writing Resource String Table file: $1
--- End quote ---

It seems fpc wants to recompile the fcl units. That shouldn't happen. Don't put the path to the fpc source in the other unit files textbox on the paths tab in the compiler options dialog.


--- Quote ---I've now fixed it by changing the permissions on the /usr/share/lazarus/lcl directory.
--- End quote ---

To compile lazarus at least write access is needed in the units directories and lower. As you did  (the complete tree) might be the most simple solution.

Vincent.
--- End quote ---


For normal applications it souldn't be nececary to recompile the LCL. This will only happen if you have put the Lazarussources as part of you project sources.
Your project sould only point to the LCL units, not the source

Navigation

[0] Message Index

[*] Previous page

Go to full version