Sungju's Slow Life

Personal journal

Install mpykdump on local machine

Here is the sequence of commands to build mpykdump on your system. This is based on crash version 8.0.0. You may want to check what version of crash your system has to match it. Below is the sequence on RHEL8. You can ignore the error from ‘crash’ compile as we are not going to use the binary, but just need the configuration.

subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
yum install git gcc-c++ gcc make zlib-devel zip bison ncurses-devel texinfo -y

wget gdb  -y
mkdir mycrash
cd mycrash
git clone git:// pykdump -b dev

tar xvf Python-3.9.9.tar.xz
cd Python-3.9.9/
./configure CFLAGS='-fPIC'
cp -f /root/mycrash/pykdump/Extension/Setup.local-3.9 Modules/Setup.local

cd ~/mycrash/
git clone
cd crash
git checkout 8.0.0

cd ~/mycrash/pykdump/Extension/
./configure -c ~/mycrash/crash -p ~/mycrash/Python-3.9.9
make install
echo "extend /root/.crash.d/" > ~/.crashrc

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: