Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apt-get install python2.7-dev python2.7
apt-get build-dep gdb
apt-get source gdb
sed -i -E "s|python3|/usr/bin/python2.7|" debian/rules
dpkg-buildpackage -uc -us -j8
dpkg-install ../*.deb
@ZetaTwo

This comment has been minimized.

Copy link

ZetaTwo commented Jun 1, 2015

isn't there a "cd gdb" missing? Thanks a lot anyway!

@evandrix

This comment has been minimized.

Copy link

evandrix commented Sep 17, 2015

you mean cd gdb-x.x.x

@evandrix

This comment has been minimized.

Copy link

evandrix commented Sep 17, 2015

./configure --with-python=python2 works too

@xaedes

This comment has been minimized.

Copy link

xaedes commented May 4, 2016

When you use ./configure --with-python=python2. You need to proceed with the well known make and sudo make install. After this you are finished.

@EspressoCake

This comment has been minimized.

Copy link

EspressoCake commented Nov 28, 2017

Thanks a ton, Zach!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.