Seth Woolley's Man Viewer

perlmachten(1) - README.machten - Perl version 5 on Power MachTen systems - man 1 perlmachten

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

PERLMACHTEN(1)         Perl Programmers Reference Guide         PERLMACHTEN(1)

       README.machten - Perl version(1,3,5) 5 on Power MachTen systems

       This document describes how to build Perl 5 on Power MachTen systems,
       and discusses a few wrinkles in(1,8) the implementation.

       Perl version(1,3,5) 5.8.x and greater not supported

       Power MachTen is not supported by versions of Perl later than 5.6.x.
       If you wish to build a version(1,3,5) from the 5.6 track, please obtain a
       source distribution from the archive at <> and
       follow the instructions in(1,8) 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 super-
       seded by Mac OS X and by BSD and Linux implementations for Macintosh
       hardware.  The final version(1,3,5) of Power MachTen, 4.1.4, lacks many fea-
       tures found in(1,8) 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 fail-
       ures in(1,8) the perl core.

       In September 2003, a discussion on the MachTen mailing list determined
       that there was no interest in(1,8) making a later version(1,3,5) of Perl build suc-
       cessfully on MachTen.  Consequently, support for building Perl under
       MachTen has been suppressed in(1,8) Perl distributions published after
       February 2004.  The hints file(1,n), hints/, remains a part of the
       distributions for reference purposes.

       Compiling Perl 5.6.x on MachTen

       To compile perl 5.6.x under MachTen 4.1.4 (and probably earlier ver-

         ./Configure -de
         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 dynami-
       cally linked libraries.  (See hints/ for more information.)

       You should have at least 32 megabytes of free memory on your system
       before running the "make" command.

       For much more information on building perl -- for example, on how to
       change the default installation directory -- see INSTALL.

       Failures during "make test" on MachTen

           This test may fail when first run after building perl.  It does not
           fail subsequently.  The cause is unknown.

           Test 257 fails due to a failure to warn about attempts to read(2,n,1 builtins) 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(1,n) type
           to either end of a pipe(2,8) (see stat(1,2)), resulting, among other things
           in(1,8) Perl's "-p" test failing on file(1,n) descriptors belonging to pipes.
           As a result, perl becomes confused, and the test for reading from a
           write-only file(1,n) 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(1,8) its effect on practical Perl programs.

       Building external modules on MachTen

       To add an external module to perl, build in(1,8) the normal way, which is
       documented in(1,8) ExtUtils::MakeMaker, or which can be driven automatically
       by the CPAN module (see CPAN), which is part of the standard distribu-
       tion.  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(1,3,5) containing the new
       statically-linked object module.  The build process tells you how to do

       There is a gotcha, however, which users(1,5) usually encounter immediately
       they respond to CPAN's invitation to "install Bundle::CPAN". When
       installing a bundle -- a group of modules which together achieve some
       particular purpose, the installation process for later modules in(1,8) 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(1,8) the order given.

       Dominic Dunlop <>

       Version 1.1.0 2004-02-13

perl v5.8.5                       2004-04-23                    PERLMACHTEN(1)

References for this manual (incoming links)