Skip to content

Instantly share code, notes, and snippets.

@sirhc
Created September 27, 2013 19:59
Show Gist options
  • Save sirhc/6734348 to your computer and use it in GitHub Desktop.
Save sirhc/6734348 to your computer and use it in GitHub Desktop.
Perl build instructions
cd /tmp
# download perl-5.16.2 from https://metacpan.org/module/perl
gzip -cd perl-5.16.2.tar.gz | tar xf -
cd perl-5.16.2
sh Configure -des \
-Dcf_by=`whoami` \
-Dcf_email=`whoami`@`domainname` \
-Dperladmin=help@`domainname` \
-Dmyhostname=`hostname` \
-Dmydomain=`domainname` \
-Dprefix="/opt/perl/5.16.2" \
-Dusethreads \
-Duseithreads \
-Dcc=gcc \
-Dotherlibdirs="/opt/perl/5.16.1/lib/site_perl/5.16.1:/opt/perl/5.16.0/lib/site_perl/5.16.0"
make
make test
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment