From e5d5eb681c26d77fd4ea075295cc3a09309de88b Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 2 Mar 2005 06:36:00 +0000 Subject: [PATCH] Fix a bug with installing Python 2.2.1 from sources on Red Hat 9 - it fails because of absent KERBEROS compilation/linking flags. --- config_files/Python-2.2.1.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config_files/Python-2.2.1.sh b/config_files/Python-2.2.1.sh index cf169df..2055956 100755 --- a/config_files/Python-2.2.1.sh +++ b/config_files/Python-2.2.1.sh @@ -101,6 +101,9 @@ check_job ${PRODUCT_DIR}/CONFIGURE.LOG \ # vsr: not compiled on RedHat8.0 without libstdc++.so sed -e 's%LIBS= -ldl -lpthread -lutil%LIBS= -ldl -lpthread -lutil -lstdc++%g' Makefile > Makefile_new mv -f Makefile_new Makefile +# vsr: socket module is not compiled on RedHat9 because of absent KERBEROS include/libs flags +sed -e "s%\[('USE_SSL',1)\]%\[('USE_SSL',1),('OPENSSL_NO_KRB5',None)\]%g" setup.py > setup_new.py +mv -f setup_new.py setup.py GCC=`which gcc` cat >> ${PRODUCT_DIR}/MAKE.LOG <