* Strange dependency problem installing GIT 0.99.7
@ 2005-09-19 2:15 Peter Williams
2005-09-19 4:46 ` Junio C Hamano
0 siblings, 1 reply; 9+ messages in thread
From: Peter Williams @ 2005-09-19 2:15 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git Mailing List
When I tried to install GIT 0.99.7 from the rpm package (on a Fedora
Core 4 system) I got the following error message:
error: Failed dependencies:
perl(String::ShellQuote) is needed by git-core-0.99.7-1.i386
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?
Peter
--
Peter Williams pwil3058@bigpond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Strange dependency problem installing GIT 0.99.7
2005-09-19 2:15 Strange dependency problem installing GIT 0.99.7 Peter Williams
@ 2005-09-19 4:46 ` Junio C Hamano
2005-09-19 5:11 ` Peter Williams
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Junio C Hamano @ 2005-09-19 4:46 UTC (permalink / raw)
To: Peter Williams; +Cc: git
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;
Sorry for the gotcha. Any RPM experts to offer advice?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Strange dependency problem installing GIT 0.99.7
2005-09-19 4:46 ` Junio C Hamano
@ 2005-09-19 5:11 ` Peter Williams
2005-09-19 5:17 ` Sean
[not found] ` <57460.10.10.10.28.1127110444.squirrel@linux1>
2 siblings, 0 replies; 9+ messages in thread
From: Peter Williams @ 2005-09-19 5:11 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
Junio C Hamano wrote:
> 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;
That command finds ShellQuote OK which more or less confirms that it's
just an rpm problem.
Peter
--
Peter Williams pwil3058@bigpond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Strange dependency problem installing GIT 0.99.7
2005-09-19 4:46 ` Junio C Hamano
2005-09-19 5:11 ` Peter Williams
@ 2005-09-19 5:17 ` Sean
2005-09-19 6:24 ` Peter Williams
[not found] ` <57460.10.10.10.28.1127110444.squirrel@linux1>
2 siblings, 1 reply; 9+ messages in thread
From: Sean @ 2005-09-19 5:17 UTC (permalink / raw)
To: Peter Williams; +Cc: git
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
Cheers,
Sean
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Strange dependency problem installing GIT 0.99.7
[not found] ` <57460.10.10.10.28.1127110444.squirrel@linux1>
@ 2005-09-19 6:14 ` Sean
0 siblings, 0 replies; 9+ messages in thread
From: Sean @ 2005-09-19 6:14 UTC (permalink / raw)
To: Peter Williams; +Cc: git
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
Cheers,
Sean
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Strange dependency problem installing GIT 0.99.7
2005-09-19 5:17 ` Sean
@ 2005-09-19 6:24 ` Peter Williams
[not found] ` <40363.10.10.10.28.1127114191.squirrel@linux1>
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Peter Williams @ 2005-09-19 6:24 UTC (permalink / raw)
To: Sean; +Cc: git
Sean wrote:
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Strange dependency problem installing GIT 0.99.7
[not found] ` <40363.10.10.10.28.1127114191.squirrel@linux1>
@ 2005-09-19 7:16 ` Sean
0 siblings, 0 replies; 9+ messages in thread
From: Sean @ 2005-09-19 7:16 UTC (permalink / raw)
To: Peter Williams; +Cc: git
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Strange dependency problem installing GIT 0.99.7
2005-09-19 6:24 ` Peter Williams
[not found] ` <40363.10.10.10.28.1127114191.squirrel@linux1>
@ 2005-09-19 19:23 ` H. Peter Anvin
2005-09-19 22:06 ` Horst von Brand
2 siblings, 0 replies; 9+ messages in thread
From: H. Peter Anvin @ 2005-09-19 19:23 UTC (permalink / raw)
To: Peter Williams; +Cc: Sean, git
Peter Williams wrote:
>
> 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.
>
Unfortunately it doesn't work that way (and this is the wrong mailing
list to discuss it on.) Anyway, the best way to install CPAN modules on
an RPM-based system is to use cpan2rpm.
-hpa
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Strange dependency problem installing GIT 0.99.7
2005-09-19 6:24 ` Peter Williams
[not found] ` <40363.10.10.10.28.1127114191.squirrel@linux1>
2005-09-19 19:23 ` H. Peter Anvin
@ 2005-09-19 22:06 ` Horst von Brand
2 siblings, 0 replies; 9+ messages in thread
From: Horst von Brand @ 2005-09-19 22:06 UTC (permalink / raw)
To: Peter Williams; +Cc: Sean, git
Peter Williams <pwil3058@bigpond.net.au> wrote:
> Sean wrote:
[...]
> > 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.
If it needs ShellQuote, it is required. RPM does know only about things in
its database (i.e., rpm-installed).
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-09-20 3:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-19 2:15 Strange dependency problem installing GIT 0.99.7 Peter Williams
2005-09-19 4:46 ` Junio C Hamano
2005-09-19 5:11 ` Peter Williams
2005-09-19 5:17 ` Sean
2005-09-19 6:24 ` Peter Williams
[not found] ` <40363.10.10.10.28.1127114191.squirrel@linux1>
2005-09-19 7:16 ` Sean
2005-09-19 19:23 ` H. Peter Anvin
2005-09-19 22:06 ` Horst von Brand
[not found] ` <57460.10.10.10.28.1127110444.squirrel@linux1>
2005-09-19 6:14 ` Sean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).