Cari di Perl 
    Perl User Manual
Daftar Isi
(Sebelumnya) Perl under Amiga OSBuilding and installing Perl f ... (Berikutnya)
Platform Specific

Perl version 5.8+ on BeOS

Daftar Isi

NAME

perlbeos - Perl version 5.8+ on BeOS

DESCRIPTION

This file contains instructions how to build Perl under BeOS and listsknown problems.

BUILD AND INSTALL

Requirements

I have built and tested Perl 5.8.6 and 5.9.1 under BeOS R5 x86 net server.I can't say anything with regard to PPC. Since Perl 5.8.0 had been releasedfor BeOS BONE, I suspect, there is a good chance, that it still compiles ona BONE system. The only change I've made, that affects BONE systems is therecognition of whether it is a BONE system or not in hints/beos.sh. Nownetwork socket support should remain enabled on BONE systems. This mightas well break the build, though.

As more recent versions of autoconf require flock() support, I wrote a flock()emulation (flock_server) and released it on BeBits:

  1. http://www.bebits.com/app/4030

If you want to build a Perl with flock() support, you have to install thispackage first.

Configure

With flock() support:

  1. CFLAGS=-I/path/to/flock/server/headers ./configure.gnu \
  2. --prefix=/boot/home/config

Replace /path/to/flock/server/headers with the path to the directorycontaining the flock.h header.

Without flock() support:

  1. ./configure.gnu --prefix=/boot/home/config

Build

With flock() support:

  1. make LDLOADLIBS="-lnet -lflock"

Without flock() support:

  1. make LDLOADLIBS="-lnet"

-lnet is needed on net server systems only and if the compiler doesn'tadd it automatically (Be's R5 gcc does, Oliver Tappe's gcc 2.95.3 does not).

Install

Install all perl files:

  1. make install

Create a symlink for libperl:

  1. cd ~/config/lib; ln -s perl5/5.8.6/BePC-beos/CORE/libperl.so .

Replace 5.8.6 with your respective version of Perl.

KNOWN PROBLEMS

  • Network socket support is disabled for BeOS R5 net server. I didn't dare yetto try enabling it and see what problems occur.

  • The LFS (large file support) tests (t/op/lfs and xt/Fcntl/t/syslfs) aredisabled as seeking beyond 2 GB is broken according to [email protected] who was thelast one checking the BeOS port and updating this file before me. Haven'tchecked this myself.

  • The t/io/fflush test fails at #6. As far as I can tell, this is caused bya bug in the BeOS pipes implementation that occurs when starting other childprocesses. In the particular test case a system("perl -e 0") flushes thestdout pipe of another child process.

  • The ext/POSIX/t/waitpid test fails at #1. After all child processes aregone BeOS' waitpid(-1,...) returns 0 instead of -1 (as it should). No ideahow to fix this.

CONTACT

For BeOS specifics problems feel free to mail to:Ingo Weinhold <[email protected]>

Last update: 2004-12-16

 
Source : perldoc.perl.org - Official documentation for the Perl programming language
Site maintained by Jon Allen (JJ)     See the project page for more details
Documentation maintained by the Perl 5 Porters
(Sebelumnya) Perl under Amiga OSBuilding and installing Perl f ... (Berikutnya)