finding dev rpms

Lists: pgsql-admin
From: David Bear <David(dot)Bear(at)asu(dot)edu>
To: pgsql-admin(at)postgresql(dot)org
Subject: finding dev rpms
Date: 2009-01-26 21:42:03
Message-ID: 1d1a54bf0901261342o69364cb2ucc35997b7f1146e4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

I'm needing to installed psycopg2.. but I've hit a dependancy problem.
pscycopg2 needs libpq stuff -- which is the the developer rpms. Trouble is I
can only find developer rpms in yum repositories. 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.

Since yum wasn't really designed for RHEL -- 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.

Can anyone point me to postgresql 8.2 development rpms? or source?

--
David Bear
College of Public Programs at ASU
602-464-0424


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
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-26 22:06:07
Message-ID: 1233007567.6617.107.camel@jd-laptop.pragmaticzealot.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

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.
> Trouble is I can only find developer rpms in yum repositories. 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.
>
> Since yum wasn't really designed for RHEL

Yes it was. Just RHEL 5 and up.

> Can anyone point me to postgresql 8.2 development rpms? or source?
>
Take a look at http://www.pgsqlrpms.org

Joshua D. Drake

--
PostgreSQL - XMPP: jdrake(at)jabber(dot)postgresql(dot)org
Consulting, Development, Support, Training
503-667-4564 - http://www.commandprompt.com/
The PostgreSQL Company, serving since 1997


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
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