[SOLVED] Can't rebuild lazarus lazarus / 1-Linux ---------------------------------------------------------------------- Dibo · 2012-01-07 16:36 Hi, I have clean installation of stable lazarus 0.9.30.2 with FPC 2.4.4 from ubuntu repository. I can install components, but I changed something in lazarus source and want rebuild it. So I click on "Tools -> Build lazarus with profile: Build All" and then popup window appear with error: QuoteUnable to find file "dividerbevel.pas". If it belongs to your project, check search path in Project->Compiler Options...->Search Paths->Other Unit Files. If this file belongs to a package, check the appropriate package compiler options. If this file belongs to lazarus, make sure compiling clean. If the file belongs to FPC then check fpc.cfg. If unsure, check Project -> CompilerOptions ... -> TestMessage: Quotedividerbevel.pas(58,38) Fatal: Can't find unit DividerBevel used by BuildLazDialog After this I can't install new components anymore (this same problem appear). I have full permissions too /usr/lib/lazarus Regards ---------------------------------------------------------------------- Martin_fr · 2012-01-07 19:08 Make sure the package LazControls is installed. It is in the components folder It should always be installed, not sure how you got to not having it. ---------------------------------------------------------------------- Dibo · 2012-01-09 18:18 I changed my habit. I don't use deb packages anymore. Now I have stable free pascal 2.6.0 installed normally on linux and I'm creating lazarus from SVN using make (but build from lazarus tools menu works too). Then I run lazarus binary from svn directory and everything works fine. No problems with permissions and directorys everything is now in my local folder. Thanks.