APM: Configuring Perl

Tim McDaniel tmcd at panix.com
Tue Apr 13 15:48:36 PDT 2010


On Tue, 13 Apr 2010, Montgomery Conner <montgomery.conner at gmail.com>
wrote:
> You can check the configuration of the currently installed
> system-perl with 'perl -V'. This will issue more information than
> you ever wanted to know about a Perl install which you could then
> use as a template for the new build...

Good point!  It starts

     osname=linux, osvers=2.6.9-78.0.1.elsmp, archname=i386-linux-thread-multi
     uname='linux ls20-bc2-13.build.redhat.com 2.6.9-78.0.1.elsmp #1 smp tue jul
22 18:01:05 edt 2008 i686 athlon i386 gnulinux '
     config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Dversion=5.8.8 -Dmyhostname=localhost -Dperladmin=root at localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5 -Dscriptdir=/usr/bin'

so I guess I could just put those in as
     ./Configure -des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 ...

... except that's 5.8.8 and I'm building 5.10.1, so there might be
some differences in options, for all I know ...

-- 
Tim McDaniel, tmcd at panix.com


More information about the Austin mailing list