Error on Lazarus 0.9.30.4

The stable tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.
Post Reply
hawkeye
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 20.01.2013, 02:53

Error on Lazarus 0.9.30.4

Post by hawkeye »

When tried to installing Zeos 7.0.3 stable on lazarus 0.9.30.4 it show warning :
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/core/ZEncoding.pas(604,37) Error: Identifier not found "CP852ToUTF8"
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/core/ZEncoding.pas(605,39) Error: Identifier not found "UTF8ToCP852"
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/core/ZEncoding.pas(657,33) Hint: Mixing signed expressions and longwords gives a 64bit result
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/core/ZEncoding.pas(899) Fatal: There were 2 errors compiling module, stopping
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/plain/ZPlainDbLibDriver.pas(1,1) Fatal: Can't find unit ZCompatibility used by ZPlainDbLibDriver
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/parsesql/ZSybaseToken.pas(1,1) Fatal: Can't find unit ZTokenizer used by ZSybaseToken
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/dbc/ZDbcConnection.pas(1,1) Fatal: Can't find unit ZClasses used by ZDbcConnection
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/component/ZPropertyEditor.pas(1,1) Fatal: Can't find unit ZClasses used by ZPropertyEditor
/usr/lib/lazarus/0.9.30.4/ide/lazarus.pp(1,1) Fatal: Can't find unit zcore used by Lazarus
Its error on zeos or lazarus?
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by 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
hawkeye
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 20.01.2013, 02:53

Post by hawkeye »

I had tried to compile the first (zcore) from five lpk that must compile manually
- http://zeos.firmos.at/viewtopic.php?t=3662
- http://zeos.firmos.at/viewtopic.php?p=16767#16767
but its not working
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/core/ZEncoding.pas(604,37) Error: Identifier not found "CP852ToUTF8"
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/core/ZEncoding.pas(605,39) Error: Identifier not found "UTF8ToCP852"
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/core/ZEncoding.pas(657,33) Hint: Mixing signed expressions and longwords gives a 64bit result
/usr/lib/lazarus/0.9.30.4/components/ZEOSDBO-7.0.3-stable/src/core/ZEncoding.pas(899) Fatal: There were 2 errors compiling module, stopping
And beside that it marks on
852: //CP852
begin
DbcConvert := @CP852ToUTF8;
PlainConvert := @UTF8ToCP852;
end;
on ZEncoding.pas
Its on ubuntu 12.04
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

hawkeye,

hmpf now i know what's wrong ))): It seems the unit LConvEncoding of LCL misses these two functions in your current LCL version.

Three suggestions:
- Update you Lazarus
- Comment the whole case for Codepage 852
- comment the WITH_LCONVENCODING define in ZeosLazarus.inc

I hope it helps..

Edit: Is theire a way to check the LCL version? So we can handle this case...
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
hawkeye
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 20.01.2013, 02:53

Post by hawkeye »

Frankly i don't know how to check LCL version but after i tried to comment Codepage 852 i didn't find some error anymore but even after restarting lazarus i still can't find Zeos component in the pallete

Edit :
I saw on the package graph under Loaded Packages-->ZComponent 7.0.3 it used LCL 1.0.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

hawkeye,

Open all Z* packages and compile them again. Then recompile Lazarus. That should solve the remaining issue.

Concerning the issue, i'll add a define around. It might be better to have a LCL version check to prevent a looping thread.
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
hawkeye
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 20.01.2013, 02:53

Post by hawkeye »

[SOLVED]
Finally after upgrade to Lazarus 1.0.4 manually (because ubuntu software centre provide only 0.9.30.2) and comment on Codepage 852, it solved

Thanks Egon 8)
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

hawkeye,

Thanks for confirmation. But this issue can become a never ending story, i think. So i'll add a define around to avoid such threats in future..
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
Post Reply