Re: pg_config not found

Lists: pgsql-novice
From: Saranya Sivakumar <sarlavk(at)yahoo(dot)com>
To: pgsqlnovice <pgsql-novice(at)postgresql(dot)org>
Subject: pg_config not found
Date: 2006-10-09 19:06:51
Message-ID: 20061009190652.53247.qmail@web51304.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

Hi All,

I am trying to install psqlodbc version psqlodbc-08.01.0200 on a non DB server ( Fedora Core 5). I get the following error, while trying to run the configure script.

checking for pg_config... no
configure: error: pg_config not found

I found that a bug has been registered at this link with the same type of problem for installing on windows. http://archives.postgresql.org/pgsql-bugs/2006-03/msg00220.php

I tried searching on how to install pg_config alone, but haven't had any luck yet. I am stuck at this point and not sure how to proceed.

Though this server doesn't require a DB installation, would installing the DB get around the problem? Is there any other solution to this?

Any information would be really helpful.

Thanks in advance,
Sincerely,
Saranya


---------------------------------
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Saranya Sivakumar <sarlavk(at)yahoo(dot)com>
Cc: pgsqlnovice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: pg_config not found
Date: 2006-10-09 19:55:05
Message-ID: 6111.1160423705@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

Saranya Sivakumar <sarlavk(at)yahoo(dot)com> writes:
> I am trying to install psqlodbc version psqlodbc-08.01.0200 on a non DB server ( Fedora Core 5). I get the following error, while trying to run the configure script.

> checking for pg_config... no
> configure: error: pg_config not found

pg_config is in the postgresql-devel RPM ... you need to install that.

regards, tom lane


From: Saranya Sivakumar <sarlavk(at)yahoo(dot)com>
To: pgsqlnovice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: pg_config not found
Date: 2006-10-09 20:15:15
Message-ID: 20061009201516.81588.qmail@web51305.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

Hi,

I tried to install the devel rpm from
http://wwwmaster.postgresql.org/download/mirrors-ftp?file=binary%2Fv8.1.3%2Flinux%2Frpms%2Ffedora%2Ffedora-core-5%2Fpostgresql-devel-8.1.3-1PGDG.i686.rpm,

but got the following error

error: Failed dependencies:
postgresql = 8.1.3 is needed by postgresql-devel-8.1.3-1PGDG.i686

Do I need to get all the rpms and install them at one go?

Thanks,
Sincerely,
Saranya

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
Saranya Sivakumar writes:
> I am trying to install psqlodbc version psqlodbc-08.01.0200 on a non DB server ( Fedora Core 5). I get the following error, while trying to run the configure script.

> checking for pg_config... no
> configure: error: pg_config not found

pg_config is in the postgresql-devel RPM ... you need to install that.

regards, tom lane


---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Saranya Sivakumar <sarlavk(at)yahoo(dot)com>
Cc: pgsqlnovice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: pg_config not found
Date: 2006-10-09 20:30:05
Message-ID: 6589.1160425805@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

Saranya Sivakumar <sarlavk(at)yahoo(dot)com> writes:
> I tried to install the devel rpm from
> http://wwwmaster.postgresql.org/download/mirrors-ftp?file=binary%2Fv8.1.3%2Flinux%2Frpms%2Ffedora%2Ffedora-core-5%2Fpostgresql-devel-8.1.3-1PGDG.i686.rpm,
> but got the following error
> error: Failed dependencies:
> postgresql = 8.1.3 is needed by postgresql-devel-8.1.3-1PGDG.i686

Well, where did you get your other Postgres RPMs from? You need a
matching set (all the same version). My guess is that you are using
the Fedora RPMs, in which case "yum install" is the way to fetch another
RPM.

regards, tom lane


From: Saranya Sivakumar <sarlavk(at)yahoo(dot)com>
To: pgsqlnovice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: pg_config not found
Date: 2006-10-09 21:24:18
Message-ID: 20061009212418.35387.qmail@web51313.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

Hi Tom,

Thanks a lot for the information. I was trying to install just that devel RPM without the other RPMs. I figured that I would have to install postgresql-8.1.3-1PGDG.i686.rpm before installing the devel.
I could successfully install psqlodbc after that. Thanks again for the help.

Sincerely,
Saranya

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote: Saranya Sivakumar writes:
> I tried to install the devel rpm from
> http://wwwmaster.postgresql.org/download/mirrors-ftp?file=binary%2Fv8.1.3%2Flinux%2Frpms%2Ffedora%2Ffedora-core-5%2Fpostgresql-devel-8.1.3-1PGDG.i686.rpm,
> but got the following error
> error: Failed dependencies:
> postgresql = 8.1.3 is needed by postgresql-devel-8.1.3-1PGDG.i686

Well, where did you get your other Postgres RPMs from? You need a
matching set (all the same version). My guess is that you are using
the Fedora RPMs, in which case "yum install" is the way to fetch another
RPM.

regards, tom lane


---------------------------------
Get your email and more, right on the new Yahoo.com