Skip to contentSkip to conversation

Missing package "Proc::ProcessTable" is in debian: libproc-processtable-perl

DISCUSSION Henning Hollermann 2 participants 2 messages Jul 31, 2011 – Aug 1, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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 [email protected]
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

#1 lore raw

Hi Henning,

Em 31-07-2011 20:01, Henning Hollermann escreveu:

Quoted 5 lines

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

check_needs.pl +4 -0
index 8060361..1467ee1 100755
@@ -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) {