Zitat von Dave Coventry <dgcoventry@gmail.com>:

> In an attempt to get my Postgres database app running I have tried to
> install the SQL db components as follows:
>
> I've gone into Components->Installed Packages.
>
> I have selected SQLDBLaz 1.0 and Selected 'Install Selection'.
>
> Then, when I click 'Save and Rebuild IDE', it says:
>  /usr/lib/lazarus/components/sqldb/registersqldb.pas(1,1) FATAL:
> Cannot find unit GRIDS used by PropEdits
>
> Is there something I need to have done? Where is the unit Grids?

Grids is a LCL unit.

The error message 'cannot find the unit' is often misleading.
The compiler has probably found the grids.ppu (the compiled unit), but for some
reason it does not like it. For example it looks older than some dependent
units.
Please delete or rename the directory ~/.lazarus/lib, restart the IDE and try
install sqldblaz again.
If this does not work:
As far as I remember there was a problem with the 0.9.24 debian packages and
installing components. I don't remember the details, but maybe you are unlucky.
The easiest way is to copy lazarus to your home directory:

http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Example_2_:_A_normal_installed_lazarus_plus_a_copy_in_the_home_directory


> I'm using 0.9.24 Beta Date: 1-4-08, on Ubuntu Hardy.
>
> The machine is not connected to the Internet.


Mattias


