Recent

Author Topic: ZeosLib 13 Oct install instructions for Laz 0.9.10  (Read 14116 times)

IgD

  • Jr. Member
  • **
  • Posts: 73
    • http://www.igdsoftware.com
ZeosLib 13 Oct install instructions for Laz 0.9.10
« on: October 16, 2005, 01:08:38 am »
Using a fresh install of Laz 0.9.10 (latest stable version) I was able to install ZeosLib dated 13 Oct 05.  First fix the following bugs in ZeosLib:

1. Change ZplainPostgreSql81.pas to ZPlanPostgresSql8x.pas in zplain.lpk

<Item22>
<Filename Value="../../src/plain/ZPlainPostgreSql81.pas"/>
<UnitName Value="ZPlainPostgreSql8x"/>
</Item22>

2. Fix the following typos in zdbc.lpk:

a. Remove extra "/" from "build/"
<SearchPaths>
<OtherUnitFiles Value="../../src/dbc/"/>
<UnitOutputDirectory Value="build"/>
</SearchPaths>

b. Add missing slash to unitname value

<Item43>
<Filename Value="../../src/dbc/ZDbcASA.pas"/>
<UnitName Value="ZDbcASA/>
</Item43>

Now,  here are the installation instructions:

With Lazarus, open each of the zeos packages via Components/Open Package File in the following order:

zcore.lpk
zparsesql.lpk
zplain.lpk
zdbc.lpk

Then finally open zcomponent.lpk and compile and install this package.

Note: The first four packages only need to be compiled and cannot be installed.

Anonymous

  • Guest
RE: ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #1 on: November 09, 2005, 10:04:12 pm »
First I had to copy the "zeoslib/package" directory under C:\lazarus\components
otherwise lazarus.exe could not be rebuilt.

matthijs

  • Hero Member
  • *****
  • Posts: 537
RE: ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #2 on: November 10, 2005, 07:11:52 am »
You could remedy this by adding the path to your zeoslib directory to the lazarus searh path.
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.) :)

:( Why cannot I upload my own Avatar? :(

JShadow

  • Newbie
  • Posts: 2
RE: ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #3 on: November 11, 2005, 09:58:09 pm »
Ok, total noob here.  How does one edit the lazarus search path?

matthijs

  • Hero Member
  • *****
  • Posts: 537
RE: ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #4 on: November 12, 2005, 03:31:05 pm »
Go to Project -> Compiler Options and add the path to the Libraries path.
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.) :)

:( Why cannot I upload my own Avatar? :(

berghem

  • Jr. Member
  • **
  • Posts: 60
ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #5 on: November 13, 2005, 07:50:59 pm »
Sorry, but I use Linux (Ubuntu 5.10), I istalled Lazarus 0.9.10 and mySql, but I can't install the ZeosLib.
When I Installed ZCore it's all Ok, ZParseSql it's Ok, but when I Installed zPlain I have an error "Can't find unit ZPlainPostgreSql81, in effect I don't have this file, but I have ZPlainPostgreSql8x.pas.
Can you Help me?

P.S. Sorry for my english

SergKam

  • New Member
  • *
  • Posts: 29
ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #6 on: November 14, 2005, 07:21:59 pm »
see the pos at top?

Quote
1. Change ZplainPostgreSql81.pas to ZPlanPostgresSql8x.pas in zplain.lpk

<Item22>
<Filename Value="../../src/plain/ZPlainPostgreSql81.pas"/>
<UnitName Value="ZPlainPostgreSql8x"/>
</Item22>
Excuse for my English

berghem

  • Jr. Member
  • **
  • Posts: 60
ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #7 on: November 14, 2005, 08:45:02 pm »
The files zcore.lpk, zparsesql.lpk, zplain.lpk, zdbc.lpk are ok.
The problem now is zcomponent.lpk, I can't compile this file, the errors are  that I have 4 methods with "There is no method in an ancestor class to be overriden"
Why :(

berghem

  • Jr. Member
  • **
  • Posts: 60
ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #8 on: November 19, 2005, 10:18:02 am »
Now it's all Ok :D
I removed FPC and Lazarus after I instelled FPC and Lazarus but I didn't install FPC 2.0.0 but FPC 2.0.1.

Sorry for my english

paulochico

  • Newbie
  • Posts: 2
ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #9 on: November 27, 2005, 05:50:19 pm »
I got the same difficulties installing ZeosLib as berghem posted in Nov 13, 2005
"The files zcore.lpk, zparsesql.lpk, zplain.lpk, zdbc.lpk are ok.
 The problem now is zcomponent.lpk, I can't compile this file, the errors are that I have 4 methods with "There is no method in an ancestor class to be overriden"  "
Can anyboby help?
Thanks in advance.

berghem

  • Jr. Member
  • **
  • Posts: 60
ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #10 on: November 27, 2005, 05:59:28 pm »
Which is your FPC Version?
I resolved it changing FPC version from 2.0.0 to 2.0.1

paulochico

  • Newbie
  • Posts: 2
ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #11 on: November 27, 2005, 07:02:23 pm »
Thank you for your (very) quick answer.

Lazarus was installed with the following files:
  fpc-2.0.1-050923.src.rpm
  fpcsrc-2.0.1-050923.src.rpm
  lazarus-0.9.10-0.src.rpm

But I had installed, prior to Lazarus , a fpc version from the file fpc-2.0.0.i386-linux.tar (in http://www.freepascal.org).
I'll try to solve this conflict and i'm sure i'll get Zeos Components ok.

Anonymous

  • Guest
ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #12 on: December 28, 2005, 11:15:23 pm »
Hi, thanks for your instructions, got it to work right now. the only thing is that it is as stable as .... :-)
compiling al .lpk files went smooth, except for the zdbc.lpk. there were a lot of warnings in the messages window. is this normal?

thanks in advance

glober

  • Full Member
  • ***
  • Posts: 130
ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #13 on: December 29, 2005, 03:24:10 am »
Quote from: "Anonymous"
there were a lot of warnings in the messages window. is this normal?

I typicaly see a lot of of warnings myself. I just ignore the majority of them. It's the errors that stop compilation that you have to worry about.

Anonymous

  • Guest
ZeosLib 13 Oct install instructions for Laz 0.9.10
« Reply #14 on: February 09, 2006, 02:42:12 am »
I'm trying to install Zeos library in Lazarus over Windows XP.

I could open, compile and install all packages unless zdbc.lpk, it says, "I could not open the file .... /packages/lazarus/zdbc.lpk" I edited it like I saw in this page and try some times and crash. I tried too with the cvs version but it's the same. The file of couse exists, and have the same rights and permission that others... but It couldn't be readed by Lazarus.

what's happend? I have the last FPC and the last Lazarus.

 

TinyPortal © 2005-2018