Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-01

Can't rebuild lazarus 0.9.30.2 on linux

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Krzysztof

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:

Unable 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 ... -> Test

Message:

    dividerbevel.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

Reply by email

Mattias Gaertner
to Krzysztof
Show quoted text 23 lines
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: Unable 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 ... -> Test Message: dividerbevel.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

The files installed by deb packages are read only for normal users. They are supposed to be kept unchanged. They can be uninstalled/updated by the debian package system.

If you want a custom Lazarus it is recommended to download the sources, for example from svn or as zip.

Mattias

Reply by email

Juha Manninen
to Krzysztof: I have clean installation of stable lazarus 0.9.30.2 with FPC 2.4.4 from ubuntu…

2012/1/7 Krzysztof

Show quoted text 8 lines
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: Unable to find file "dividerbevel.pas".

...

A clean build usually helps. Check the "Clean All" checkbutton in Build Lazarus dialog.

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120107/6c344cdd/attachment.html>

Reply by email