Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 23E2B63364D for ; Tue, 1 Dec 2009 21:20:39 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 69592-10 for ; Wed, 2 Dec 2009 01:20:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by mail.postgresql.org (Postfix) with ESMTP id 48A3863348C for ; Tue, 1 Dec 2009 21:20:27 -0400 (AST) Received: from localhost (access [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id B164B1E043B; Wed, 2 Dec 2009 09:20:23 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (access.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kZuoIoPMI+h2; Wed, 2 Dec 2009 09:20:20 +0800 (WST) Received: from [10.1.1.6] (124-169-88-117.dyn.iinet.net.au [124.169.88.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id D130A1E043A; Wed, 2 Dec 2009 09:20:20 +0800 (WST) Message-ID: <4B15C0D1.10203@postnewspapers.com.au> Date: Wed, 02 Dec 2009 09:20:17 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.5) Gecko/20091121 Thunderbird/3.0 MIME-Version: 1.0 To: Daniela Mamede d'Almeida CC: pgsql-odbc@postgresql.org Subject: Re: Hi! References: <4B15768C.50500@mecon.gov.ar> In-Reply-To: <4B15768C.50500@mecon.gov.ar> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.456 tagged_above=-10 required=5 tests=AWL=-0.716, BAYES_20=-0.74 X-Spam-Level: X-Archive-Number: 200912/5 X-Sequence-Number: 10132 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