threads / discuss / 14350

GiT and CentOS 5.2

Subject: GiT and CentOS 5.2

## tl;dr

6 messages between Jul 8, 2008 and Jul 10, 2008.

replies: 5people: 6as markdown or json

James B. Byrne· Jul 8, 2008, 17:46 UTC · lore

OS = CentOS-5.2 perl = 5.8.8

I get git from the yum repository at kernel.org. Up until the most recent update I had no problems. Now I am getting these dependency errors:

Error: Missing Dependency: libcurl.so.4 is needed by package git
Error: Missing Dependency: perl(:MODULE_COMPAT_5.10.0) is needed by
package perl-Git
Error: Missing Dependency: libc.so.6(GLIBC_2.7) is needed by package git
Error: Missing Dependency: libexpat.so.1 is needed by package git
Error: Missing Dependency: libcrypto.so.7 is needed by package git

Are these dependencies actually meaningful? By that I mean, are there features used in the latest release of GiT that depend upon features of GLIBC 2.7 that are not part of glibc-2.5? Similarly, are there features of curl used in the latest git that are not present or work differently in curl 7.15.2? Ditto for OpenSSL and libxpat.

I would like to stay current with git but I cannot if these dependencies are actually required.

Regards,
-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3
Mike Hommey· Jul 8, 2008, 18:37 UTC · re: James B. Byrne · lore

Re: GiT and CentOS 5.2

On Tue, Jul 08, 2008 at 01:46:40PM -0400, James B. Byrne wrote:
Show 19 quoted lines
> OS = CentOS-5.2
> perl = 5.8.8
> 
> I get git from the yum repository at kernel.org.  Up until the most recent
> update I had no problems.  Now I am getting these dependency errors:
> 
> Error: Missing Dependency: libcurl.so.4 is needed by package git
> Error: Missing Dependency: perl(:MODULE_COMPAT_5.10.0) is needed by
> package perl-Git
> Error: Missing Dependency: libc.so.6(GLIBC_2.7) is needed by package git
> Error: Missing Dependency: libexpat.so.1 is needed by package git
> Error: Missing Dependency: libcrypto.so.7 is needed by package git
> 
> 
> Are these dependencies actually meaningful?  By that I mean, are there
> features used in the latest release of GiT that depend upon features of
> GLIBC 2.7 that are not part of glibc-2.5?  Similarly, are there features
> of curl used in the latest git that are not present or work differently in
> curl 7.15.2?  Ditto for OpenSSL and libxpat.

This only means the rpms in the yum repository at kernel.org were built on a system more recent than yours, and that run-time dependencies (as opposed to build dependencies) require some libraries to be newer than what your system provides.

Mike
Jay Soffian· Jul 8, 2008, 18:51 UTC · re: James B. Byrne · lore

Re: GiT and CentOS 5.2

On Tue, Jul 8, 2008 at 1:46 PM, James B. Byrne <byrnejb@harte-lyne.ca> wrote:
Show 22 quoted lines
> OS = CentOS-5.2
> perl = 5.8.8
>
> I get git from the yum repository at kernel.org.  Up until the most recent
> update I had no problems.  Now I am getting these dependency errors:
>
> Error: Missing Dependency: libcurl.so.4 is needed by package git
> Error: Missing Dependency: perl(:MODULE_COMPAT_5.10.0) is needed by
> package perl-Git
> Error: Missing Dependency: libc.so.6(GLIBC_2.7) is needed by package git
> Error: Missing Dependency: libexpat.so.1 is needed by package git
> Error: Missing Dependency: libcrypto.so.7 is needed by package git
>
>
> Are these dependencies actually meaningful?  By that I mean, are there
> features used in the latest release of GiT that depend upon features of
> GLIBC 2.7 that are not part of glibc-2.5?  Similarly, are there features
> of curl used in the latest git that are not present or work differently in
> curl 7.15.2?  Ditto for OpenSSL and libxpat.
>
> I would like to stay current with git but I cannot if these dependencies
> are actually required.
Junio switched to FC9 for building the git RPMs on kernel.org recently.

Probably the best thing to do if you want a CentOS 5.x RPM is to grab the source tgz and build the RPM yourself. :-(

There are quite a few build-time dependencies, but those are easy to take care of with yum.

j.
Junio C Hamano· Jul 8, 2008, 19:23 UTC · re: James B. Byrne · lore

Re: GiT and CentOS 5.2

"James B. Byrne" <byrnejb@harte-lyne.ca> writes:
Show 12 quoted lines
> OS = CentOS-5.2
> perl = 5.8.8
>
> I get git from the yum repository at kernel.org.  Up until the most recent
> update I had no problems.  Now I am getting these dependency errors:
>
> Error: Missing Dependency: libcurl.so.4 is needed by package git
> Error: Missing Dependency: perl(:MODULE_COMPAT_5.10.0) is needed by
> package perl-Git
> Error: Missing Dependency: libc.so.6(GLIBC_2.7) is needed by package git
> Error: Missing Dependency: libexpat.so.1 is needed by package git
> Error: Missing Dependency: libcrypto.so.7 is needed by package git

As described in the announcement for 1.5.6.2, the machine at kernel.org I cut x86_64 RPM on switched to FC9 early this month, and I updated my personal bochs installation to FC9 to be consistent for producing i386 RPMs.

By the way, these RPMs are not in any way official. I have been guessing (without even bothering to confirm) that even for FC, distro people do not use the RPM packages I have at kernel.org, but they build and distribute their own to their users. I could stop generating these RPMs, in other words, but I've been doing this forever and they are still produced as courtesy, even though I am not a FC user myself.

You could send a preconfigured CentOS 5.2 box to me and ask me to produce yet another set of RPMs. The release procedure already takes long enough time out of my git day, however, and I doubt I can afford the time to do so in practice, without reducing the time I spend on other git activities such as reviewing and accepting changes from others or writing patches myself.

People on other platforms like Debian, Macintosh, and Windows (Cygwin and Msys) generate their own packages from the official tarballs and distribute the result to help other users on their platforms. Perhaps you and other CentOS users can get together and do the same to help each other? That would be a great help to the community.

Thanks.
David Voit· Jul 9, 2008, 13:25 UTC · re: James B. Byrne · lore

Re: GiT and CentOS 5.2

Hi all,

Just use the EPEL packages: http://wiki.centos.org/AdditionalResources/Repositories?action=show&redirect=Repositories

Maybe not alwaya the newest version, but it works.
David
Jeffrey Ollie· Jul 10, 2008, 14:32 UTC · re: David Voit · lore

Re: GiT and CentOS 5.2

On Wed, Jul 9, 2008 at 8:25 AM, David Voit <david.voit@gmail.com> wrote:
Show 5 quoted lines
>
> Just use the EPEL packages:
> http://wiki.centos.org/AdditionalResources/Repositories?action=show&redirect=Repositories
>
> Maybe not alwaya the newest version, but it works.
Here's a better link for EPEL information:
https://fedoraproject.org/wiki/EPEL
Jeff

← back to recent threads