On Wed, Jan 8, 2025 at 7:32 AM <devel-request(a)lists.crash-utility.osci.io>
wrote:
 Date: Mon, 6 Jan 2025 10:57:25 +1300
 From: Tao Liu <ltao(a)redhat.com>
 Subject: [Crash-utility] Re: [PATCH] Add compilation requirements note
         in README.
 To: wonderzyp(a)gmail.com
 Cc: devel(a)lists.crash-utility.osci.io, yeping.zheng(a)nio.com
 Message-ID:
         <
 CAO7dBbVVZf2XBHLGsvEPp5CDc-d0bS0QcG-DkiGWROcd064XpA(a)mail.gmail.com>
 Content-Type: text/plain; charset="UTF-8"
 Hi yeping,
 On Mon, Jan 6, 2025 at 5:18 AM <wonderzyp(a)gmail.com> wrote:
 >
 > From: "yeping.zheng" <wonderzyp(a)gmail.com>
 >
 > 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(a)nio.com>
 > ---
 >  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:
https://github.com/crash-utility/crash/commit/7357d822124c917014346115a4e...
Thanks
Lianbo
 Thanks,
 Tao Liu
 >    To build the crash utility:
 >
 >      $ tar -xf crash-8.0.6.tar.gz
 > --
 > 2.47.1