FAQ

On Wed 11 Feb 2004 15:54, Dominic Dunlop wrote:
On 11 Feb 2004, at 13:49, H.Merijn Brand wrote:

I can easily live with giving up support for blead on MachTen given
the reason
you stated

I can live with the removal of pod/perlmachten.pod

The message below can be the new content of README.machten (with some
adjustment
OK. Here's a patch against perl-current for Configure and
README.machten. (pod/perlmachten.pod needs no attention, as it's simply
a symlink to README.machten.) You should also remove the
hints/machten.sh by hand. (Easier for me than persuading your patch
program to do it, provided you've allowed it to!)
I propose the following:

1. Leave Configure as it is, this also to simplify integration
to older versions, as Configure is still shared amongst all
2. Make hints/machten.sh exit with a warning for any perl
higher than 5.8.x. This exit will have the same effect as
you intended with the change to Configure: it won't build
3. Add a note to README.machten that 5.8.x is the last perl
to support machten and only apply that to 5.8.x and below
4. Replace the content of README.machten with the patch you
supplied for blead and up
--- Configure~ Wed Feb 11 15:11:05 2004
+++ Configure Wed Feb 11 15:15:48 2004
@@ -3019,18 +3019,6 @@
$test -f /etc/saf/_sactab && osname=svr4
$test -d /usr/include/minix && osname=minix
$test -f /system/gnu_library/bin/ar.pm && osname=vos
- if $test -d /MachTen -o -d /MachTen_Folder; then
- osname=machten
- if $test -x /sbin/version; then
- osvers=`/sbin/version | $awk '{print $2}' |
- $sed -e 's/[A-Za-z]$//'`
- elif $test -x /usr/etc/version; then
- osvers=`/usr/etc/version | $awk '{print $2}' |
- $sed -e 's/[A-Za-z]$//'`
- else
- osvers="$2.$3"
- fi
- fi

$test -f /sys/posix.dll &&
$test -f /usr/bin/what &&
--- README.machten~ Thu Jun 7 02:14:58 2001
+++ README.machten Wed Feb 11 15:19:35 2004
@@ -8,77 +8,31 @@

=head1 DESCRIPTION

-This document describes how to build Perl 5 on Power MachTen systems,
-and discusses a few wrinkles in the implementation.
+This document describes how to build Perl 5 on Power MachTen systems.

-=head2 Compiling Perl 5 on MachTen
-
-To compile perl under MachTen 4.1.4 (and probably earlier versions):
-
- ./Configure -de
- make
- make test
- make install
-
-This builds and installs a statically-linked perl; MachTen's dynamic
-linking facilities are not adequate to support Perl's use of
-dynamically linked libraries. (See F<hints/machten.sh> for more
-information.)
-
-You should have at least 32 megabytes of free memory on your
-system before running the C<make> command.
-
-For much more information on building perl -- for example, on how to
-change the default installation directory -- see F<INSTALL>.
-
-=head2 Failures during C<make test> on MachTen
-
-=over 4
-
-=item op/lexassign.t
-
-This test may fail when first run after building perl. It does not
-fail subsequently. The cause is unknown.
-
-=item pragma/warnings.t
-
-Test 257 fails due to a failure to warn about attempts to read from a
-filehandle which is a duplicate of stdout when stdout is attached to a
-pipe. The output of the test contains a block comment which discusses
-a different failure, not applicable to MachTen.
-
-The root of the problem is that Machten does not assign a file type to
-either end of a pipe (see L<stat>), resulting, among other things
-in Perl's C<-p> test failing on file descriptors belonging to pipes.
-As a result, perl becomes confused, and the test for reading from a
-write-only file fails. I am reluctant to patch perl to get around
-this, as it's clearly an OS bug (about which Tenon has been informed),
-and limited in its effect on practical Perl programs.
-
-=back
-
-=head2 Building external modules on MachTen
-
-To add an external module to perl, build in the normal way, which
-is documented in L<ExtUtils::MakeMaker>, or which can be driven
-automatically by the CPAN module (see L<CPAN>), which is part of the
-standard distribution. If you want to install a module which
-contains XS code (C or C++ source which compiles to object code
-for linking with perl), you will have to replace your perl binary with
-a new version containing the new statically-linked object module. The
-build process tells you how to do this.
-
-There is a gotcha, however, which users usually encounter immediately
-they respond to CPAN's invitation to C<install Bundle::CPAN>. When
-installing a I<bundle> -- a group of modules which together achieve
-some particular purpose, the installation process for later modules in
-the bundle tends to assume that earlier modules have been fully
-installed and are available for use. This is not true on a
-statically-linked system for earlier modules which contain XS code.
-As a result the installation of the bundle fails. The work-around is
-not to install the bundle as a one-shot operation, but instead to see
-what modules it contains, and install these one-at-a-time by hand in
-the order given.
+B<Power MachTen is not supported by versions of Perl later than 5.6.1.>
+If you wish to build Perl from source for Power MachTen, you should
+obtain the 5.6.1 distribution, which is available at
+L<http://cpan.org/src/5.0/perl-5.6.1.tar.gz>, then follow the
instructions
+in the file F<README.machten> from that distribution.
+
+=head2 Discussion
+
+MachTen is no longer supported by its developers, Tenon Intersystems.
+A UNIX environment hosted on Mac OS Classic, MachTen has been
+superseded by Mac OS X and by Linux implementations for Macintosh
+hardware.
+The final version of Power MachTen, 4.1.4, lacks many features found in
+modern implementations of UNIX, and has a number of bugs.
+These shortcomings prevent recent versions of Perl from being able to
use
+extensions on MachTen, and cause numerous test suite failures in the
perl
+core.
+
+In September 2003, a discussion on the MachTen mailing list determined
+that there was no interest in making a later version of Perl build
+successfully on MachTen.
+Consequently, support for building Perl under MachTen has been removed
+from Perl distributions published after February 2004.

=head1 AUTHOR

@@ -86,4 +40,4 @@

=head1 DATE

-Version 1.0.1 2000-03-27
+Version 2.0.0 2004-02-11
--
Dominic Dunlop
--
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

  • Nicholas Clark at Feb 11, 2004 at 7:35 pm

    On Wed, Feb 11, 2004 at 04:56:54PM +0100, H.Merijn Brand wrote:
    On Wed 11 Feb 2004 15:54, Dominic Dunlop wrote:

    OK. Here's a patch against perl-current for Configure and
    README.machten. (pod/perlmachten.pod needs no attention, as it's simply
    a symlink to README.machten.) You should also remove the
    hints/machten.sh by hand. (Easier for me than persuading your patch
    program to do it, provided you've allowed it to!)
    I propose the following:

    1. Leave Configure as it is, this also to simplify integration
    to older versions, as Configure is still shared amongst all
    2. Make hints/machten.sh exit with a warning for any perl
    higher than 5.8.x. This exit will have the same effect as
    you intended with the change to Configure: it won't build
    3. Add a note to README.machten that 5.8.x is the last perl
    to support machten and only apply that to 5.8.x and below
    4. Replace the content of README.machten with the patch you
    supplied for blead and up
    I like all of this. In fact I was thinking about the last 2 points
    when I read the previous message in the thread.

    Nicholas Clark
  • Andrew Dougherty at Feb 11, 2004 at 8:30 pm

    On Wed, 11 Feb 2004, H.Merijn Brand wrote:

    On Wed 11 Feb 2004 15:54, Dominic Dunlop wrote:
    [ giving up on MachTen ]
    I propose the following:

    1. Leave Configure as it is, this also to simplify integration
    to older versions, as Configure is still shared amongst all
    Yes, but certainly do put some comments in the appropriate unit
    (OldConfig.U, I think, offhand.)
    2. Make hints/machten.sh exit with a warning for any perl
    higher than 5.8.x. This exit will have the same effect as
    you intended with the change to Configure: it won't build
    Or maybe don't even bother, though certainly remove or reword
    Dominic's promise to help fix any problems!

    After all, there's a difference between not supporting something and
    going out of our way to un-support it.

    Phrased differently, the fact that there even *is* a MachTen mailing list
    is evidence that someone has a least a tiny bit of interest in it. Yes, I
    know the product is defunct. Yes, I know that there are alternatives.
    Still, if someone really wanted to try to build perl-5.9.x on it, even
    just for fun, we might was well leave the existing infrastructure in place
    as long as it doesn't make something else hard.

    I note that a number of problems that Dominic solved for MachTen actually
    had (or could have) quite generic application, for example PPC alignment
    issues and stack-size limits related to regular expression recursion. It'd
    be nice to preserve that hard-earned wisdom somehow; the hint file does a
    nice job of that.

    Sometimes, such old cruft does get in the way and needs to be removed.
    In 5.005, for example, we finally required ANSI C because the prototype
    stuff was just getting too painful. However, on the flip side, just
    recently the old Mips "dual universe" infrastructure came in handy when
    someone wanted to ignore /usr/include and use private include files
    instead.

    Of course to put things in perspective, I tend to have a soft spot for old
    neglected ports. I never even got around to deleting hints/3b1.sh, even
    though the last successful build I am aware of for that platform was on
    5.001m. Nor did I ever delete hints/isc_2.sh, though that was superceded
    by version 3 about 10 years ago, and that was superceded by version 4, and
    that was bought by Sun and abandoned around 1996 or so :-).

    --
    Andy Dougherty doughera@lafayette.edu
  • Dominic Dunlop at Feb 12, 2004 at 7:15 pm
    Thanks for your kind words, Andy. The reason I sent the original mail
    is that I knew that the last perl that I knew worked worth a damn of
    MachTen was with 5.6.1, and I wanted to minimize the possibility of
    anybody coming along and getting frustrated on discovering that more
    current perls would not even build.
    On 11 Feb 2004, at 21:31, Andrew Dougherty wrote:
    On Wed, 11 Feb 2004, H.Merijn Brand wrote:

    On Wed 11 Feb 2004 15:54, Dominic Dunlop wrote:
    [ giving up on MachTen ]
    I propose the following:

    1. Leave Configure as it is, this also to simplify integration
    to older versions, as Configure is still shared amongst all
    Yes, but certainly do put some comments in the appropriate unit
    (OldConfig.U, I think, offhand.)
    OK by me.
    2. Make hints/machten.sh exit with a warning for any perl
    higher than 5.8.x. This exit will have the same effect as
    you intended with the change to Configure: it won't build
    Or maybe don't even bother, though certainly remove or reword
    Dominic's promise to help fix any problems!
    Again OK. I just unmothballed MachTen and confirmed that 5.6.2 makes a
    fairly good fist of building -- just one (new) test failed -- so
    stopping perl >= 5.8.x from building seems like the right thing to do.

    I'll cook up another patch.
    --
    Dominic Dunlop
  • Dominic Dunlop at Feb 13, 2004 at 5:15 pm

    On 12 Feb 2004, at 20:13, Dominic Dunlop wrote:
    2. Make hints/machten.sh exit with a warning for any perl
    higher than 5.8.x. This exit will have the same effect as
    you intended with the change to Configure: it won't build
    Or maybe don't even bother, though certainly remove or reword
    Dominic's promise to help fix any problems!
    Again OK.
    Umm, this may be a dumb question, but how can I tell in a hints file
    what version of perl is being built? Looking at the shell variables
    that are defined when the file is sourced, I can see nothing with the
    version number in it, except tmppwd -- and it's only there because of
    what I happened to call the top-level directory. Should I parse what I
    need out of patchlevel.h?

    Thanks.
    --
    Dominic Dunlop
  • Andrew Dougherty at Feb 14, 2004 at 5:24 pm

    On Fri, 13 Feb 2004, Dominic Dunlop wrote:

    Umm, this may be a dumb question, but how can I tell in a hints file
    what version of perl is being built? Looking at the shell variables
    that are defined when the file is sourced, I can see nothing with the
    version number in it, except tmppwd -- and it's only there because of
    what I happened to call the top-level directory. Should I parse what I
    need out of patchlevel.h?
    You've probably already figured this out (which means I'm going to do this
    all from memory without actually checking anything), but you're right.
    Configure extracts the version info from patchlevel.h, but it does so
    later on, after the hints files are sourced. I don't recall any
    dependencies requiring it to come out that way. In any case, you can
    obviously just copy the code from Configure and put it into your hint
    file, which is probably what you already did.

    --
    Andy Dougherty doughera@lafayette.edu
  • Dominic Dunlop at Feb 15, 2004 at 3:10 pm

    On 11 Feb 2004, at 21:31, Andrew Dougherty wrote:
    On Wed, 11 Feb 2004, H.Merijn Brand wrote:

    On Wed 11 Feb 2004 15:54, Dominic Dunlop wrote:
    [ giving up on MachTen ]
    I propose the following:

    1. Leave Configure as it is, this also to simplify integration
    to older versions, as Configure is still shared amongst all
    OK. Untouched.
    Yes, but certainly do put some comments in the appropriate unit
    (OldConfig.U, I think, offhand.)
    That's up to you.
    2. Make hints/machten.sh exit with a warning for any perl
    higher than 5.8.x. This exit will have the same effect as
    you intended with the change to Configure: it won't build
    Or maybe don't even bother, though certainly remove or reword
    Dominic's promise to help fix any problems!

    After all, there's a difference between not supporting something and
    going out of our way to un-support it.
    Done. See patch below for hints/machten.sh and README.machten. It
    applies against perl-current and 5.6.3. I have not checked any other
    distributions.

    --- hints/machten.sh~ Wed Dec 11 10:23:25 2002
    +++ hints/machten.sh Sun Feb 15 14:45:45 2004
    @@ -1,7 +1,14 @@
    #! /bin/bash
    # machten.sh
    # This is for MachTen 4.1.4. It might work on other versions and
    variants
    -# too. If it doesn't, tell me, and I'll try to fix it --
    domo@computer.org
    +# too. MachTen is now obsolete, lacks many features expected in
    modern UNIX
    +# implementations, and suffers from a number of bugs which are likely
    never
    +# to be fixed. This means that, in the absence of extensive work on
    +# this file and on the perl source code, versions of perl later than
    5.6.x
    +# cannot successfully be built on MachTen. This file enforces this
    +# restriction. Should you wish to port a later version of perl to
    MachTen,
    +# feel free to contact me for pointers.
    +# -- Dominic Dunlop <domo@computer.org> 040213
    #
    # Users of earlier MachTen versions might need a fixed tr from
    ftp.tenon.com.
    # This should be described in the MachTen release notes.
    @@ -15,6 +22,8 @@
    # Martijn Koster <m.koster@webcrawler.com>
    # Richard Yeh <rcyeh@cco.caltech.edu>
    #
    +# Prevent building of perls later than 5.6.x, stating why -- see above.
    +# -- Dominic Dunlop <domo@computer.org> 040213
    # Deny system's false claims to support mmap() and munmap(); note
    # also that Sys V IPC (re)disabled by jhi due to continuing inadequacy
    # -- Dominic Dunlop <domo@computer.org> 001111
    @@ -44,8 +53,21 @@
    # Do not use perl's malloc; SysV IPC OK -- Neil Cutcliffe, Tenon 961030
    # File::Find's use of link count disabled by Dominic Dunlop 960528
    # Perl's use of sigsetjmp etc. disabled by Dominic Dunlop 960521
    -#
    -# Comments, questions, and improvements welcome!
    +
    +# Assume that PERL_REVISON in patchlevel.h is 5.
    +# Should you want to try building perl-5.8.x or later, set
    PERL_VERSION_SAFE_MAX
    +# appropriately in your environment before running Configure.
    +if [ `awk '$1=="#define" && $2=="PERL_VERSION"{print $3}'
    patchlevel.h` \
    + -gt ${PERL_VERSION_SAFE_MAX:-6} ]
    +then
    + cat <<EOF >&4
    +
    +Perl versions greater than 5.6.x have not been ported to MachTen. If
    you
    +wish to build a version from the 5.6 track, please see the notes in
    +F<README.machten>
    +EOF
    + exit 1
    +fi
    #
    # MachTen 4.1.1's support for shadow password file access is
    incomplete:
    # disable its use completely.
    @@ -95,7 +117,7 @@
    # Specify a high level of optimization (-O3 wouldn't do much more)
    optimize=${optimize:--O2 -fomit-frame-pointer}

    -# Make symbol table listings les voluminous
    +# Make symbol table listings less voluminous
    nmopts=-gp

    # Set reg_infty -- the maximum allowable number of repeats in regular
    --- README.machten~ Wed Jun 6 23:46:22 2001
    +++ README.machten Fri Feb 13 19:36:03 2004
    @@ -11,9 +11,36 @@
    This document describes how to build Perl 5 on Power MachTen systems,
    and discusses a few wrinkles in the implementation.

    -=head2 Compiling Perl 5 on MachTen
    +=head2 Perl version 5.8.x and greater not supported

    -To compile perl under MachTen 4.1.4 (and probably earlier versions):
    +B<Power MachTen is not supported by versions of Perl later than
    +5.6.x.>
    +If you wish to build a version from the 5.6 track, please
    +obtain a source distribution from the archive at
    +L<http://cpan.org/src/5.0/> and follow the instructions in its
    +README.machten file.
    +
    +MachTen is no longer supported by its developers, Tenon Intersystems.
    +A UNIX environment hosted on Mac OS Classic, MachTen has been
    +superseded by Mac OS X and by BSD and Linux implementations for
    Macintosh
    +hardware.
    +The final version of Power MachTen, 4.1.4, lacks many features found in
    +modern implementations of UNIX, and has a number of bugs.
    +These shortcomings prevent recent versions of Perl from being able to
    use
    +extensions on MachTen, and cause numerous test suite failures in the
    +perl core.
    +
    +In September 2003, a discussion on the MachTen mailing list determined
    +that there was no interest in making a later version of Perl build
    +successfully on MachTen.
    +Consequently, support for building Perl under MachTen has been
    suppressed
    +in Perl distributions published after February 2004.
    +The hints file, F<hints/machten.sh>, remains a part of the
    +distributions for reference purposes.
    +
    +=head2 Compiling Perl 5.6.x on MachTen
    +
    +To compile perl 5.6.x under MachTen 4.1.4 (and probably earlier
    versions):

    ./Configure -de
    make
    @@ -86,4 +113,4 @@

    =head1 DATE

    -Version 1.0.1 2000-03-27
    +Version 1.1.0 2004-02-13
    --
    Dominic Dunlop
  • Dominic Dunlop at Mar 10, 2004 at 5:29 pm
    [Originally sent to all addressees except p5p on 15 February. It seems
    to have fallen down a hole -- perhaps because I failed to mark it
    [PATCH], so here it is again. Tested against Machten on bleadperl,
    perl-5.6.2, perl-5.8.3, and perl5.005_04-RC2 (where it applies
    partially and fuzzily, but well enough to work); tested against Mac OS
    X on bleadperl.]
    On 11 Feb 2004, at 21:31, Andrew Dougherty wrote:
    On Wed, 11 Feb 2004, H.Merijn Brand wrote:

    On Wed 11 Feb 2004 15:54, Dominic Dunlop wrote:
    [ giving up on MachTen ]
    I propose the following:

    1. Leave Configure as it is, this also to simplify integration
    to older versions, as Configure is still shared amongst all
    OK. Untouched.
    Yes, but certainly do put some comments in the appropriate unit
    (OldConfig.U, I think, offhand.)
    That's up to you.
    2. Make hints/machten.sh exit with a warning for any perl
    higher than 5.8.x. This exit will have the same effect as
    you intended with the change to Configure: it won't build
    Or maybe don't even bother, though certainly remove or reword
    Dominic's promise to help fix any problems!

    After all, there's a difference between not supporting something and
    going out of our way to un-support it.
    Done. See patch below for hints/machten.sh and README.machten. It
    applies against perl-current and 5.6.3. I have not checked any other
    distributions.

    --- hints/machten.sh~ Wed Dec 11 10:23:25 2002
    +++ hints/machten.sh Sun Feb 15 14:45:45 2004
    @@ -1,7 +1,14 @@
    #! /bin/bash
    # machten.sh
    # This is for MachTen 4.1.4. It might work on other versions and
    variants
    -# too. If it doesn't, tell me, and I'll try to fix it --
    domo@computer.org
    +# too. MachTen is now obsolete, lacks many features expected in
    modern UNIX
    +# implementations, and suffers from a number of bugs which are likely
    never
    +# to be fixed. This means that, in the absence of extensive work on
    +# this file and on the perl source code, versions of perl later than
    5.6.x
    +# cannot successfully be built on MachTen. This file enforces this
    +# restriction. Should you wish to port a later version of perl to
    MachTen,
    +# feel free to contact me for pointers.
    +# -- Dominic Dunlop <domo@computer.org> 040213
    #
    # Users of earlier MachTen versions might need a fixed tr from
    ftp.tenon.com.
    # This should be described in the MachTen release notes.
    @@ -15,6 +22,8 @@
    # Martijn Koster <m.koster@webcrawler.com>
    # Richard Yeh <rcyeh@cco.caltech.edu>
    #
    +# Prevent building of perls later than 5.6.x, stating why -- see above.
    +# -- Dominic Dunlop <domo@computer.org> 040213
    # Deny system's false claims to support mmap() and munmap(); note
    # also that Sys V IPC (re)disabled by jhi due to continuing inadequacy
    # -- Dominic Dunlop <domo@computer.org> 001111
    @@ -44,8 +53,21 @@
    # Do not use perl's malloc; SysV IPC OK -- Neil Cutcliffe, Tenon 961030
    # File::Find's use of link count disabled by Dominic Dunlop 960528
    # Perl's use of sigsetjmp etc. disabled by Dominic Dunlop 960521
    -#
    -# Comments, questions, and improvements welcome!
    +
    +# Assume that PERL_REVISON in patchlevel.h is 5.
    +# Should you want to try building perl-5.8.x or later, set
    PERL_VERSION_SAFE_MAX
    +# appropriately in your environment before running Configure.
    +if [ `awk '$1=="#define" && $2=="PERL_VERSION"{print $3}'
    patchlevel.h` \
    + -gt ${PERL_VERSION_SAFE_MAX:-6} ]
    +then
    + cat <<EOF >&4
    +
    +Perl versions greater than 5.6.x have not been ported to MachTen. If
    you
    +wish to build a version from the 5.6 track, please see the notes in
    +F<README.machten>
    +EOF
    + exit 1
    +fi
    #
    # MachTen 4.1.1's support for shadow password file access is
    incomplete:
    # disable its use completely.
    @@ -95,7 +117,7 @@
    # Specify a high level of optimization (-O3 wouldn't do much more)
    optimize=${optimize:--O2 -fomit-frame-pointer}

    -# Make symbol table listings les voluminous
    +# Make symbol table listings less voluminous
    nmopts=-gp

    # Set reg_infty -- the maximum allowable number of repeats in regular
    --- README.machten~ Wed Jun 6 23:46:22 2001
    +++ README.machten Fri Feb 13 19:36:03 2004
    @@ -11,9 +11,36 @@
    This document describes how to build Perl 5 on Power MachTen systems,
    and discusses a few wrinkles in the implementation.

    -=head2 Compiling Perl 5 on MachTen
    +=head2 Perl version 5.8.x and greater not supported

    -To compile perl under MachTen 4.1.4 (and probably earlier versions):
    +B<Power MachTen is not supported by versions of Perl later than
    +5.6.x.>
    +If you wish to build a version from the 5.6 track, please
    +obtain a source distribution from the archive at
    +L<http://cpan.org/src/5.0/> and follow the instructions in its
    +README.machten file.
    +
    +MachTen is no longer supported by its developers, Tenon Intersystems.
    +A UNIX environment hosted on Mac OS Classic, MachTen has been
    +superseded by Mac OS X and by BSD and Linux implementations for
    Macintosh
    +hardware.
    +The final version of Power MachTen, 4.1.4, lacks many features found in
    +modern implementations of UNIX, and has a number of bugs.
    +These shortcomings prevent recent versions of Perl from being able to
    use
    +extensions on MachTen, and cause numerous test suite failures in the
    +perl core.
    +
    +In September 2003, a discussion on the MachTen mailing list determined
    +that there was no interest in making a later version of Perl build
    +successfully on MachTen.
    +Consequently, support for building Perl under MachTen has been
    suppressed
    +in Perl distributions published after February 2004.
    +The hints file, F<hints/machten.sh>, remains a part of the
    +distributions for reference purposes.
    +
    +=head2 Compiling Perl 5.6.x on MachTen
    +
    +To compile perl 5.6.x under MachTen 4.1.4 (and probably earlier
    versions):

    ./Configure -de
    make
    @@ -86,4 +113,4 @@

    =head1 DATE

    -Version 1.0.1 2000-03-27
    +Version 1.1.0 2004-02-13
    --
    Dominic Dunlop
  • H.Merijn Brand at Mar 10, 2004 at 5:33 pm

    On Wed 10 Mar 2004 18:27, Dominic Dunlop wrote:
    [Originally sent to all addressees except p5p on 15 February. It seems
    to have fallen down a hole -- perhaps because I failed to mark it
    [PATCH], so here it is again. Tested against Machten on bleadperl,
    perl-5.6.2, perl-5.8.3, and perl5.005_04-RC2 (where it applies
    partially and fuzzily, but well enough to work); tested against Mac OS
    X on bleadperl.]
    Can I get the patch as attachment please? It wraps.
    On 11 Feb 2004, at 21:31, Andrew Dougherty wrote:
    On Wed, 11 Feb 2004, H.Merijn Brand wrote:

    On Wed 11 Feb 2004 15:54, Dominic Dunlop wrote:
    [ giving up on MachTen ]
    I propose the following:

    1. Leave Configure as it is, this also to simplify integration
    to older versions, as Configure is still shared amongst all
    OK. Untouched.
    Yes, but certainly do put some comments in the appropriate unit
    (OldConfig.U, I think, offhand.)
    That's up to you.
    2. Make hints/machten.sh exit with a warning for any perl
    higher than 5.8.x. This exit will have the same effect as
    you intended with the change to Configure: it won't build
    Or maybe don't even bother, though certainly remove or reword
    Dominic's promise to help fix any problems!

    After all, there's a difference between not supporting something and
    going out of our way to un-support it.
    Done. See patch below for hints/machten.sh and README.machten. It
    applies against perl-current and 5.6.3. I have not checked any other
    distributions.

    --- hints/machten.sh~ Wed Dec 11 10:23:25 2002
    +++ hints/machten.sh Sun Feb 15 14:45:45 2004
    @@ -1,7 +1,14 @@
    #! /bin/bash
    # machten.sh
    # This is for MachTen 4.1.4. It might work on other versions and
    variants
    -# too. If it doesn't, tell me, and I'll try to fix it --
    domo@computer.org
    +# too. MachTen is now obsolete, lacks many features expected in
    modern UNIX
    +# implementations, and suffers from a number of bugs which are likely
    never
    +# to be fixed. This means that, in the absence of extensive work on
    +# this file and on the perl source code, versions of perl later than
    5.6.x
    +# cannot successfully be built on MachTen. This file enforces this
    +# restriction. Should you wish to port a later version of perl to
    MachTen,
    +# feel free to contact me for pointers.
    +# -- Dominic Dunlop <domo@computer.org> 040213
    #
    # Users of earlier MachTen versions might need a fixed tr from
    ftp.tenon.com.
    # This should be described in the MachTen release notes.
    @@ -15,6 +22,8 @@
    # Martijn Koster <m.koster@webcrawler.com>
    # Richard Yeh <rcyeh@cco.caltech.edu>
    #
    +# Prevent building of perls later than 5.6.x, stating why -- see above.
    +# -- Dominic Dunlop <domo@computer.org> 040213
    # Deny system's false claims to support mmap() and munmap(); note
    # also that Sys V IPC (re)disabled by jhi due to continuing inadequacy
    # -- Dominic Dunlop <domo@computer.org> 001111
    @@ -44,8 +53,21 @@
    # Do not use perl's malloc; SysV IPC OK -- Neil Cutcliffe, Tenon 961030
    # File::Find's use of link count disabled by Dominic Dunlop 960528
    # Perl's use of sigsetjmp etc. disabled by Dominic Dunlop 960521
    -#
    -# Comments, questions, and improvements welcome!
    +
    +# Assume that PERL_REVISON in patchlevel.h is 5.
    +# Should you want to try building perl-5.8.x or later, set
    PERL_VERSION_SAFE_MAX
    +# appropriately in your environment before running Configure.
    +if [ `awk '$1=="#define" && $2=="PERL_VERSION"{print $3}'
    patchlevel.h` \
    + -gt ${PERL_VERSION_SAFE_MAX:-6} ]
    +then
    + cat <<EOF >&4
    +
    +Perl versions greater than 5.6.x have not been ported to MachTen. If
    you
    +wish to build a version from the 5.6 track, please see the notes in
    +F<README.machten>
    +EOF
    + exit 1
    +fi
    #
    # MachTen 4.1.1's support for shadow password file access is
    incomplete:
    # disable its use completely.
    @@ -95,7 +117,7 @@
    # Specify a high level of optimization (-O3 wouldn't do much more)
    optimize=${optimize:--O2 -fomit-frame-pointer}

    -# Make symbol table listings les voluminous
    +# Make symbol table listings less voluminous
    nmopts=-gp

    # Set reg_infty -- the maximum allowable number of repeats in regular
    --- README.machten~ Wed Jun 6 23:46:22 2001
    +++ README.machten Fri Feb 13 19:36:03 2004
    @@ -11,9 +11,36 @@
    This document describes how to build Perl 5 on Power MachTen systems,
    and discusses a few wrinkles in the implementation.

    -=head2 Compiling Perl 5 on MachTen
    +=head2 Perl version 5.8.x and greater not supported

    -To compile perl under MachTen 4.1.4 (and probably earlier versions):
    +B<Power MachTen is not supported by versions of Perl later than
    +5.6.x.>
    +If you wish to build a version from the 5.6 track, please
    +obtain a source distribution from the archive at
    +L<http://cpan.org/src/5.0/> and follow the instructions in its
    +README.machten file.
    +
    +MachTen is no longer supported by its developers, Tenon Intersystems.
    +A UNIX environment hosted on Mac OS Classic, MachTen has been
    +superseded by Mac OS X and by BSD and Linux implementations for
    Macintosh
    +hardware.
    +The final version of Power MachTen, 4.1.4, lacks many features found in
    +modern implementations of UNIX, and has a number of bugs.
    +These shortcomings prevent recent versions of Perl from being able to
    use
    +extensions on MachTen, and cause numerous test suite failures in the
    +perl core.
    +
    +In September 2003, a discussion on the MachTen mailing list determined
    +that there was no interest in making a later version of Perl build
    +successfully on MachTen.
    +Consequently, support for building Perl under MachTen has been
    suppressed
    +in Perl distributions published after February 2004.
    +The hints file, F<hints/machten.sh>, remains a part of the
    +distributions for reference purposes.
    +
    +=head2 Compiling Perl 5.6.x on MachTen
    +
    +To compile perl 5.6.x under MachTen 4.1.4 (and probably earlier
    versions):

    ./Configure -de
    make
    @@ -86,4 +113,4 @@

    =head1 DATE

    -Version 1.0.1 2000-03-27
    +Version 1.1.0 2004-02-13
    --
    Dominic Dunlop
    --
    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
  • Dominic Dunlop at Mar 11, 2004 at 9:35 am

    On 10 Mar 2004, at 18:31, H.Merijn Brand wrote:
    Can I get the patch as attachment please? It wraps.
    Piggies. Sorry about that. Here you go (with one long line shortened,
    and some spurious POD markup removed from the hints file):
  • H.Merijn Brand at Mar 11, 2004 at 10:29 am

    On Thu 11 Mar 2004 10:34, Dominic Dunlop wrote:
    On 10 Mar 2004, at 18:31, H.Merijn Brand wrote:
    Can I get the patch as attachment please? It wraps.
    Piggies. Sorry about that. Here you go (with one long line shortened,
    and some spurious POD markup removed from the hints file):
    By far the best version of your patch proposal.

    Thanks, applied as change #22484

    --
    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
postedFeb 11, '04 at 3:57p
activeMar 11, '04 at 10:29a
posts11
users4
websiteperl.org

People

Translate

site design / logo © 2019 Grokbase