Re: finding dev rpms

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: David Bear <David(dot)Bear(at)asu(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: finding dev rpms
Date: 2009-01-29 14:06:20
Message-ID: 1233237980.9773.87.camel@laptop.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

On Mon, 2009-01-26 at 14:42 -0700, David Bear wrote:
> I'm needing to installed psycopg2.. but I've hit a dependancy problem.
> pscycopg2 needs libpq stuff -- which is the the developer rpms.

Err, no. libpq stuff is provided by postgresql-libs package, not -devel
package.

> Trouble is I can only find developer rpms in yum repositories.

It is not a trouble, it is a feature ;)

> So I went to install yum and found that since my red had is x86_64,
> yum croaks on importing cElementTree -- which it does have but won't
> import.

Make sure that you installed correct repo RPM -- and please also paste
the exact error message.

> Since yum wasn't really designed for RHEL --

It is used for RHEL 4 and up. (Actually CentOS 4 supports yum, and you
can use its packages in RHEL 4. yum is the native package management
software for RHEL 5 and above)

> it may not be worth it to try to resolve that issue, which leads me
> back to finding a downloadable rpm for the postgres developer
> packages; which I can't seem to locate at postgresql.org

FWIW, -libs package is at http://www.postgresql.org/ftp/binary , too --
but I suggest you using yum repo.

Regards,
--
Devrim GÜNDÜZ, RHCE
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2009-01-29 15:16:16 Re: [GENERAL] Encoding problem using pg_dumpall
Previous Message Moshe Ben-Shoham 2009-01-29 11:50:11 Encoding problem using pg_dumpall