From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: "filip.mutterer@gmail.com" <filip.mutterer@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: Linux Mint 20
Date: Mon, 2 Nov 2020 08:29:38 +0100 [thread overview]
Message-ID: <20201102082938.07054ebc@coco.lan> (raw)
In-Reply-To: <0c9ca3ce-f08c-984e-5be3-f748720de009@gmail.com>
Em Sun, 1 Nov 2020 22:51:01 +0100
"filip.mutterer@gmail.com" <filip.mutterer@gmail.com> escreveu:
> Hi there,
>
> I had the following error, which was easy to solve on Linux Mint 20:
>
> Checking if the needed tools for Linux Mint 20 are available
> ERROR: please install "Proc::ProcessTable", otherwise, build won't work.
> I don't know distro Linux Mint 20. 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 ./build line 276.
Never used Linux Mint. Yet, on a quick search for "ProcessTable linux-mint perl"
Showed a few packages:
https://community.linuxmint.com/software/view/libproc-processtable-perl
https://community.linuxmint.com/software/view/libproc-process-perl
It would be cool if you could send us a patch against ./build adding
support for Linux Mint dependencies.
If you take a look on it, you'll notice that it should be very easy to
teach the script about a new distro. You just need to add a new if
inside sub give_hints(). Something like:
if ($system_release =~ /Linux Mint/) {
give_mint_hints;
return;
}
And create a new subroutine telling the package names for:
- the "lsdiff" command;
- two perl packages: Digest::SHA and Proc::ProcessTable
Yet, as Mint is based on Debian/Ubuntu, perhaps just the enclosed
patch would be enough.
> Here is what I installed to have it compile:
>
> sudo cpan Proc::ProcessTable
Well, you can always install packages via cpan, although
this perl extension should very likely be there on all
distros.
Thanks,
Mauro
diff --git a/build b/build
index c2067e759213..2aa92cc2e819 100755
--- a/build
+++ b/build
@@ -207,6 +207,10 @@ sub give_hints()
give_ubuntu_hints;
return;
}
+ if ($system_release =~ /Linux Mint/) {
+ give_ubuntu_hints;
+ return;
+ }
if ($system_release =~ /Gentoo/) {
give_gentoo_hints;
return;
prev parent reply other threads:[~2020-11-02 7:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-01 21:51 Linux Mint 20 filip.mutterer
2020-11-02 7:29 ` Mauro Carvalho Chehab [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201102082938.07054ebc@coco.lan \
--to=mchehab+huawei@kernel.org \
--cc=filip.mutterer@gmail.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.