From 33b09f6b8033ae98fbf8f04284bd8069536136c6 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Thu, 12 Sep 2024 08:12:51 -0500 Subject: [PATCH] Upgrade Perl version to latest for platforms like centos-7 that have insufficient version available --- build-scripts/install-dependencies | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/build-scripts/install-dependencies b/build-scripts/install-dependencies index 8f97d8970..efaee1f5c 100755 --- a/build-scripts/install-dependencies +++ b/build-scripts/install-dependencies @@ -78,12 +78,14 @@ check_and_install_perl() PERL_EXTRA_FLAGS='-Ud_nexttoward' fi - wget http://www.cpan.org/src/5.0/perl-5.26.1.tar.gz - [ `func_md5 perl-5.26.1.tar.gz` != "a7e5c531ee1719c53ec086656582ea86" ] \ + PERL_VERSION=5.40.0 + PERL_MD5=8da78b1f54b99e97954066d0aaad88bc + wget http://www.cpan.org/src/5.0/perl-${PERL_VERSION}.tar.gz + [ `func_md5 perl-${PERL_VERSION}.tar.gz` != "${PERL_MD5}" ] \ && fatal "perl checksum error" - gzip -dc perl-5.26.1.tar.gz | tar xf - - cd perl-5.26.1 - $PATCH -p1 < $BASEDIR/buildscripts/build-scripts/perl-488307ffa6.patch + gzip -dc perl-${PERL_VERSION}.tar.gz | tar xf - + cd perl-${PERL_VERSION} +# $PATCH -p1 < $BASEDIR/buildscripts/build-scripts/perl-488307ffa6.patch ./Configure -des -Dprefix=$HOME/perl-my -Dcc=gcc -Dmake=$MAKE \ $PERL_EXTRA_FLAGS $PERL_CFLAGS $PERL_LDFLAGS $PERL_LDDLFLAGS $MAKE