Copyright (C) 2000-2012 |
Manpages PERLMACHTENSection: Perl Programmers Reference Guide (1)Updated: 2001-03-03 Index Return to Main Contents NAMEREADME.machten - Perl version 5 on Power MachTen systemsDESCRIPTIONThis document describes how to build Perl 5 on Power MachTen systems, and discusses a few wrinkles in the implementation.Compiling Perl 5 on MachTenTo compile perl under MachTen 4.1.4 (and probably earlier versions):
./Configure -de make make test make installThis 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 "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
Building external modulesTo add an external module to perl, build in the normal way, which is documented in ExtUtils::MakeMaker, or which can be driven automatically by the CPAN module (see 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 "install Bundle::CPAN". When installing a 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. AUTHORDominic Dunlop <domo@computer.org>DATEVersion 1.0.1 2000-03-27
Index
This document was created by man2html, using the manual pages. Time: 17:00:53 GMT, April 26, 2024 |