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

Reinier Olislagers reinierolislagers at gmail.com
Mon Mar 26 11:13:18 CEST 2012


Trying to compile the db test framework on FPC x64 on windows x64 *), I
get a missing PostgreSQL connector:

C:\Development\fpctrunk\packages\fcl-db\tests>ppcx64 dbtestframework.pas
Free Pascal Compiler version 2.7.1 [2012/03/26] for x86_64
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Win64 for x64
Compiling dbtestframework.pas
Compiling toolsunit.pas
Compiling sqldbtoolsunit.pas
sqldbtoolsunit.pas(11,17) Fatal: Can't find unit pqconnection used by
SQLDBTools
Unit
Fatal: Compilation aborted

In packages\fcl-db\units\x86_64-win64 there was indeed no pq*.*

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)...
Saw they depended on the postgres unit, which was compiled in my case.

Don't have much experience with PostgreSQL, so I don't know whether 64
bit windows clients actually exist.
(Note: remember people complaining about lack of PostgreSQL support on
Win64 on the forums, but a quick search in the bug tracker gave no results.)

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?


Thanks,
Reinier

*) part of my quest to boldly go where nobody has gone before and get
the test framework running on Firebird embedded x64...



More information about the fpc-pascal mailing list