check_job ${PRODUCT_DIR}/CONFIGURE.LOG \
./configure --prefix=${PRODUCT_DIR} --with-threads --with-cxx=`which g++`
# 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
+sed -e 's%LIBS= -ldl -lpthread -lutil%LIBS= -ldl -lpthread -lutil -lstdc++%g' Makefile > _Makefile
+mv -f _Makefile 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
+sed -e "s%\[('USE_SSL',1)\]%\[('USE_SSL',1),('OPENSSL_NO_KRB5',None)\]%g" setup.py > _setup.py
+mv -f _setup.py setup.py
GCC=`which gcc`
cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
used gcc=$GCC
check_job ${PRODUCT_DIR}/MAKE.LOG make
check_job ${PRODUCT_DIR}/MAKINSTALL.LOG make install
+#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
rm -fr ${PRODUCT_WORK}
print_env
}