APM: Configuring Perl

Montgomery Conner montgomery.conner at gmail.com
Tue Apr 13 16:24:54 PDT 2010


If you're in the mood for a good long read there's an INSTALL file
distributed with the Perl source. It has very detailed instructions for all
of the various build options.

But everytime I start to read that document my eyes glaze over and I end up
just using the defaults and the auto-discovery provided by Configure...
which always seems to just work (with the sole exception being an
installation I attempted on an ARM5 Sheeva SoC system running Ubuntu...
which required a little TLC ;-) ).


On Tue, Apr 13, 2010 at 5:48 PM, Tim McDaniel <tmcd at panix.com> wrote:

> 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
> _______________________________________________
> Austin mailing list
> Austin at pm.org
> http://mail.pm.org/mailman/listinfo/austin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/austin/attachments/20100413/555ea410/attachment.html>


More information about the Austin mailing list