Recent

Author Topic: Ubuntu + Zeos + firebird How!?  (Read 3852 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Ubuntu + Zeos + firebird How!?
« on: January 10, 2012, 01:33:45 pm »
Ubuntu + Zeos + firebird

How to configure it to not have problems?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Ubuntu + Zeos + firebird How!?
« Reply #1 on: January 10, 2012, 02:28:30 pm »
<error>Crystal ball missing</error>

Ciao Xinyiman,

I don't have experience with Zeos, but you might consider giving a bit more information, see e.g.
http://yourbugreportneedsmore.info/tatham/en.html

Otherwise people will need to guess what's wrong..
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

JD

  • Hero Member
  • *****
  • Posts: 1793
Re: Ubuntu + Zeos + firebird How!?
« Reply #2 on: January 10, 2012, 08:29:37 pm »
Ubuntu + Zeos + firebird

How to configure it to not have problems?

a) Download and install the svn version of Zeos into Lazarus
b) Install Firebird using Synaptic

That's what I did and it works fine. No other special configuration was necessary.
Windows (10, 7) - Lazarus 2.1/FPC 3.2, Delphi

Indy 10.6 series; mORMot; Zeos 7.3; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: Ubuntu + Zeos + firebird How!?
« Reply #3 on: January 13, 2012, 12:45:07 pm »
I have downloaded from here ZEOS

svn://zeos.firmos.at/zeos/trunk

compile but return this error

/usr/lib/lazarus/0.9.30/components/Zeos/src/core/ZClasses.pas(93,6) Error: No matching implementation for interface method "IUnknown.QueryInterface(const TGuid,out <Formal type>):LongInt; StdCall;" found

My lazarus version
0.9.30-2build1
fpc: 2.4.4


Why?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

fredycc

  • Sr. Member
  • ****
  • Posts: 265
Re: Ubuntu + Zeos + firebird How!?
« Reply #4 on: January 13, 2012, 03:43:32 pm »
mmm very strange, I always works with

svn://zeos.firmos.at/zeos/branches/testing

Works for Lazarus & Delphi XE2 and some times you need include some units before compile Zeos and my database es Firebird 2.5, Firebird 2.5 is included in this branch, support Events too.

My Lazarus is:
Lazarus 0.9.31 r31861 FPC 2.5.1 i386-win32-win32/win64

With Ubuntu my problems was with symlink a .so file for firebird  %)

Regards
« Last Edit: January 13, 2012, 03:46:23 pm by fredycc »

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: Ubuntu + Zeos + firebird How!?
« Reply #5 on: January 16, 2012, 12:47:53 pm »
I compiled with this
svn://zeos.firmos.at/zeos/branches/testing

Thank you

but how you solved this problem:

"With Ubuntu my problems was with symlink a .so file for firebird"
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

fredycc

  • Sr. Member
  • ****
  • Posts: 265
Re: Ubuntu + Zeos + firebird How!?
« Reply #6 on: January 16, 2012, 03:32:00 pm »
Hi xinyiman, perfect  :) now maybe you'll have the next problem in linux distros with symlink and .so file: http://www.lazarus.freepascal.org/index.php/topic,12000.msg60837.html#msg60837

Regards

 

TinyPortal © 2005-2018