[Lazarus] Unable to find file "staticpackages.inc"

Norbert Crettol norbert.crettol at gmail.com
Fri Mar 13 15:48:16 CET 2015

Hello Lazarus community,

This is my first post to this mailing-list. Let me first
introduce myself: my name is Norbert Crettol, from Switzerland.

I'm a former Turbo Pascal user. My first version was
Turbo Pascal v.1.0 for CP/M (on Z80 processor). ;-) I've
not been doing any Pascal development for many years now.
I've no experience with Lazarus.

Now, my problem:

On a fresh Debian Jessie installation, I've installed
Lazarus and fpc (see the list of installed packages below).

Now, I'm trying to install a new package: lazdatadict.
I went to Package->Install/Uninstall Packages and moved
lazdatadict from "Available..." to "Installed" and
clicked on "Save and rebuild IDE". It compiles for a
while and then displays an error message:
Unable to find file "staticpackages.inc".
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

I've checked the newly created ~/.lazarus folder and a file
called "staticpackages.inc" exists there. I've tried to add
/path/to/my/home/.lazarus in "Other Unit Files" as suggested
by the error message but this leads to other errors.

I'm lost. Is that an purely Debian error? I've googled a little
but found nothing satisfying.

Here are some data from Lazarus:
Lazarus version: 1.2.4+dfsg2-1
Lazarus svn revision: 43696
Lazarus build date: 2015/02/17
Lazarus was compiled for x86_64-linux
Lazarus was compiled with fpc 2.6.4

Here is a list of installed packages:
~$ dpkg -l | grep lazarus
ii  lazarus
ii  lazarus-1.2.4
ii  lazarus-doc-1.2.4
ii  lazarus-ide-1.2.4
ii  lazarus-ide-gtk2-1.2.4
ii  lazarus-ide-qt4
ii  lazarus-ide-qt4-1.2.4
ii  lazarus-src-1.2.4
~$ dpkg -l | grep fpc
ii  fpc
ii  fpc-2.6.4
ii  fpc-source
ii  fpc-source-2.6.4
~$ dpkg -l | grep fp-
ii  fp-compiler
ii  fp-compiler-2.6.4
ii  fp-ide-2.6.4
ii  fp-units-base
ii  fp-units-base-2.6.4
ii  fp-units-db
ii  fp-units-db-2.6.4
ii  fp-units-fcl
ii  fp-units-fcl-2.6.4
ii  fp-units-fv-2.6.4
ii  fp-units-gfx
ii  fp-units-gfx-2.6.4
ii  fp-units-gnome1-2.6.4
ii  fp-units-gtk-2.6.4
ii  fp-units-gtk2
ii  fp-units-gtk2-2.6.4
ii  fp-units-math
ii  fp-units-math-2.6.4
ii  fp-units-misc
ii  fp-units-misc-2.6.4
ii  fp-units-multimedia-2.6.4
ii  fp-units-net-2.6.4
ii  fp-units-rtl-2.6.4
ii  fp-utils
ii  fp-utils-2.6.4

Can someone help?

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150313/92d2c180/attachment-0002.html>

More information about the Lazarus mailing list