Re: Compiling psqlodbc on Solaris - Mailing list pgsql-odbc

From Dave Page
Subject Re: Compiling psqlodbc on Solaris
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E472BD9F@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Compiling psqlodbc on Solaris  (Nishad Prakash <prakashn@uci.edu>)
List pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Nishad Prakash
> Sent: 24 March 2005 20:19
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] Compiling psqlodbc on Solaris
>
>
>
> I'm trying to install the postgres ODBC driver but I can't understand
> the installation instructions.  My platform is PostgreSQL 7.4.6 on
> sparc-sun-solaris2.8, compiled by GCC gcc (GCC) 3.3.  I'm using
> psqlodbc-7.2.5; I don't quite get how the psqlodbc numbering is meant
> to correspond to Postgres versions, so if I'm using the wrong
> version, please let me know.

They vaguely correspond to the current release version at the time
they're built, however the current driver should work with much earlier
versions of PostgreSQL (in theory, back to 6.2).

> The instructions say I must unzip the psqlodbc tarball, then go to the
> Postgres src directory and run configure-make-install.  Well, how,
> exactly?  Is this telling me to rebuild Postgres with the psqlodbc
> directories included under the main Postgres source tree?  I already
> have a running Postgres installation; I simply want to add the odbc
> driver.  Can I do that?  If so, how do I compile the psqlodbc source
> without recompiling all of Postgres?  Any help would be tremendously
> appreciated.

# tar -zvxf psqlodbc-08.00.0101.tar.gz
# cd psqlodbc-08.00.0101
# ./configure     (you might need to add --with-iodbc or --with-unixodbc
here)
# make
# make install

You only need a PostgreSQL tree to build your own tarball from the CVS
source.

Regards, Dave.

pgsql-odbc by date:

Previous
From: Nishad Prakash
Date:
Subject: Compiling psqlodbc on Solaris
Next
From: Michael Goei
Date:
Subject: psqlODBC 'ERROR: invalid input syntax for integer: "A"'