Skip to content

Commit

Permalink
Upgrade Perl version to latest for platforms like centos-7 that have …
Browse files Browse the repository at this point in the history
…insufficient version available
  • Loading branch information
craigcomstock committed Sep 12, 2024
1 parent 6fd5732 commit 33b09f6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build-scripts/install-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33b09f6

Please sign in to comment.