[Sqlrelay-discussion] compiling error with postgres
Brought to you by:
mused
|
From: Felipe C. <fel...@te...> - 2006-02-15 21:55:20
|
Hello,
I am trying to compile it on a linux machine, and I have some error related
to postgres.
I would be very thankful if someone could help me.
./configure \
--disable-oracle --disable-msql \
--disable-sqlite \
--disable-freetds \
--disable-sybase \
--disable-odbc \
--disable-db2 \
--disable-interbase \
--disable-mdbtools \
--with-postgresql-prefix=3D/var/lib/pgsql
***** PostgreSQL *************
checking if PostgreSQL can be dynamically linked without -lcrypt... yes
checking if PostgreSQL has PQfmod... yes
checking if PostgreSQL has PQsetNoticeProcessor... yes
checking if PostgreSQL has PQexecParams... yes
postgresql libs... -lpq
******************************
***** Summary ***********************************************
Version : 0.37
API's : C++ C Perl Python PHP
Connections : Oracle7 no Oracle8 no
MySQL dynamic mSQL no
PostgreSQL dynamic SQLite no
FreeTDS no Sybase no
ODBC no DB2 no
Interbase no MDB Tools no
*************************************************************
make -C postgresql all
make[3]: Entrando no diret=F3rio `/usr/local/src/sqlrelay-0.37
/src/connections/postgresql'
/bin/sh ../../../libtool --mode=3Dcompile g++ -Wall -pipe -pthread -I./
-I../../../ -I../../../src/common -I../../../src/util
-I../../../src/connection -I/usr/local/firstworks/include -pthread
-I../../../src/api/c++/include -c postgresqlconnection.C -o
postgresqlconnection.lo
g++ -Wall -pipe -pthread -I./ -I../../../ -I../../../src/common
-I../../../src/util -I../../../src/connection
-I/usr/local/firstworks/include -pthread -I../../../src/api/c++/include -c
postgresqlconnection.C -fPIC -DPIC -o .libs/postgresqlconnection.o
postgresqlconnection.C: In member function `virtual bool
postgresqlcursor::prepareQuery(const char*, unsigned int)':
postgresqlconnection.C:236: `PQprepare' undeclared (first use this function=
)
postgresqlconnection.C:236: (Each undeclared identifier is reported only
once
for each function it appears in.)
make[3]: ** [postgresqlconnection.lo] Erro 1
make[3]: Saindo do diret=F3rio `/usr/local/src/sqlrelay-0.37
/src/connections/postgresql'
make[2]: ** [all] Erro 2
make[2]: Saindo do diret=F3rio `/usr/local/src/sqlrelay-0.37/src/connection=
s'
make[1]: ** [all] Erro 2
make[1]: Saindo do diret=F3rio `/usr/local/src/sqlrelay-0.37/src'
make: ** [all] Erro 2
|