#1 2023-11-04 12:29:45

cgsousa21
Member
Registered: 2021-11-07
Posts: 4

Project lazarus not build with mormot2 and zeos

I can't build any project with mormot2 and Zeos connector for external DB access (Firebird)!

Memo using the packages!
Package adjustments:

mormot2: NOSYNDBZEOS

Zeos.inc(7.2-patches):

{$DEFINE ZEOS_DISABLE_MYSQL}
{$DEFINE ZEOS_DISABLE_POSTGRESQL}
{$DEFINE ZEOS_DISABLE_DBLIB}
{$DEFINE ZEOS_DISABLE_ADO}
{.$DEFINE ZEOS_DISABLE_INTERBASE}
{$DEFINE ZEOS_DISABLE_SQLITE}
{$DEFINE ZEOS_DISABLE_ORACLE}
{$DEFINE ZEOS_DISABLE_ASA}
{$DEFINE ZEOS_DISABLE_POOLED}
{$DEFINE ZEOS_DISABLE_OLEDB}
{$DEFINE ZEOS_DISABLE_ODBC}
...


Compile package mormot2 2.0.1: Exit code 1, Errors: 1, Hints: 2
Hint: Start of reading config file /home/gonzaga/develop/stable/fpc/bin/x86_64-linux/fpc.cfg
Hint: End of reading config file /home/gonzaga/develop/stable/fpc/bin/x86_64-linux/fpc.cfg
Verbose: Free Pascal Compiler version 3.2.2-r0d122c49 [2023/04/14] for x86_64
Verbose: Copyright (c) 1993-2021 by Florian Klaempfl and others
Verbose: Target OS: Linux for x86-64
Verbose: Compiling mormot2.pas
...
Verbose: Compiling /home/gonzaga/develop/mORMot2/src/db/mormot.db.sql.zeos.pas
mormot.db.sql.zeos.pas(60,3) Fatal: Cannot find ZDbcInterbase6 used by mormot.db.sql.zeos. Check if package zdbc is in the dependencies of package mormot2.
Verbose: Compilation aborted
Verbose: /home/gonzaga/develop/stable/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode

What could be wrong?

Offline

#2 2023-11-04 13:14:49

tbo
Member
Registered: 2015-04-20
Posts: 335

Re: Project lazarus not build with mormot2 and zeos

cgsousa21 wrote:

Compile package mormot2 2.0.1: Exit code 1, Errors: 1, Hints: 2 ...

What could be wrong?

I think you are using a mORMot2 version that was created before May 2022. It would be better to update to the current one. That's all I can help with.

With best regards
Thomas

Offline

#3 2023-11-06 11:48:16

cgsousa21
Member
Registered: 2021-11-07
Posts: 4

Re: Project lazarus not build with mormot2 and zeos

Thomas wrote:

I think you are using a mORMot2 version that was created before May 2022...

This version number refers to the lpk package, the source is downloaded directly from the master:

git clone https://github.com/synopse/mORMot2.git

I would like to know if anyone can use zeos in this

thanks,

Last edited by cgsousa21 (2023-11-06 11:57:25)

Offline

#4 2023-11-06 14:45:28

dcoun
Member
From: Crete, Greece
Registered: 2020-02-18
Posts: 392

Re: Project lazarus not build with mormot2 and zeos

Please use zeos from here: https://github.com/marsupilami79/zeoslib
tree: 8.0 patches
Tell me if you continue to have problems

Offline

#5 2023-11-06 15:06:07

cgsousa21
Member
Registered: 2021-11-07
Posts: 4

Re: Project lazarus not build with mormot2 and zeos

dcoun wrote:

tree: 8.0 patches

I have to use 7.2-patches for compatibility reasons

I've already managed to compile it, just open the momot2.lpk package and use the zdbc runtime package!

thanks,

Offline

Board footer

Powered by FluxBB