From: vsr Date: Wed, 2 Mar 2005 06:36:00 +0000 (+0000) Subject: Fix a bug with installing Python 2.2.1 from sources on Red Hat 9 - it fails because... X-Git-Tag: SALOME_V_2_2_1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e5d5eb681c26d77fd4ea075295cc3a09309de88b;p=tools%2Finstall.git Fix a bug with installing Python 2.2.1 from sources on Red Hat 9 - it fails because of absent KERBEROS compilation/linking flags. --- 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 <