set -x export LDFLAGS="$LDFLAGS -L/usr/local/c$which_python/lib -Wl,-rpath -Wl,/usr/local/c$which_python/lib $LDFLAGS" # Otherwise we get a buffer overflow during installation! export BASECFLAGS='-U_FORTIFY_SOURCE' mkdir -p /usr/local/c$which_python/bin ./configure --prefix="/usr/local/c$which_python" --enable-shared && make