FAQ
Comments?

--- INSTALL 2003-11-05 19:11:18.000000000 +0100
+++ INSTALL.new 2004-01-15 14:38:00.000000000 +0100
@@ -238,6 +238,20 @@ defaults from then on.
After it runs, Configure will perform variable substitution on all the
*.SH files and offer to run make depend.

+=head2 Disabling older versions of Perl
+
+Configure will search for binary compatible versions of previously
+installed perl binaries in the tree that is specified as target tree
+and these will be use by the perl being built.
+
+To disable use of older perl modules, even completely valid pure perl
+modules, you can specify to not include the pathes found:
+
+ sh Configure -Dinc_version_list=none ...
+
+When using the newer perl, you can add these pathes again in the
+$PERL5LIB environment variable or with perl's -I runtime option.
+
=head2 Altering config.sh variables for C compiler switches etc.

For most users, all of the Configure defaults are fine. Configure

--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on HP-UX 10.20 & 11.00, 11i,
AIX 4.3, SuSE 8.2, and Win2k. http://www.cmve.net/~merijn/
http://archives.develooper.com/daily-build@perl.org/ perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org

Search Discussions

  • Andrew Dougherty at Jan 19, 2004 at 4:15 pm

    On Thu, 15 Jan 2004, H.Merijn Brand wrote:

    Comments?

    --- INSTALL 2003-11-05 19:11:18.000000000 +0100
    +++ INSTALL.new 2004-01-15 14:38:00.000000000 +0100
    @@ -238,6 +238,20 @@ defaults from then on.
    After it runs, Configure will perform variable substitution on all the
    *.SH files and offer to run make depend.

    +=head2 Disabling older versions of Perl
    +
    + sh Configure -Dinc_version_list=none ...
    Yup, looks fine to me. Of course, I suppose Configure should also
    bet enhanced to handle

    sh Configure -Uinc_version_list

    that's just a matter of something like the following (untested)

    --- Configure 2004-01-19 11:11:52.000000000 -0500
    +++ Configure.new 2004-01-19 11:12:44.000000000 -0500
    @@ -6873,7 +6873,7 @@
    rp='List of earlier versions to include in @INC?'
    . ./myread
    case "$ans" in
    -[Nn]one|''|' ') inc_version_list=' ' ;;
    +[Nn]one|''|' '|$undef) inc_version_list=' ' ;;
    *) inc_version_list="$ans" ;;
    esac
    case "$inc_version_list" in

    --
    Andy Dougherty doughera@lafayette.edu
    Dept. of Physics
    Lafayette College, Easton PA 18042
  • H.Merijn Brand at Jan 19, 2004 at 4:33 pm

    On Mon 19 Jan 2004 17:15, Andrew Dougherty wrote:
    On Thu, 15 Jan 2004, H.Merijn Brand wrote:

    Comments?

    --- INSTALL 2003-11-05 19:11:18.000000000 +0100
    +++ INSTALL.new 2004-01-15 14:38:00.000000000 +0100
    @@ -238,6 +238,20 @@ defaults from then on.
    After it runs, Configure will perform variable substitution on all the
    *.SH files and offer to run make depend.

    +=head2 Disabling older versions of Perl
    +
    + sh Configure -Dinc_version_list=none ...
    Yup, looks fine to me.
    Change 22175
    Of course, I suppose Configure should also be enhanced to handle

    sh Configure -Uinc_version_list

    that's just a matter of something like the following (untested)

    --- Configure 2004-01-19 11:11:52.000000000 -0500
    +++ Configure.new 2004-01-19 11:12:44.000000000 -0500
    @@ -6873,7 +6873,7 @@
    rp='List of earlier versions to include in @INC?'
    . ./myread
    case "$ans" in
    -[Nn]one|''|' ') inc_version_list=' ' ;;
    +[Nn]one|''|' '|$undef) inc_version_list=' ' ;;
    Change 22177 (metaconfig change 22176)
    *) inc_version_list="$ans" ;;
    esac
    case "$inc_version_list" in
    Thanks for the feedback.

    Why does nobody seem to care? :)

    IMHO this is a _realy_ good extension, and I must admit to have been looking
    for this in Configure for more than once because it was not documented in
    INSTALL. Well, now it is

    Enjoy, Have FUN!

    --
    H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
    using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on HP-UX 10.20 & 11.00, 11i,
    AIX 4.3, SuSE 8.2, and Win2k. http://www.cmve.net/~merijn/
    http://archives.develooper.com/daily-build@perl.org/ perl-qa@perl.org
    send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-build @
categoriesperl
postedJan 15, '04 at 1:41p
activeJan 19, '04 at 4:33p
posts3
users2
websiteperl.org

People

Translate

site design / logo © 2019 Grokbase