[fpc-pascal] Re: DBTestframework compilation on Win64: no postgres sonnector

Reinier Olislagers reinierolislagers at gmail.com
Mon Mar 26 19:47:40 CEST 2012


On 26-3-2012 11:13, Reinier Olislagers wrote:
> Trying to compile the db test framework on FPC x64 on windows x64
> C:\Development\fpctrunk\packages\fcl-db\tests>ppcx64 dbtestframework.pas
<snip>
> sqldbtoolsunit.pas(11,17) Fatal: Can't find unit pqconnection used by SQLDBTools Unit
> Fatal: Compilation aborted
> 
> Had a quick look at
> packages\fcl-db\src\sqldb\postgres
> Makefile and Makefile.fpc but am a very slow learner with these (a.k.a.
> they look to complicated)...
Ok, fpmake.pp in that directory has
const
SqldbWithoutPostgresOSes = [win64];
...
P.SourcePath.Add('src/sqldb/postgres',
SqldbConnectionOSes-SqldbWithoutPostgresOSes);

> Should:
> 1. the uses clause in sqldbtoolsunit.pas be adapted, or
> 2. the make files for sqldb\postgres be changed or
> 3. I do something differently?
So, option 1 would be right, I suppose...

Regards,
Reinier



More information about the fpc-pascal mailing list