* Missing package "Proc::ProcessTable" is in debian: libproc-processtable-perl
@ 2011-07-31 23:01 Henning Hollermann
2011-08-01 0:46 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 2+ messages in thread
From: Henning Hollermann @ 2011-07-31 23:01 UTC (permalink / raw)
To: linux-media
I just tried to install the latest media-build-package via git. I got an
error because of a missing package, but the script could not provide a
hint about the name of the missing package. One quick search made clear,
that it was perl's ProcessTable package, which was missing. This is
named "libproc-processtable-perl" in debian, so you could add this as hint.
Cheers,
Henning
---------------------
What i did and uname:
~$ git clone git://linuxtv.org/media_build.git
~$ cd media_build
~/media_build$ ./build.sh
Checking if the needed tools are present
./check_needs.pl
ERROR: please install "Proc::ProcessTable", otherwise, build won't work.
I don't know distro . So, I can't provide you a hint with the package names.
Be welcome to contribute with a patch for media-build, by submitting a
distro-specific hint
to linux-media@vger.kernel.org
Build can't procceed as 1 dependency is missing at ./check_needs.pl line
132.
*** ERROR. Aborting ***
~/media_build:$ uname -a
Linux henning-laptop 2.6.38-2-amd64 #1 SMP Sun May 8 13:51:57 UTC 2011
x86_64 GNU/Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Missing package "Proc::ProcessTable" is in debian: libproc-processtable-perl
2011-07-31 23:01 Missing package "Proc::ProcessTable" is in debian: libproc-processtable-perl Henning Hollermann
@ 2011-08-01 0:46 ` Mauro Carvalho Chehab
0 siblings, 0 replies; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2011-08-01 0:46 UTC (permalink / raw)
To: Henning Hollermann; +Cc: linux-media
Hi Henning,
Em 31-07-2011 20:01, Henning Hollermann escreveu:
> I just tried to install the latest media-build-package via git. I got an
> error because of a missing package, but the script could not provide a
> hint about the name of the missing package. One quick search made clear,
> that it was perl's ProcessTable package, which was missing. This is
> named "libproc-processtable-perl" in debian, so you could add this as hint.
There are some functions there that tries to detect the distribution used.
Currently, it parses Fedora, RHEL and Ubuntu. From the above, it seems
that the requirements for Debian are the same as the ones for Ubuntu.
This is the requirements for Ubuntu:
"lsdiff" => "patchutils",
"Digest::SHA1" => "libdigest-sha1-perl",
"Proc::ProcessTable" => "libproc-processtable-perl",
Could you please double check if all of them also applies for Debian?
If so, then probably the enclosed patch will do the job. Could you
please test it as well?
Thanks,
Mauro
-
check_needs.pl: Add detection for Debian
Reported-by: Henning Hollermann <henning.hollermann@stud.uni-goettingen.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
diff --git a/check_needs.pl b/check_needs.pl
index 8060361..1467ee1 100755
--- a/check_needs.pl
+++ b/check_needs.pl
@@ -73,6 +73,10 @@ sub give_hints
give_ubuntu_hints;
return;
}
+ if ($system_release =~ /Debian/) {
+ give_ubuntu_hints;
+ return;
+ }
# Fall-back to generic hint code
foreach my $prog (@missing) {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-01 0:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-31 23:01 Missing package "Proc::ProcessTable" is in debian: libproc-processtable-perl Henning Hollermann
2011-08-01 0:46 ` Mauro Carvalho Chehab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox