Re: Strange dependency problem installing GIT 0.99.7
- From
Peter Williams <pwil3058@bigpond.net.au>
- Date
- Sep 19, 2005, 06:24 UTC
- Message-ID
- <432E598A.7020306@bigpond.net.au>
- In-Reply-To
- <53717.10.10.10.28.1127107066.squirrel@linux1>
Sean wrote:
Show 21 quoted lines
> On Mon, September 19, 2005 12:46 am, Junio C Hamano said: > >>Peter Williams <pwil3058@bigpond.net.au> writes: >> >> >>>So I installed String::ShellQuote from CPAN and tried again with the >>>same result. So I then rebuilt the rpm on my system and still got the >>>same error message. So I've installed the rpm using the --nodeps option >>>but would like to test whether it is successfully finding >>>String::ShellQuote. Which command(s) would exercise this perl package? >> >>$ git grep ShellQuote >>git-archimport.perl:42:use String::ShellQuote; > > > > Peter, > > You need to install ShellQuote with rpm rather than installing it directly > from CPAN. You can pick up a rpm version of ShellQuote from several > places, here's one: http://tinyurl.com/7p7ey
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.
Peter 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.
-- Peter Williams pwil3058@bigpond.net.au "Learning, n. The kind of ignorance distinguishing the studious." -- Ambrose Bierce