README.machten - Perl version 5 on Power MachTen systems
This document describes how to build Perl 5 on Power MachTen systems, and discusses a few wrinkles in the implementation.
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 hints/machten.sh for more information.)
You should have at least 32 megabytes of free memory on your
system before running the
For much more information on building perl -- for example, on how to change the default installation directory -- see INSTALL.
If warnings are enabled with Perl's
Subroutine DynaLoader::dl_error redefined at /usr/local/lib/perl5/5.6.0/powerpc-machten/DynaLoader.pm line 93.
This is a harmless consequence of the static linking used for MachTen
perl. You can suppress the warnings by using the more modern
To add an external module to perl, build in the normal way, which is documented in the ExtUtils::MakeMaker manpage, or which can be driven automatically by the CPAN module (see the CPAN manpage), which is part of the standard distribution. If wou want to install a module 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
Dominic Dunlop <firstname.lastname@example.org>
Version 1.0 2000-03-22