Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

perlmachten(1) [redhat man page]

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

NAME
README.machten - Perl version 5 on Power MachTen systems DESCRIPTION
This document describes how to build Perl 5 on Power MachTen systems, and discusses a few wrinkles in the implementation. 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 dynami- cally 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" on MachTen op/lexassign.t This test may fail when first run after building perl. It does not fail subsequently. The cause is unknown. 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 stat), resulting, among other things in Perl's "-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. Building external modules on MachTen To add an external module to perl, build in the normal way, which is documented in ExtUtils::MakeMaker, or which can be driven automati- cally 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. AUTHOR
Dominic Dunlop <domo@computer.org> DATE
Version 1.0.1 2000-03-27 perl v5.8.0 2003-02-18 PERLMACHTEN(1)

Check Out this Related Man Page

PERLIVP(1)						 Perl Programmers Reference Guide						PERLIVP(1)

NAME
perlivp - Perl Installation Verification Procedure SYNOPSIS
perlivp [-p] [-v] [-h] DESCRIPTION
The perlivp program is set up at Perl source code build time to test the Perl version it was built under. It can be used after running: make install (or your platform's equivalent procedure) to verify that perl and its libraries have been installed correctly. A correct installation is verified by output that looks like: ok 1 ok 2 etc. OPTIONS
-h help Prints out a brief help message. -p print preface Gives a description of each test prior to performing it. -v verbose Gives more detailed information about each test, after it has been performed. Note that any failed tests ought to print out some extra information whether or not -v is thrown. DIAGNOSTICS
o print "# Perl binary '$perlpath' does not appear executable. "; Likely to occur for a perl binary that was not properly installed. Correct by conducting a proper installation. o print "# Perl version '$]' installed, expected $ivp_VERSION. "; Likely to occur for a perl that was not properly installed. Correct by conducting a proper installation. o print "# Perl @INC directory '$_' does not appear to exist. "; Likely to occur for a perl library tree that was not properly installed. Correct by conducting a proper installation. o print "# Needed module '$_' does not appear to be properly installed. "; One of the two modules that is used by perlivp was not present in the installation. This is a serious error since it adversely affects perlivp's ability to function. You may be able to correct this by performing a proper perl installation. o print "# Required module '$_' does not appear to be properly installed. "; An attempt to "eval "require $module"" failed, even though the list of extensions indicated that it should succeed. Correct by conducting a proper installation. o print "# Unnecessary module 'bLuRfle' appears to be installed. "; This test not coming out ok could indicate that you have in fact installed a bLuRfle.pm module or that the "eval " require "$module_name.pm"; "" test may give misleading results with your installation of perl. If yours is the latter case then please let the author know. o print "# file",+($#missing == 0) ? '' : 's'," missing from installation: "; One or more files turned up missing according to a run of "ExtUtils::Installed -> validate()" over your installation. Correct by conducting a proper installation. For further information on how to conduct a proper installation consult the INSTALL file that comes with the perl source and the README file for your platform. AUTHOR
Peter Prymmer perl v5.16.3 2014-06-17 PERLIVP(1)
Man Page