Skip to content

Instantly share code, notes, and snippets.

@marcuswestin
Created October 23, 2013 19:57
Show Gist options
  • Save marcuswestin/7125593 to your computer and use it in GitHub Desktop.
Save marcuswestin/7125593 to your computer and use it in GitHub Desktop.
Install Python 3 without SIGALTSTACK
mkdir -p python-3-install-no-sigaltstack
cd python-3-install-no-sigaltstack
curl http://www.python.org/ftp/python/3.3.2/Python-3.3.2.tar.bz2 > Python-3.3.2.tar.bz2
tar -xzvf Python-3.3.2.tar.bz2
cd Python-3.3.2
./configure
sed -i .bak 's/#define HAVE_SIGALTSTACK 1/\/* #undef HAVE_SIGALTSTACK *\//' pyconfig.h
rm pyconfig.h.bak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment