README.mpeix - Perl/iX for HP e3000 MPE
http://www.bixby.org/mark/perlix.html http://jazz.external.hp.com/src/hp_freeware/perl/ Perl language for MPE Last updated January 12, 2006 @ 2100 UTC
http://jazz.external.hp.com/src/hp_freeware/perl/ http://www.bixby.org/mark/perlix.html
Use which ever one is more recent.
Simplified the build process by using the MPEAUTOCONF functionality in Mark Klein's ld.
If you build this from scratch, make sure you have a version of ld which supports it. In the shell, type
ld --help
and look for AUTOCONF or MPEAUTOCONF near the bottom
or do this: ld --help 2>&1 | grep AUTOCONF
If you see don't see AUTOCONF or MPEAUTOCONF, make sure you get a new version.
You also do not have to use mpeix/relink after building, so the recommend sequence is:
./Configure -de
# or ./Configure -de -Dusedevel
# if you're building a development version
make
make test
# if you run this in a job, do "make test_notty"
make install
Be prepared for a wait. These take much longer on MPE/iX than on a Unix system, because of a slow forking, mostly. On a lightly-loaded HP3000 Series 979 running MPE/iX 7.5:
Configure: 1 hour
make: 1 hour 15 minutes
make test 1 hour 45 minutes
Various socket problems were fixed in mpeix.c.
Mark Klein provided a fixed sigsetjmp (that works with dynamic libraries) in mpeix_setjmp.c
1. #!/PERL/PUB/perl
2. use LWP::Simple;
3. $doc = get('http://www.bixby.org/mark/perlix.html'); # reads the
web page into variable $doc
and much much more hiding under /PERL/PUB/.cpan/
1. export FTP_PASSIVE=1
2. perl -MCPAN -e shell
3. Ignore any terminal I/O related complaints!
May 20, 2000
September 17, 1999
I'm doing this port because I can't live without Perl on the Unix machines that I administer, and I want to have the same power available to me on MPE.
Please send your comments, questions, and bug reports directly to me, Mark Bixby ( http://www.bixby.org/mark/ ). Or just post them to HP3000-L.
The platform I'm using to do this port is an HP 3000 957RX running MPE/iX 6.0 and using the GNU gcc C compiler ( http://jazz.external.hp.com/src/gnu/gnuframe.html ).
The combined porting wisdom from all of my ports can be found in my MPE/iX Porting Guide (http://www.bixby.org/mark/porting.html).
IMPORTANT NOTICE: Yes, I do work for the HP CSY R&D lab, but ALL of the software you download from bixby.org is my personal freeware that is NOT supported by HP.
Download Perl using FTP.ARPA.SYS from your HP 3000 (the preferred method).....
:HELLO MANAGER.SYS
:XEQ FTP.ARPA.SYS
open ftp.bixby.org
anonymous
[email protected]
bytestream
cd /pub/mpe
get perl-5.6.0-mpe.tar.Z /tmp/perl.tar.Z;disc=2147483647
exit
.....Or download using some other generic web or ftp client (the alternate method)
Download the following files (make sure that you use ``binary mode'' or whatever client feature that is 8-bit clean):
http://www.bixby.org/ftp/pub/mpe/perl-5.6.0-mpe.tar.Z
or
ftp://ftp.bixby.org/pub/mpe/perl-5.6.0-mpe.tar.Z
/tmp/perl.tar.Z
:CHDIR /tmp
:XEQ TAR.HPBIN.SYS 'xvfopz /tmp/perl.tar.Z INSTALL'
Examine the accounting structure creation commands and modify if necessary (adding additional capabilities, choosing a non-system volume set, etc).
:XEQ VI.HPBIN.SYS /tmp/INSTALL
The accounting structure will be created and then all files will be extracted from the archive.
:XEQ SH.HPBIN.SYS /tmp/INSTALL
You only have to do this ONCE on your MPE/iX 5.5 machine in order to convert /lib/lib*.a and /usr/lib/lib*.a libraries to their *.sl equivalents. This step should not be necessary on MPE/iX 6.0 or later machines because the 6.0 or later update process does it for you.
:XEQ SH.HPBIN.SYS /PERL/PUB/LIBSHP3K
The summary test results from ``cd t; ./perl -I../lib harness'':
Failed Test Status Wstat Total Fail Failed List of failed --------------------------------------------------------------------------- io/fs.t 29 8 27.59% 2-5, 7-9, 11 io/openpid.t 10 1 10.00% 7 lib/io_sock.t 14 1 7.14% 13 lib/io_udp.t 7 2 28.57% 3, 5 lib/posix.t 27 1 3.70% 12 op/lex_assign.t 187 1 0.53% 13 op/stat.t 58 1 1.72% 3 15 tests and 94 subtests skipped. Failed 7/236 test scripts, 97.03% okay. 15/11306 subtests failed, 99.87% okay.
Be sure to take a look at the CPAN module list ( http://www.cpan.org/CPAN.html ). A wide variety of free Perl software is available. You can automatically download these packages by using the CPAN module ( http://theoryx5.uwinnipeg.ca/CPAN/data/perl/CPAN.html ).
April 7, 1999
November 20, 1998
August 14, 1998
August 7, 1998
July 28, 1998
July 23, 1998
July 17, 1998
July 15, 1998
July 8, 1998
November 6, 1997
October 16, 1997
October 3, 1997
October 2, 1997
September 1997