Page 1 of 1

Compilation/Install problem of cvs-26.09 with delphi 6

Posted: 03.10.2005, 16:40
by adyb
Hi,
I've tried to update from 6.1.5 stable to 6.5.1 alpha cvs 26.09.2005 on Delphi 6.Compilation works for ZCore.bpl, ZParseSql.bpl, ZPlain.bpl without error, but it gave 3 errors on ZDbc.bpl in ZDbcMySql.pas where at line 135 found 2 errors, an "undeclared identifier: 'TZMySQL41PlainDriver' " and a "missing operator or semicolon"
The third error is that he not compile ZDbcMySql.pas.
The "funny" thing is that i installed the same package compiled with the same delphi 6 on another same XP SP2 computer, with out any problem.
I would appreciate any ideea about what make the difference between those two situations...Pehaps some environment options?...Which one?
Many thanks.

Posted: 04.10.2005, 08:10
by swierzbicki
Please, follow this step before installing a new zeoslib version

- Open Delphi and uninstall all Zeos Lib packages... :
* ZCore.bpl
* ZParseSql.bpl
* ZPlain.bpl
* ZDbc.bpl
* ZComponent.dpk

- Remove path search related to zeoslib (or leave them if you will use the same folder structure)

- Close Delphi IDE
- Backup your ZeosLib folder and put it in a safe place.

- remove in your project /system32 folder everything related with zeoslib :
* ZCore.bpl
* ZParseSql.bpl
* ZPlain.bpl
* ZDbc.bpl
* ZComponent.dpk

- Dowload the latest CSV release + apply fixes discuted in "Bug in Lookup CVS Version 26 09 2005".

- Unzip it and rename the folder if needed

- Open Delphi
- Add search path (if needed)

- Open ZeosDBO.bpg and compile :
* ZCore.bpl
* ZParseSql.bpl
* ZPlain.bpl
* ZDbc.bpl

Install * ZComponent.dpk

That's all....