Thread: problems installing pgsql odbc driver

problems installing pgsql odbc driver

From
"Nadir Al-marzouki"
Date:
I use mac os x.4

after installing postgreSQL and testing it using pgAdmin i tried to install
psqlodbc-08.02.0200

during the make process I had this error

connection.c: In function 'LIBPQ_connect':
connection.c:3362: warning: unused variable 'on'
make[1]: *** [connection.lo] Error 1
make: *** [all] Error 2

please help

_________________________________________________________________
Live Search Maps � find all the local information you need, right when you
need it. http://maps.live.com/?icid=hmtag2&FORM=MGAC01


Re: problems installing pgsql odbc driver

From
Ludek Finstrle
Date:
> I use mac os x.4

Let's try CVS version. There are some mac os changes.

> during the make process I had this error
>
> connection.c: In function 'LIBPQ_connect':
> connection.c:3362: warning: unused variable 'on'

You show us only warning no error message ...

> make[1]: *** [connection.lo] Error 1
> make: *** [all] Error 2

Regards,

Luf

Re: problems installing pgsql odbc driver

From
Ludek Finstrle
Date:
Mon, Apr 02, 2007 at 05:45:32AM -0500, Nadir Al-marzouki napsal(a):
> Ludek,
> I am new to unix based operating system. I am glad some one responded. Here
> is what i get from my bash shell after executing make command while i am in
> pgsql odbc dir:
>
> ***********
>
> 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
> 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:

Here is the problem. The compiler is unable to locate postgresql header
files (includes). As I wrote you before let's try CVS source instead of
version 08.02.0200. Hiroshi Saito made some changes in Mac OS compilation.
Here you find how to get the CVS source:
http://pgfoundry.org/scm/?group_id=1000125

Regards,

Luf

P.S. Please keep including psqlodbc list in comunication so other people
     can participate or they can inspire themself.

Re: problems installing pgsql odbc driver

From
"Hiroshi Saito"
Date:
Hi.

From: "Ludek Finstrle" <luf@pzkagis.cz>

> Here is the problem. The compiler is unable to locate postgresql header
> files (includes). As I wrote you before let's try CVS source instead of
> version 08.02.0200. Hiroshi Saito made some changes in Mac OS compilation.
> Here you find how to get the CVS source:
> http://pgfoundry.org/scm/?group_id=1000125

Yeah, I think that it helps.
However, configure.ac still schedules the correction still somewhat by suggesting
inoue-san now.  It was a method to evade the problem of automake, autoconf,
and libtool. Then,  It is not commit because it doesn't pass the test still enough.
It is activity now. sorry.

Regards,
Hiroshi Saito