On Wed, Jan 8, 2025 at 7:32 AM <devel-request@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Date: Mon, 6 Jan 2025 10:57:25 +1300
From: Tao Liu <ltao@xxxxxxxxxx>
Subject: Re: [PATCH] Add compilation requirements note
in README.
To: wonderzyp@xxxxxxxxx
Cc: devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx, yeping.zheng@xxxxxxx
Message-ID:
<CAO7dBbVVZf2XBHLGsvEPp5CDc-d0bS0QcG-DkiGWROcd064XpA@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="UTF-8"
Hi yeping,
On Mon, Jan 6, 2025 at 5:18 AM <wonderzyp@xxxxxxxxx> wrote:
>
> From: "yeping.zheng" <wonderzyp@xxxxxxxxx>
>
> Hi Lianbo,
>
> > This is for Fedora, but I'm not sure if they have the same package name on other distributions. Can you help to investigate it? Maybe we can list dependencies based on known distributions.
>
> I have tried to build crash in Ubuntu, ArchLinux and openSUSE docker
> images, and successful after installing the software mentioned in the patch.
>
> Is there any platforms need to be added?
>
We cannot enumerate all platforms, at least this is a reference.
> Thanks,
> yeping.
>
> Signed-off-by: yeping.zheng <yeping.zheng@xxxxxxx>
> ---
> README | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/README b/README
> index 02fc56c..3a4d936 100644
> --- a/README
> +++ b/README
> @@ -72,6 +72,12 @@
> After the kernel is re-compiled, the uncompressed "vmlinux" kernel
> that is created in the top-level kernel build directory must be saved.
>
> + o Requirements for building:
> + Fedora: make gcc gcc-c++ ncurses-devel zlib-devel lzo-devel snappy-devel bison wget patch texinfo libzstd-devel
> + Ubuntu/Debian: make gcc g++ libncurses-dev zlib1g-dev liblzo2-dev libsnappy-dev bison wget patch texinfo libzstd-dev
> + Arch: make gcc ncurses zlib lzo snappy bison wget patch texinfo zstd
> + openSUSE: make gcc gcc-c++ ncurses-devel zlib-devel lzo-devel snappy-devel bison wget patch texinfo libzstd-devel
> +
The requirements are for making a full "$make lzo snappy zstd"
support. E.g. If we don't need lzo, then lzo-devel is not a must for
fedora. Though I think this is not a big issue for this doc.
Anyway, ack for this patch.
Applied:
Thanks
Lianbo
Thanks,
Tao Liu
> To build the crash utility:
>
> $ tar -xf crash-8.0.6.tar.gz
> --
> 2.47.1
-- Crash-utility mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxxxxx https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/ Contribution Guidelines: https://github.com/crash-utility/crash/wiki