From: Craig Ringer <craig@postnewspapers.com.au>
To: Daniela Mamede d'Almeida <dmamede@mecon.gov.ar>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Hi!
Date: Wed, 02 Dec 2009 09:20:17 +0800
Message-ID: <4B15C0D1.10203@postnewspapers.com.au> (raw)
In-Reply-To: <4B15768C.50500@mecon.gov.ar>
References: <4B15768C.50500@mecon.gov.ar>
On 2/12/2009 4:03 AM, Daniela Mamede d'Almeida wrote:
> Hi!
> I'm trying to connect an Oracle Db with a PostgreSQL Db, by means of
> Oracle heterogeneous service.
> I've installed (in my oracle server) DG4ODBC which is the oracle
> gateway, UnixODBC which is the driver manager... and all I need now is
> the PostgreSQL driver. I've downloaded psqlodbc... but I can't
> "configure" it as it says that theres a missing variable ...
> "PG_CONFIG".
Possible hints:
http://www.google.com.au/search?q="PG_CONFIG"+"unixodbc";
Particularly:
http://cpansearch.perl.org/src/RKIES/UnixODBC-0.34/dbms/README
... which suggests that you must specify PG_CONFIG as an environment
variable when calling configure:
# export PG_CONFIG=/usr/local/pgsql/bin/pg_config
# ./configure
(adjust PG_CONFIG for the location of pg_config on your system).
--
Craig Ringer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: craig@postnewspapers.com.au, dmamede@mecon.gov.ar
Subject: Re: Hi!
In-Reply-To: <4B15C0D1.10203@postnewspapers.com.au>
References: <4B15768C.50500@mecon.gov.ar> <4B15C0D1.10203@postnewspapers.com.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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