]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix a bug with installing Python 2.2.1 from sources on Red Hat 9 - it fails because...
authorvsr <vsr@opencascade.com>
Wed, 2 Mar 2005 06:36:00 +0000 (06:36 +0000)
committervsr <vsr@opencascade.com>
Wed, 2 Mar 2005 06:36:00 +0000 (06:36 +0000)
config_files/Python-2.2.1.sh

index cf169dfed61e917259fed487d3ada0acae80ad42..2055956e0adab1508005ca7f07ba8a076d4dff73 100755 (executable)
@@ -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 <<EOF
 used gcc=$GCC