Skip site navigation (1) Skip section navigation (2)

problems i nstalling pgsql odbc driver with more detail

From: "Nadir Al-marzouki" <nadir_512(at)hotmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: problems i nstalling pgsql odbc driver with more detail
Date: 2007-04-02 10:56:16
Message-ID: BAY144-F890332D67EDFB401302F6D6600@phx.gbl (view raw or flat)
Thread:
Lists: pgsql-odbc
I have sent an email regarding this issue however I am new to unix I copied 
the last 4 lines from Make command output. This is exactly what I get after 
executing make command when I am in pgsql odbc dir in my Bash shell mac os 
x.4:

Nadir:~ nadiralmarzouki$ cd /usr/local/src/psqlodbc-08.02.0200/
Nadir:/usr/local/src/psqlodbc-08.02.0200 nadiralmarzouki$ make
make  all-am
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. 
   -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline 
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -I/include 
  -g -O2 -MT connection.lo -MD -MP -MF ".deps/connection.Tpo" -c -o 
connection.lo connection.c; \
then mv -f ".deps/connection.Tpo" ".deps/connection.Plo"; else rm -f 
".deps/connection.Tpo"; exit 1; fi
rm: connection.loT: Permission denied
rm: connection.loT: Permission denied
./libtool: line 1180: connection.loT: Permission denied
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -Wall -Wmissing-prototypes 
-Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels 
-fno-strict-aliasing -I/include -g -O2 -MT connection.lo -MD -MP -MF 
.deps/connection.Tpo -c connection.c  -fno-common -DPIC -o 
.libs/connection.o
In file included from connection.c:17:
/include/libpq-fe.h:29:26: error: postgres_ext.h: No such file or directory
In file included from connection.c:17:
/include/libpq-fe.h:309: warning: type defaults to 'int' in declaration of 
'Oid'
/include/libpq-fe.h:309: error: parse error before '*' token
/include/libpq-fe.h:316: warning: type defaults to 'int' in declaration of 
'Oid'
/include/libpq-fe.h:316: error: parse error before '*' token
/include/libpq-fe.h:330: warning: type defaults to 'int' in declaration of 
'Oid'
/include/libpq-fe.h:330: error: parse error before '*' token
/include/libpq-fe.h:337: warning: type defaults to 'int' in declaration of 
'Oid'
/include/libpq-fe.h:337: error: parse error before '*' token
/include/libpq-fe.h:396: error: parse error before 'PQftable'
/include/libpq-fe.h:396: warning: type defaults to 'int' in declaration of 
'PQftable'
/include/libpq-fe.h:396: warning: data definition has no type or storage 
class
/include/libpq-fe.h:399: error: parse error before 'PQftype'
/include/libpq-fe.h:399: warning: type defaults to 'int' in declaration of 
'PQftype'
/include/libpq-fe.h:399: warning: data definition has no type or storage 
class
/include/libpq-fe.h:404: error: parse error before 'PQoidValue'
/include/libpq-fe.h:404: warning: type defaults to 'int' in declaration of 
'PQoidValue'
/include/libpq-fe.h:404: warning: data definition has no type or storage 
class
/include/libpq-fe.h:410: error: parse error before 'PQparamtype'
/include/libpq-fe.h:410: warning: type defaults to 'int' in declaration of 
'PQparamtype'
/include/libpq-fe.h:410: warning: data definition has no type or storage 
class
/include/libpq-fe.h:484: error: parse error before 'Oid'
/include/libpq-fe.h:489: error: parse error before 'lo_creat'
/include/libpq-fe.h:489: warning: type defaults to 'int' in declaration of 
'lo_creat'
/include/libpq-fe.h:489: warning: data definition has no type or storage 
class
/include/libpq-fe.h:490: error: parse error before 'lo_create'
/include/libpq-fe.h:490: error: parse error before 'Oid'
/include/libpq-fe.h:490: warning: type defaults to 'int' in declaration of 
'lo_create'
/include/libpq-fe.h:490: warning: data definition has no type or storage 
class
/include/libpq-fe.h:492: error: parse error before 'Oid'
/include/libpq-fe.h:493: error: parse error before 'lo_import'
/include/libpq-fe.h:493: warning: type defaults to 'int' in declaration of 
'lo_import'
/include/libpq-fe.h:493: warning: data definition has no type or storage 
class
/include/libpq-fe.h:494: error: parse error before 'Oid'
connection.c: In function 'PGAPI_Connect':
connection.c:118: warning: pointer targets in passing argument 1 of 
'make_string' differ in signedness
connection.c:132: warning: pointer targets in passing argument 1 of 
'make_string' differ in signedness
connection.c:136: warning: pointer targets in passing argument 1 of 
'make_string' differ in signedness
connection.c: In function 'CC_Constructor':
connection.c:386: warning: implicit declaration of function 'INIT_CONNLOCK'
connection.c: In function 'CC_cursor_count':
connection.c:450: warning: implicit declaration of function 
'CONNLOCK_ACQUIRE'
connection.c:457: warning: implicit declaration of function 
'CONNLOCK_RELEASE'
connection.c: In function 'CC_initial_log':
connection.c:1223: warning: pointer targets in passing argument 1 of 
'pg_CS_code' differ in signedness
connection.c:1223: warning: pointer targets in assignment differ in 
signedness
connection.c:1228: warning: pointer targets in passing argument 1 of 
'pg_CS_code' differ in signedness
connection.c:1228: warning: pointer targets in assignment differ in 
signedness
connection.c:1233: warning: pointer targets in passing argument 1 of 
'pg_CS_code' differ in signedness
connection.c: In function 'CC_connect':
connection.c:1706: warning: pointer targets in passing argument 1 of 
'pg_CS_code' differ in signedness
connection.c: In function 'CC_send_query':
connection.c:2131: warning: statement with no effect
connection.c: In function 'CC_send_function':
connection.c:2627: warning: statement with no effect
connection.c: In function 'CC_setenv':
connection.c:2803: warning: pointer targets in passing argument 2 of 
'PGAPI_ExecDirect' differ in signedness
connection.c:2811: warning: pointer targets in passing argument 2 of 
'PGAPI_ExecDirect' differ in signedness
connection.c:2822: warning: pointer targets in passing argument 2 of 
'PGAPI_ExecDirect' differ in signedness
connection.c:2833: warning: pointer targets in passing argument 2 of 
'PGAPI_ExecDirect' differ in signedness
connection.c: In function 'CC_send_settings':
connection.c:2890: warning: pointer targets in passing argument 2 of 
'PGAPI_ExecDirect' differ in signedness
connection.c:2917: warning: pointer targets in passing argument 2 of 
'PGAPI_ExecDirect' differ in signedness
connection.c: In function 'CC_lookup_pg_version':
connection.c:3041: warning: pointer targets in passing argument 2 of 
'PGAPI_ExecDirect' differ in signedness
connection.c: In function 'LIBPQ_connect':
connection.c:3362: warning: unused variable 'on'
connection.c: At top level:
connection.c:3440: fatal error: opening dependency file 
.deps/connection.Tpo: Permission denied
compilation terminated.
make[1]: *** [connection.lo] Error 1
make: *** [all] Error 2
Nadir:/usr/local/src/psqlodbc-08.02.0200 nadiralmarzouki$

_________________________________________________________________
Get a FREE Web site, company branded e-mail and more from Microsoft Office 
Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/


pgsql-odbc by date

Next:From: Ludek FinstrleDate: 2007-04-02 11:02:30
Subject: Re: problems installing pgsql odbc driver
Previous:From: Ludek FinstrleDate: 2007-04-02 06:24:30
Subject: Re: problems installing pgsql odbc driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group