build psqlodbc-08.00.0102" with pgsql 8.0.4

build psqlodbc-08.00.0102" with pgsql 8.0.4

am 09.12.2005 22:46:32 von Johann ROTURIER

Hi,

I have recently installed pgsql 8.0.4 on a suse linux 10.0 system (with
unixODBC 2.2.11-2 installed). I am now trying to build the psql-odbc driver,
but running make won't work for me. Here's the end of a long list of
warnings and errors I am getting. Could anyone help?

========================
info.c:4816: warning: data definition has no type or storage class
info.c:4817: warning: parameter names (without types) in function
declaration
info.c:4817: error: conflicting types for 'QR_Destructor'
qresult.h:159: error: previous declaration of 'QR_Destructor' was here
info.c:4817: warning: data definition has no type or storage class
info.c:4818: warning: parameter names (without types) in function
declaration
info.c:4818: error: conflicting types for 'QR_Destructor'
qresult.h:159: error: previous declaration of 'QR_Destructor' was here
info.c:4818: warning: data definition has no type or storage class
info.c:4819: error: syntax error before 'return'
make[1]: *** [info.lo] Error 1
make[1]: Leaving directory `/usr/local/pgsql/psqlodbc-08.00.0102'
make: *** [all] Error 2
=========================

Many thanks in advance from a newbie



---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Re: build psqlodbc-08.00.0102" with pgsql 8.0.4

am 09.12.2005 22:58:26 von Ludek Finstrle

> I have recently installed pgsql 8.0.4 on a suse linux 10.0 system (with
> unixODBC 2.2.11-2 installed). I am now trying to build the psql-odbc
> driver, but running make won't work for me. Here's the end of a long list
> of warnings and errors I am getting. Could anyone help?

I hope I can. But end of warnings and errors isn't useful.
It's better to post whole or at least head of warnings and errors.

Do you have installed unixODBC-devel?

Regards,

Luf

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Re: build psqlodbc-08.00.0102" with pgsql 8.0.4

am 10.12.2005 12:40:01 von Johann ROTURIER

Hi,

I would like to thank Ludek Finstrle for pointing out that I should have
installed unixODBC-devel rather unixODBC. Maybe this should be made more
explicit in the install's requirements.

Thanks

J


>From: "Johann ROTURIER"
>To: pgsql-odbc@postgresql.org
>Subject: [ODBC] build psqlodbc-08.00.0102' with pgsql 8.0.4
>Date: Fri, 09 Dec 2005 21:46:32 +0000
>
>Hi,
>
>I have recently installed pgsql 8.0.4 on a suse linux 10.0 system (with
>unixODBC 2.2.11-2 installed). I am now trying to build the psql-odbc
>driver, but running make won't work for me. Here's the end of a long list
>of warnings and errors I am getting. Could anyone help?
>
>========================
>info.c:4816: warning: data definition has no type or storage class
>info.c:4817: warning: parameter names (without types) in function
>declaration
>info.c:4817: error: conflicting types for 'QR_Destructor'
>qresult.h:159: error: previous declaration of 'QR_Destructor' was here
>info.c:4817: warning: data definition has no type or storage class
>info.c:4818: warning: parameter names (without types) in function
>declaration
>info.c:4818: error: conflicting types for 'QR_Destructor'
>qresult.h:159: error: previous declaration of 'QR_Destructor' was here
>info.c:4818: warning: data definition has no type or storage class
>info.c:4819: error: syntax error before 'return'
>make[1]: *** [info.lo] Error 1
>make[1]: Leaving directory `/usr/local/pgsql/psqlodbc-08.00.0102'
>make: *** [all] Error 2
>=========================
>
>Many thanks in advance from a newbie
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Re: build psqlodbc-08.00.0102" with pgsql 8.0.4

am 10.12.2005 13:03:26 von Ludek Finstrle

> I would like to thank Ludek Finstrle for pointing out that I should have

Not at all.

> installed unixODBC-devel rather unixODBC. Maybe this should be made more

Not rather. You need unixODBC-devel (include *.h, maybe some libs) for
compiling psqlODBC. But then you need unixODBC to run ODBC ;-)

> explicit in the install's requirements.

Could you make this changes and post it here? We would be glad.

Thanks

Luf

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings