Free BSD Compile problem

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
jaromir
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 20.01.2009, 12:52

Free BSD Compile problem

Post by jaromir »

Hello.

I have problem with compile easy sample with zeos using. FPC 2.2.2. Newest zeos version.

Problem is in ZTokenizer.pas in line 1093 where is operation
String := Strnig + Char

In this line i got a error:
invalid combination of opcode and operands

I understand what does it mean but I don't know what to do. Please help.

Regards:
Jaromir
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi Jaromir,

I build zeslib with fpc 2.2.2 for every test run. So I wonder what problem you're having exactly. What exact zeoslib version are you using? SVN, snapshot download or the official 6.6.4 release?
Can you also copy the exact piece of code (function or part of it) giving this problem? As you understand what it means, please try to explain that as well. I'm not thatgood at reading/understanding compiler error messages.

Mark
Image
jaromir
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 20.01.2009, 12:52

Post by jaromir »

Hi mdaems,

It was my mistake. That was FPC 2.2.0 version not 2.2.2. After upgrade to 2.2.2 compile was succesful.

Another my question is:

In windows You need a library: libpq74.dll. Is in FreeBSD system instaled another postgres client so aditionaly library isn't needed ??

Regards:
Jaromir
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

In Linux/Unix libpq.so is used for postgres 7. For postgres8 you can use libpq.so or libpq.so.4 . See top of ZPlainXXXXDriver.pas files for the naming
possibilities, there you can change it to your needs too.

Mark
Image
jaromir
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 20.01.2009, 12:52

Post by jaromir »

Thank You Mark for Your support.

Jaromir
Post Reply