Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-08

Lazarus & Databases under OSX

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Giuseppe Luigi Punzi Ruiz

Hi,

I asked this on LAzarus Forums, but I will ask on this way too.

I need to do some little projects using SQLite and Firebird (probably). I would like to run this applications on Windows&Mac.

I tried to install ZeosDBO without success, getting the error: Users/glpunzi/desarrollo/Lazarus/ZEOSDBO-6.6.3-stable/src/plain/ ZPlainLoader.pas(97,22) Fatal: Can't find unit libc used by ZPlainLoader

I tried to delete all references to libc, and compiled Ok, but then, I get an error rebuilding Lazarus.

Compile IDE (without linking)" completed
"Compiling package zcore 6.6.3" completed
/usr/local/share/lazarus/components/printers/printersdlgs.pp(42,14) Error: Forward declaration not solved "TPageSetupDialog.Execute:Boolean" /usr/local/share/lazarus/components/printers/printersdlgs.pp(51,14) Error: Forward declaration not solved
"TPrinterSetupDialog.Execute:Boolean"
/usr/local/share/lazarus/components/printers/printersdlgs.pp(58,14) Error: Forward declaration not solved "TPrintDialog.Execute:Boolean" /usr/local/share/lazarus/components/printers/printersdlgs.pp(110) Fatal: There were 3 errors compiling module, stopping

I tried to install SQLDb package too, but still having problems, getting:
/usr/local/share/lazarus/components/sqldb/registersqldb.pas(1,1) Fatal: Can't find unit dbf_prscore used by bufdataset_parser

Lazarus and FPC are the stable versions. 2.2.0 for FPC, and 0.9.24 beta for IDE.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080831/d500cf87/attachment.html

Reply by email

Giuseppe Luigi Punzi Ruiz
to Giuseppe Luigi Punzi Ruiz

I forgot to finish the mail :P

Thanks in advance for your time :)

El 31/08/2008, a las 20:31, Giuseppe Luigi Punzi Ruiz escribi?:

Show quoted text 35 lines
Hi, I asked this on LAzarus Forums, but I will ask on this way too. I need to do some little projects using SQLite and Firebird (probably). I would like to run this applications on Windows&Mac. I tried to install ZeosDBO without success, getting the error: Users/glpunzi/desarrollo/Lazarus/ZEOSDBO-6.6.3-stable/src/plain/ ZPlainLoader.pas(97,22) Fatal: Can't find unit libc used by ZPlainLoader I tried to delete all references to libc, and compiled Ok, but then, I get an error rebuilding Lazarus. Compile IDE (without linking)" completed "Compiling package zcore 6.6.3" completed /usr/local/share/lazarus/components/printers/printersdlgs.pp(42,14) Error: Forward declaration not solved "TPageSetupDialog.Execute:Boolean" /usr/local/share/lazarus/components/printers/printersdlgs.pp(51,14) Error: Forward declaration not solved "TPrinterSetupDialog.Execute:Boolean" /usr/local/share/lazarus/components/printers/printersdlgs.pp(58,14) Error: Forward declaration not solved "TPrintDialog.Execute:Boolean" /usr/local/share/lazarus/components/printers/printersdlgs.pp(110) Fatal: There were 3 errors compiling module, stopping I tried to install SQLDb package too, but still having problems, getting: /usr/local/share/lazarus/components/sqldb/registersqldb.pas(1,1) Fatal: Can't find unit dbf_prscore used by bufdataset_parser Lazarus and FPC are the stable versions. 2.2.0 for FPC, and 0.9.24 beta for IDE.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080831/89504c3e/attachment.html

Reply by email

Luca Olivetti
to Giuseppe Luigi Punzi Ruiz: I asked this on LAzarus Forums, but I will ask on this way too. I need to do some little…

En/na Giuseppe Luigi Punzi Ruiz ha escrit:

Show quoted text 10 lines
Hi, I asked this on LAzarus Forums, but I will ask on this way too. I need to do some little projects using SQLite and Firebird (probably). I would like to run this applications on Windows&Mac. I tried to install ZeosDBO without success, getting the error: Users/glpunzi/desarrollo/Lazarus/ZEOSDBO-6.6.3-stable/src/plain/ZPlainLoader.pas(97,22) Fatal: Can't find unit libc used by ZPlainLoader

[...]

Lazarus and FPC are the stable versions. 2.2.0 for FPC, and 0.9.24 beta for IDE.

I'd suggest using fpc 2.2.2 and a snapshot of lazarus. I'm using the same combination (zeosdbo-6.6.3 with sqlite, fpc 2.2.2, svn lazarus) under windows and linux (alas, no osx) with apparent[*] success. If you don't feel like compiling lazarus from svn, you can find the snapshots here:
http://www.hu.freepascal.org/lazarus/

[*]I've only done limited testing with a relatively simple project where I previously used the svn version of zeos.

Bye

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007

Reply by email

Giuseppe Luigi Punzi
to Luca Olivetti

I will try when back to home.

Thanks.

Luca Olivetti escribi?:

Show quoted text 34 lines
En/na Giuseppe Luigi Punzi Ruiz ha escrit: > Hi, > > I asked this on LAzarus Forums, but I will ask on this way too. > > I need to do some little projects using SQLite and Firebird (probably). > I would like to run this applications on Windows&Mac. > > I tried to install ZeosDBO without success, getting the error: > Users/glpunzi/desarrollo/Lazarus/ZEOSDBO-6.6.3-stable/src/plain/ZPlainLoader.pas(97,22) > Fatal: Can't find unit libc used by ZPlainLoader > [...] > Lazarus and FPC are the stable versions. 2.2.0 for FPC, and 0.9.24 beta > for IDE. > I'd suggest using fpc 2.2.2 and a snapshot of lazarus. I'm using the same combination (zeosdbo-6.6.3 with sqlite, fpc 2.2.2, svn lazarus) under windows and linux (alas, no osx) with apparent[*] success. If you don't feel like compiling lazarus from svn, you can find the snapshots here: http://www.hu.freepascal.org/lazarus/ [*]I've only done limited testing with a relatively simple project where I previously used the svn version of zeos. Bye

Reply by email

Joost van der Sluis
to Giuseppe Luigi Punzi Ruiz: I asked this on LAzarus Forums, but I will ask on this way too. I need to do some little…

Op zondag 31-08-2008 om 20:31 uur [tijdzone +0200], schreef Giuseppe Luigi Punzi Ruiz:

Show quoted text 16 lines
Hi, I asked this on LAzarus Forums, but I will ask on this way too. I need to do some little projects using SQLite and Firebird (probably). I would like to run this applications on Windows&Mac. I tried to install ZeosDBO without success, getting the error: Users/glpunzi/desarrollo/Lazarus/ZEOSDBO-6.6.3-stable/src/plain/ZPlainLoader.pas(97,22) Fatal: Can't find unit libc used by ZPlainLoader I tried to delete all references to libc, and compiled Ok, but then, I get an error rebuilding Lazarus.

libc is indeed only available on linux/i386. Maybe you could send a bug-report to the ZEOS-people to ask if they can remove the libc-references properly.

I tried to install SQLDb package too, but still having problems, getting: /usr/local/share/lazarus/components/sqldb/registersqldb.pas(1,1) Fatal: Can't find unit dbf_prscore used by bufdataset_parser

That's because tDbf is not compiled by default on OS/X in fpc 2.2.0. This is changed in fpc 2.2.2.

Joost.

Reply by email