git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Strange dependency problem installing GIT 0.99.7

From
Sean <seanlkml@sympatico.ca>
Date
Sep 19, 2005, 07:16 UTC
Message-ID
<BAYC1-PASMTP01B5899CE20655464E3DDFAE920@CEZ.ICE>
In-Reply-To
<432E598A.7020306@bigpond.net.au>
On Mon, September 19, 2005 2:24 am, Peter Williams said:
> IMHO rpm shouldn't care how ShellQuote got there unless it (how it got
> there) is stated as an explicit dependency in the spec file (which it
> isn't).  So I still think this is a bug in rpm's (automatic) dependency
> mechanism that needs fixing.

But rpm resolves dependencies by looking in the rpm database not by checking the filesystem. You can actually disable the automatic perl dependency detection when creating the rpm, but that probably isn't desirable.

At least on Red Hat/Fedora machines you can create your own rpms directly from CPAN so it's not too big a restriction:

$ cpan2rpm String::ShellQuote $ cd ~/rpm/RPMS/noarch $ sudo rpm -ivh perl-String-ShellQuote-1.03-1.noarch.rpm

Which is all you need to download, package and install the perl module.
> PS I notice that perl isn't included in the explicit list of
> dependencies in the spec file even though other equally ubiquitous
> packages are.

There is special handling for perl detection within the rpmbuild procedure, so perl will be added automatically where many others won't be.

Sean
Previous: Peter WilliamsNext: H. Peter Anvin
Message 6 of 8 in “Strange dependency problem installing GIT 0.99.7”
  1. Peter WilliamsSep 19, 2005
  2. Junio C HamanoSep 19, 2005
  3. Peter WilliamsSep 19, 2005
  4. SeanSep 19, 2005
  5. Peter WilliamsSep 19, 2005
  6. SeanSep 19, 2005
  7. H. Peter AnvinSep 19, 2005
  8. SeanSep 19, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.