pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Compiling psqlodbc on Solaris
2+ messages / 2 participants
[nested] [flat]

* Compiling psqlodbc on Solaris
@ 2005-03-24 20:19 Nishad Prakash <prakashn@uci.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Nishad Prakash @ 2005-03-24 20:19 UTC (permalink / raw)
  To: pgsql-odbc



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.

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.

nishad
-- 
"Underneath the concrete, the dream is still alive" -- Talking Heads




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Compiling psqlodbc on Solaris
@ 2005-03-24 21:35 Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Dave Page @ 2005-03-24 21:35 UTC (permalink / raw)
  To: nishad@ptolemy.tlg.uci.edu; 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.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-03-24 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-24 20:19 Compiling psqlodbc on Solaris Nishad Prakash <prakashn@uci.edu>
2005-03-24 21:35 Re: Compiling psqlodbc on Solaris Dave Page <dpage@vale-housing.co.uk>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox