README.beos − Perl version 5.8+ on BeOS


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


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 released for BeOS BONE , I suspect, there is a good chance, that it still compiles on a BONE system. The only change I’ve made, that affects BONE systems is the recognition of whether it is a BONE system or not in "hints/". Now network socket support should remain enabled on BONE systems. This might as 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:

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

With flock() support:

        CFLAGS=−I/path/to/flock/server/headers ./configure.gnu \

Replace "/path/to/flock/server/headers" with the path to the directory containing the "flock.h" header.

Without flock() support:

        ./configure.gnu −−prefix=/boot/home/config

With flock() support:

        make LDLOADLIBS="−lnet −lflock"

Without flock() support:

        make LDLOADLIBS="−lnet"

"−lnet" is needed on net server systems only and if the compiler doesn’t add it automatically (Be’s R5 gcc does, Oliver Tappe’s gcc 2.95.3 does not).

Install all perl files:

        make install

Create a symlink for libperl:

        cd ~/config/lib; ln −s perl5/5.8.6/BePC−beos/CORE/ .

Replace 5.8.6 with your respective version of Perl.


Network socket support is disabled for BeOS R5 net server. I didn’t dare yet to try enabling it and see what problems occur.

The LFS (large file support) tests ("t/op/lfs" and "xt/Fcntl/t/syslfs") are disabled as seeking beyond 2 GB is broken according to who was the last one checking the BeOS port and updating this file before me. Haven’t checked this myself.

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

The "ext/POSIX/t/waitpid" test fails at #1. After all child processes are gone BeOS’ waitpid(−1,...) returns 0 instead of −1 (as it should). No idea how to fix this.


For BeOS specifics problems feel free to mail to: Ingo Weinhold <bonefish@cs.tu−>

Last update: 2004−12−16


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.