Page 1 of 1

[patch_done] Error installing Zeos 7 on Lazarus 1, FPC 2.6.0

Posted: 01.06.2012, 13:24
by patyit
Lazarus 1.1, latest from SVN, FPC 2.6.0, Ubuntu 11.04, Zeos7 latest from SVN.

Error: can not find unit Windows using by ZPlainDbLibDriver. :(

Posted: 01.06.2012, 14:20
by EgonHugeist
patyit,

Oh that is a post i was waiting for... I know about that issue. We are working on the FreeTDS driver support actually. I think i'll solve that bug tonight. I hope that's ok for you.

I'll inform you if that bug is gone..

Michael

Posted: 01.06.2012, 20:11
by EgonHugeist
patyit,

i've found a workaround and was able to undefine the windows unit on the DBLib unit. So i think it should compile now without any problems. But actually i'v no *nix installed. So can ou test this and confirm this please?

Rev. 1345

Michael

Posted: 01.06.2012, 22:52
by patyit
Unfortunately i found another error :

{ IZFirebirdPlainDriver }

{$IFDEF ENABLE_INTERBASE_CRYPT}
procedure TZFirebirdBaseDriver.Initialize(const LibLocation: String = '');
begin
If Assigned(FPreLoader) and not FPreLoader.Loaded then
FPreLoader.LoadNativeLibrary;
inherited Initialize(LibLocation); <---- compile error, identifier not found LibLocation
end;
{$ENDIF} { IZFirebirdPlainDriver }

Posted: 02.06.2012, 06:03
by EgonHugeist
patyit,

Nope, here you are mixing different compiled units. Your first post was correct but this one i can't believe. Please remove all compiled Zeos files, update your Zeos, compile and install the component again..

Michael

Posted: 02.06.2012, 20:31
by patyit
Hi Michael !

Sorry for delay, I was busy ...

Yes, You are right, it was a mixing of different compiled units ...
Now it is OK, and sorry for that, in the future I will double check before bothering You !

Zeos is great component pack, I'm using it more then 10 years, many thanks and keep going ! :D

Patyi Tibor

Posted: 02.06.2012, 21:24
by ism
Propose a poster

Image

Posted: 02.06.2012, 23:13
by EgonHugeist
@patyit,

no apologies needed. That's an all time issue of the most Lazarus users. It is fine that it works now. Enjoy Zeos.

@ism,

you're great again! :lol: I like it!!! :lol: :lol:

Michael