Page 1 of 1

Error installing Zeos SVN 990 on Linux-Lazarus

Posted: 10.02.2012, 19:26
by patyit
Hi all Zeos developers !

I like to try Egonhugeists version for UTF8 Firebird 2.5.1 encoding but I can't compile and install new Zeos components from latest svn rev. 990.
I got a fallowing error messages :

first try it from testing-egonhugeist :

../testing-egonhugeist/src/component/ZAbstractConnection.pas(138,52)
Error: Identifier not found "TZClientCodePageOptions"

then try it from trunk :

../trunk/src/component/ZAbstractConnection.pas(1199,25)
Error: Identifier idents no member "GetTriggers"

I using Ubuntu 11.04 i386, GTK 2, FPC 2.6.0, Lazarus SVN Rev.35294, i386-linux-gtk 2

My fellow told mi he can install it on windows ... I don't have Windows to tray it,
but anyway I like to do on Linux ... (sorry for my english ...) thanks, Patyi. :cry:

Posted: 11.02.2012, 11:55
by EgonHugeist
patyit,

normaly it does'nt matter if Windows or Linux. Did you use an older rev. before? Have you set the correct searchpath to your Option-properties of your used compiler? Be shure you've deleted all old *.dcu's and no searchpath points to old sources.

Can you please check this? And do a detailed bugreport/compiler-log for me please?

regards egonhugeist

Posted: 11.02.2012, 13:31
by patyit
Hi EgonHugeist !

Thanks for advice, yes I have installed an older rev. and after removing and cleaning I found another error on compile time, and have to modify the fallowing code :

ZPlainFirebirdDriver.pas

TZFirebirdBaseDriver = class (TZAbstractPlainDriver, IZPlainDriver,
IZInterbasePlainDriver)
FIREBIRD_API : TZFIREBIRD_API;
FPreLoader : TZNativeLibraryLoader; // moved here from protected declaration
protected
{$IFDEF CHECK_CLIENT_CODE_PAGE}
procedure LoadCodePages; override;
function GetCompilerSaveCodePageName: String; override;
{$ENDIF}
{$IFDEF ENABLE_INTERBASE_CRYPT}
// FPreLoader : TZNativeLibraryLoader; // moved up before protected declarations
procedure Initialize; virtual;
{$ENDIF}
procedure LoadApi; override;
public
constructor Create;
{$IFDEF ENABLE_INTERBASE_CRYPT}
destructor Destroy; override;
{$ENDIF}

After this I have compiled and installed Zeos from testing-egonhugeist folder.
Pleas check the modification ... (trunk has same problem !)

Today I will test the functionality of components on Firebird 2.5.1 and I will inform you about results.

Best regards : Patyi.

Posted: 11.02.2012, 13:41
by EgonHugeist
Thanks, commited your changes(rev 956). Any other issues?

Best regards