Forum > Databases

ZeosLib 13 Oct install instructions for Laz 0.9.10

(1/4) > >>

IgD:
Using a fresh install of Laz 0.9.10 (latest stable version) I was able to install ZeosLib dated 13 Oct 05.  First fix the following bugs in ZeosLib:

1. Change ZplainPostgreSql81.pas to ZPlanPostgresSql8x.pas in zplain.lpk

<Item22>
<Filename Value="../../src/plain/ZPlainPostgreSql81.pas"/>
<UnitName Value="ZPlainPostgreSql8x"/>
</Item22>

2. Fix the following typos in zdbc.lpk:

a. Remove extra "/" from "build/"
<SearchPaths>
<OtherUnitFiles Value="../../src/dbc/"/>
<UnitOutputDirectory Value="build"/>
</SearchPaths>

b. Add missing slash to unitname value

<Item43>
<Filename Value="../../src/dbc/ZDbcASA.pas"/>
<UnitName Value="ZDbcASA/>
</Item43>

Now,  here are the installation instructions:

With Lazarus, open each of the zeos packages via Components/Open Package File in the following order:

zcore.lpk
zparsesql.lpk
zplain.lpk
zdbc.lpk

Then finally open zcomponent.lpk and compile and install this package.

Note: The first four packages only need to be compiled and cannot be installed.

Anonymous:
First I had to copy the "zeoslib/package" directory under C:\lazarus\components
otherwise lazarus.exe could not be rebuilt.

matthijs:
You could remedy this by adding the path to your zeoslib directory to the lazarus searh path.

JShadow:
Ok, total noob here.  How does one edit the lazarus search path?

matthijs:
Go to Project -> Compiler Options and add the path to the Libraries path.

Navigation

[0] Message Index

[#] Next page

Go to full version