Unix Technical Forum

pg_config not found

This is a discussion on pg_config not found within the pgsql Novice forums, part of the PostgreSQL category; --> Hi All, I am trying to install psqlodbc version psqlodbc-08.01.0200 on a non DB server ( Fedora Core 5). ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 11:15 PM
Saranya Sivakumar
 
Posts: n/a
Default pg_config not found

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...3/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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 11:15 PM
Tom Lane
 
Posts: n/a
Default Re: pg_config not found

Saranya Sivakumar <sarlavk@yahoo.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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 11:15 PM
Saranya Sivakumar
 
Posts: n/a
Default Re: pg_config not found

Hi,

I tried to install the devel rpm from
http://wwwmaster.postgresql.org/down...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@sss.pgh.pa.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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 11:15 PM
Tom Lane
 
Posts: n/a
Default Re: pg_config not found

Saranya Sivakumar <sarlavk@yahoo.com> writes:
> I tried to install the devel rpm from
> http://wwwmaster.postgresql.org/down...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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-17-2008, 11:15 PM
Saranya Sivakumar
 
Posts: n/a
Default Re: pg_config not found

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@sss.pgh.pa.us> wrote: Saranya Sivakumar writes:
> I tried to install the devel rpm from
> http://wwwmaster.postgresql.org/down...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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com