source: trunk/essentials/dev-lang/perl/README.mpeix@ 3215

Last change on this file since 3215 was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 14.7 KB
Line 
1If you read this file _as_is_, just ignore the funny characters you
2see. It is written in the POD format (see perlpod manpage) which is
3specially designed to be readable as is.
4
5=head1 NAME
6
7README.mpeix - Perl/iX for HP e3000 MPE
8
9=head1 SYNOPSIS
10
11 http://www.bixby.org/mark/perlix.html
12 http://jazz.external.hp.com/src/hp_freeware/perl/
13 Perl language for MPE
14 Last updated January 12, 2006 @ 2100 UTC
15
16
17=head1 NOTE
18
19This is a podified version of the above-mentioned web page,
20podified by Jarkko Hietaniemi 2001-Jan-01.
21
22=head1 Binary distribution from HP
23
24The simplest way to obtain Perl for the MPE/iX is to go either of
25these URLs and follow the instructions within.
26
27http://jazz.external.hp.com/src/hp_freeware/perl/
28http://www.bixby.org/mark/perlix.html
29
30Use which ever one is more recent.
31
32
33=head1 What's New in Perl for MPE/iX
34
35January 12, 2006
36
37=over 4
38
39=item *
40
41Updated for perl-5.8.8 and perl-5.9.3 by Ken Hirsch.
42
43Simplified the build process by using the MPEAUTOCONF
44functionality in Mark Klein's ld.
45
46If you build this from scratch, make sure you have a version
47of ld which supports it. In the shell, type
48
49 ld --help
50 and look for AUTOCONF or MPEAUTOCONF near the bottom
51
52 or do this:
53 ld --help 2>&1 | grep AUTOCONF
54
55If you see don't see AUTOCONF or MPEAUTOCONF, make sure you get a new
56version.
57
58You also do not have to use mpeix/relink after building, so the
59recommend sequence is:
60
61 ./Configure -de
62
63 # or ./Configure -de -Dusedevel
64 # if you're building a development version
65
66 make
67 make test
68 # if you run this in a job, do "make test_notty"
69
70 make install
71
72Be prepared for a wait. These take much longer on MPE/iX than on a Unix
73system, because of a slow forking, mostly. On a lightly-loaded HP3000
74Series 979 running MPE/iX 7.5:
75
76 Configure: 1 hour
77 make: 1 hour 15 minutes
78 make test 1 hour 45 minutes
79
80Various socket problems were fixed in mpeix.c.
81
82Mark Klein provided a fixed sigsetjmp (that works with dynamic
83libraries) in mpeix_setjmp.c
84
85=item *
86
87June 1, 2000
88
89=over 4
90
91=item *
92
93Rebuilt to be compatible with mod_perl. If you plan on using
94mod_perl, you MUST download and install this version of Perl/iX!
95
96=item *
97
98uselargefiles="undef": not available in MPE for POSIX files yet.
99
100=item *
101
102Now bundled with various add-on packages:
103
104=over 8
105
106=item *
107
108libnet (as seen on CPAN)
109
110=item *
111
112libwww-perl (LWP) which lets Perl programs behave like web browsers:
113
114 1. #!/PERL/PUB/perl
115 2. use LWP::Simple;
116 3. $doc = get('http://www.bixby.org/mark/perlix.html'); # reads the
117 web page into variable $doc
118
119(http://www.bixby.org/mark/perlix.html)
120
121=item *
122
123mod_perl (just the perl portion; the actual DSO will be released
124soon with Apache/iX 1.3.12 from bixby.org). This module allows you to
125write high performance persistent Perl CGI scripts and all sorts of
126cool things. (http://perl.apache.org/)
127
128and much much more hiding under /PERL/PUB/.cpan/
129
130=item *
131
132The CPAN module now works for automatic downloading and
133installing of add-on packages:
134
135 1. export FTP_PASSIVE=1
136 2. perl -MCPAN -e shell
137 3. Ignore any terminal I/O related complaints!
138
139(http://theoryx5.uwinnipeg.ca/CPAN/data/perl/CPAN.html)
140
141=back
142
143=back
144
145May 20, 2000
146
147=over 4
148
149=item *
150
151Updated to version 5.6.0. Builds straight out of the box on MPE/iX.
152
153=item *
154
155Perl's getpwnam() function which had regressed to being
156unimplemented on MPE is now implemented once again.
157
158=back
159
160September 17, 1999
161
162=over 4
163
164=item *
165
166Migrated from cccd.edu to bixby.org.
167
168=back
169
170=head1 Welcome to Perl/iX
171
172This is the official home page for the HP e3000 MPE/iX
173( http://www.hp.com/go/e3000 ) port of the Perl scripting
174language ( http://www.perl.com/ ) which gives you all of the power of C,
175awk, sed, and sh in a single language. Check here for the latest news,
176implemented functionality, known bugs, to-do list, etc. Status reports
177about major milestones will also be posted to the HP3000-L mailing list
178( http://www.lsoft.com/scripts/wl.exe?SL1=HP3000-L&H=RAVEN.UTC.EDU ) and
179its associated gatewayed newsgroup comp.sys.hp.mpe.
180
181I'm doing this port because I can't live without Perl on the Unix
182machines that I administer, and I want to have the same power
183available to me on MPE.
184
185Please send your comments, questions, and bug reports directly to me,
186Mark Bixby ( http://www.bixby.org/mark/ ). Or just post them to HP3000-L.
187
188The platform I'm using to do this port is an HP 3000 957RX running
189MPE/iX 6.0 and using the GNU gcc C compiler
190( http://jazz.external.hp.com/src/gnu/gnuframe.html ).
191
192The combined porting wisdom from all of my ports can be found in my
193MPE/iX Porting Guide (http://www.bixby.org/mark/porting.html).
194
195IMPORTANT NOTICE: Yes, I do work for the HP CSY R&D lab, but ALL of
196the software you download from bixby.org is my personal freeware that
197is NOT supported by HP.
198
199=head1 System Requirements for Perl/iX
200
201=over 4
202
203=item *
204
205MPE/iX 5.5 or later. This version of Perl/iX does NOT run on
206MPE/iX 5.0 or earlier, nor does it run on "classic" MPE/V machines.
207
208=item *
209
210If you wish to recompile Perl, you must install both GNUCORE and
211GNUGCC from jazz (http://jazz.external.hp.com/src/gnu/gnuframe.html).
212
213=item *
214
215Perl/iX will be happier on MPE/iX 5.5 if you install the MPEKX40B
216extended POSIX filename characters patch, but this is optional.
217
218=item *
219
220Patch LBCJXT6A is required on MPE/iX 5.5 machines in order to
221prevent Perl/iX from dying with an unresolved external reference
222to _getenv_libc.
223
224=item *
225
226If you will be compiling Perl/iX yourself, you will also need
227Syslog/iX ( http://www.bixby.org/mark/syslogix.html ) and the
228/BIND/PUB/include and /BIND/PUB/lib portions of BIND/iX
229( http://www.bixby.org/mark/bindix.html ).
230
231=back
232
233=head1 How to Obtain Perl/iX
234
235=over 4
236
237=item 1.
238
239Download Perl using either FTP.ARPA.SYS or some other client
240
241=item 2.
242
243Extract the installation script
244
245=item 3.
246
247Edit the installation script
248
249=item 4.
250
251Run the installation script
252
253=item 5.
254
255Convert your *.a system archive libraries to *.sl shared libraries
256
257=back
258
259Download Perl using FTP.ARPA.SYS from your HP 3000 (the preferred
260method).....
261
262 :HELLO MANAGER.SYS
263 :XEQ FTP.ARPA.SYS
264 open ftp.bixby.org
265 anonymous
266 [email protected]
267 bytestream
268 cd /pub/mpe
269 get perl-5.6.0-mpe.tar.Z /tmp/perl.tar.Z;disc=2147483647
270 exit
271
272.....Or download using some other generic web or ftp client (the alternate
273method)
274
275Download the following files (make sure that you use "binary mode" or
276whatever client feature that is 8-bit clean):
277
278=over 4
279
280=item *
281
282Perl from
283
284 http://www.bixby.org/ftp/pub/mpe/perl-5.6.0-mpe.tar.Z
285
286or
287
288 ftp://ftp.bixby.org/pub/mpe/perl-5.6.0-mpe.tar.Z
289
290=item *
291
292Upload those files to your HP 3000 in an 8-bit clean bytestream manner to:
293
294 /tmp/perl.tar.Z
295
296=item *
297
298Then extract the installation script (after both download methods)
299
300 :CHDIR /tmp
301 :XEQ TAR.HPBIN.SYS 'xvfopz /tmp/perl.tar.Z INSTALL'
302
303=item *
304
305Edit the installation script
306
307Examine the accounting structure creation commands and modify if
308necessary (adding additional capabilities, choosing a non-system
309volume set, etc).
310
311 :XEQ VI.HPBIN.SYS /tmp/INSTALL
312
313=item *
314
315Run the installation script.
316
317The accounting structure will be created and then all files will be
318extracted from the archive.
319
320 :XEQ SH.HPBIN.SYS /tmp/INSTALL
321
322=item *
323
324Convert your *.a system archive libraries to *.sl shared libraries
325
326You only have to do this ONCE on your MPE/iX 5.5 machine in order to
327convert /lib/lib*.a and /usr/lib/lib*.a libraries to their *.sl
328equivalents. This step should not be necessary on MPE/iX 6.0 or later
329machines because the 6.0 or later update process does it for you.
330
331 :XEQ SH.HPBIN.SYS /PERL/PUB/LIBSHP3K
332
333=back
334
335=head1 Perl/iX Distribution Contents Highlights
336
337=over 4
338
339=item README
340
341The file you're reading now.
342
343=item INSTALL
344
345Perl/iX Installation script.
346
347=item LIBSHP3K
348
349Script to convert *.a system archive libraries to *.sl shared libraries.
350
351=item PERL
352
353Perl NMPRG executable. A version-numbered backup copy also
354exists. You might wish to "ln -s /PERL/PUB/PERL /usr/local/bin/perl".
355
356=item .cpan/
357
358Much add-on source code downloaded with the CPAN module.
359
360=item lib/
361
362Perl libraries, both core and add-on.
363