Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 05C8164FD0A for ; Fri, 19 Sep 2008 08:58:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 18408-06 for ; Fri, 19 Sep 2008 08:58:43 -0300 (ADT) X-Greylist: delayed 00:22:51.949801 by SQLgrey-1.7.6 Received: from cemsys.com (mail.cemsys.com [62.253.226.61]) by postgresql.org (Postfix) with ESMTP id 6430864FD08 for ; Fri, 19 Sep 2008 08:58:41 -0300 (ADT) Received: (qmail 20915 invoked from network); 19 Sep 2008 11:43:17 +0000 Received: from unknown (HELO ?10.51.21.5?) (10.51.21.5) by 10.51.21.197 with SMTP; 19 Sep 2008 11:43:17 +0000 Message-ID: <48D38E7B.5040101@cemsys.com> Date: Fri, 19 Sep 2008 12:35:23 +0100 From: Jeremy Faith User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: compiling odbc References: <466860.10875.qm@web65401.mail.ac4.yahoo.com> In-Reply-To: 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=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/24 X-Sequence-Number: 9617 Hi, Brent Austin wrote: > My pg_config file is in: /usr/local/pgsql/bin so how do I > tell terminal to see that it's there instead of where it thinks it is? > > would this fix it: > > export PATH=$PATH:/usr/local/psql Could this be as simple as the 'g' being missing from the pgsql directory in the PATH? i.e. export PATH=$PATH:/usr/local/psql should be export PATH=$PATH:/usr/local/pgsql and export PG_CONFIG=/usr/local/psql/bin/pg_config should be export PG_CONFIG=/usr/local/pgsql/bin/pg_config Regards, Jeremy Faith Albe Laurenz wrote: >> So far this is what I get when I try that command- >> >> client-66-1xx-17-xx4:~ brent1a$ export PATH=$PATH:/usr/local/psql/bin >> >> client-66-1xx-17-xx4:~ brent1a$ cd /psqlodbc-08.03.0200 >> >> client-66-1xx-17-xx4:psqlodbc-08.03.0200 brent1a$ sudo ./configure >> >> > [...] > >> configure: error: pg_config not found (set PG_CONFIG environment variable) >> > > Yeah, sure. > > You should omit the "sudo", it's wrong. > > But maybe it's best to follow the instructions you get and > export PG_CONFIG=/usr/local/psql/bin/pg_config > > Yours, > Laurenz Albe > >