Recent

Author Topic: Error while installing ZeosDBO  (Read 6341 times)

Ljubo Raicevic

  • Newbie
  • Posts: 3
Error while installing ZeosDBO
« on: July 03, 2009, 01:22:27 pm »
Hi all,

I have ubuntu 9.04 and lazarus 0.9.26-4 (I installed it through synaptic without any problems).
I followed the manual on http://wiki.lazarus.freepascal.org/Zeos_tutorial and tried to install zeos components, but when I come to rebuilding lazarus I get an error and rebuilding stops in ZPlainFirebird10.pas at

{$IFDEF ENABLE_INTERBASE_CRYPT}
  private
    FPreLocations: TStringDynArray;
    FPreHandle: LongWord;

I removed zeos packages and tried to rebuild lazarus and it worked, but when I tried it again with zeos it stopped at the same line. What am I doing wrong?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2674
Re: Error while installing ZeosDBO
« Reply #1 on: July 03, 2009, 06:05:30 pm »
I don't know what error you get, but I hess something about TStringDynArray
There should be Types in the uses clause
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Ljubo Raicevic

  • Newbie
  • Posts: 3
Re: Error while installing ZeosDBO
« Reply #2 on: July 03, 2009, 06:30:04 pm »
I think it was 'The package ZPlainFirebird10 failed to compile' and 'FPreLocations: TStringDynArray;' line became highlighted.
But now I have another problem - after trying to install zeos for a few times, I get a new error. It says 'The package "zplain 6.6.3" failed to compile'.
I think I read somewhere that it helped when people compiled lazarus from source. Could that solve this problem? If it could, I would appreciate link to some sort of a manual or something

Thanks

cpalx

  • Hero Member
  • *****
  • Posts: 754
Re: Error while installing ZeosDBO
« Reply #3 on: July 03, 2009, 08:08:55 pm »
try to copy all units (*.pas) where the lazarus package is.

Ljubo Raicevic

  • Newbie
  • Posts: 3
Re: Error while installing ZeosDBO
« Reply #4 on: July 04, 2009, 01:04:41 am »
I tried copying all units to the same directory where zcomponent.lpk is located, but it still doesn't work. I get the same message 'The package "zplain 6.6.3" failed to compile', but thanks anyway cpalx.
Any other ideas?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2674
Re: Error while installing ZeosDBO
« Reply #5 on: July 04, 2009, 01:26:27 am »
Don't copy the source files, this will end in all kinds of ppu errors when packages are updated.
The lpk should set the path right.

Quote
The package ZPlainFirebird10 failed to compile
is not a compiler message, the compiler error wil give more detail.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

cpalx

  • Hero Member
  • *****
  • Posts: 754
Re: Error while installing ZeosDBO
« Reply #6 on: July 04, 2009, 05:39:18 am »
I dont know, but that was the way it worked for me

 

TinyPortal © 2005-2018