pg_config is missing - bug?

I have recently installed postgres8.2 and am unable to find the
pg_config binary.

I need this so that I can install ruby gems.

I have also been unable to find this file using dpkg -S so it seems
that there is no package which carries this file.

Bug on the maintainers part or an oversight on my part?

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

pg_config is missing - bug?

Oops.  I used dpkg -S and turned up nothing.
didn't know about apt-file.
 
thanks 
On 11/19/07, Florian Kulzer <florian.kulzer+debian@icfo.es> wrote:
On Mon, Nov 19, 2007 at 05:03:00 -0500, Tom Allison wrote:> I have recently installed postgres8.2 and am unable to find the pg_config
> binary.>> I need this so that I can install ruby gems.>> I have also been unable to find this file using dpkg -S so it seems that> there is no package which carries this file.
"apt-file search pg_config" finds this:libpq-dev: usr/lib/postgresql/8.2/bin/pg_config> Bug on the maintainers part or an oversight on my part?Looks like it has been shifted to libpq-dev.
--Regards,            | http://users.icfo.es/Florian.Kulzer         Florian   |--To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

pg_config is missing - bug?

On Mon, Nov 19, 2007 at 05:03:00AM -0500, Tom Allison wrote:
> I have recently installed postgres8.2 and am unable to find the pg_config
> binary.
>
> I need this so that I can install ruby gems.
>
> I have also been unable to find this file using dpkg -S so it seems that
> there is no package which carries this file.

dpkg -S can show contents only of installed packages. Try apt-file
instead. I think you need libpq-dev, but I'm not familiar with postgres
or what you are trying to do. BTW, are you trying to install the
package? Because the package itself has to pull in all necessary stuff,
otherwise it's a bug.

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

pg_config is missing - bug?

Great. I only need pg_config so I can install a ruby gem. I don't
know the issue of what's a bug or what is not -- but this is silly to
have so many things to install and especially to include a
distributed binary only in a dev package. ugh!
On Nov 19, 2007, at 12:56 PM, Andrei Popescu wrote:

> On Mon, Nov 19, 2007 at 05:03:00AM -0500, Tom Allison wrote:
>> I have recently installed postgres8.2 and am unable to find the
>> pg_config
>> binary.
>>
>> I need this so that I can install ruby gems.
>>
>> I have also been unable to find this file using dpkg -S so it
>> seems that
>> there is no package which carries this file.
>
> dpkg -S can show contents only of installed packages. Try apt-file
> instead. I think you need libpq-dev, but I'm not familiar with
> postgres
> or what you are trying to do. BTW, are you trying to install the
> package? Because the package itself has to pull in all necessary
> stuff,
> otherwise it's a bug.
>
> Regards,
> Andrei
> --
> If you can't explain it simply, you don't understand it well enough.
> (Albert Einstein)

--

Re: pg_config is missing - bug?

If you are using your distribution's packaged version of the PostgreSQL server, rather than rolling your own; you need to make sure that you install the corresponding development package, for example:

Debian Etch:
apt-get install postgresql-server-dev-8.1 postgresql-8.1

After installation the command pg_config is available:

pg81:/usr/lib/postgresql/8.1/bin# whereis pg_config
pg_config: /usr/bin/pg_config /usr/share/man/man1/pg_config.1.gz

--
Ugo Rebaudo (ITALY)
-----------------------
TAG-iD RFID Solutions
http://www.tag-id.com
--

Syndicate content