Error installing Zeos SVN 990 on Linux-Lazarus

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
patyit
Junior Boarder
Junior Boarder
Posts: 37
Joined: 10.02.2012, 18:39

Error installing Zeos SVN 990 on Linux-Lazarus

Post 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:
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post 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
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
patyit
Junior Boarder
Junior Boarder
Posts: 37
Joined: 10.02.2012, 18:39

Post 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.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Thanks, commited your changes(rev 956). Any other issues?

Best regards
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Locked