| 1 | .\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32 |
| 2 | .\" |
| 3 | .\" Standard preamble: |
| 4 | .\" ======================================================================== |
| 5 | .de Sh \" Subsection heading |
| 6 | .br |
| 7 | .if t .Sp |
| 8 | .ne 5 |
| 9 | .PP |
| 10 | \fB\\$1\fR |
| 11 | .PP |
| 12 | .. |
| 13 | .de Sp \" Vertical space (when we can't use .PP) |
| 14 | .if t .sp .5v |
| 15 | .if n .sp |
| 16 | .. |
| 17 | .de Vb \" Begin verbatim text |
| 18 | .ft CW |
| 19 | .nf |
| 20 | .ne \\$1 |
| 21 | .. |
| 22 | .de Ve \" End verbatim text |
| 23 | .ft R |
| 24 | .fi |
| 25 | .. |
| 26 | .\" Set up some character translations and predefined strings. \*(-- will |
| 27 | .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left |
| 28 | .\" double quote, and \*(R" will give a right double quote. | will give a |
| 29 | .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to |
| 30 | .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' |
| 31 | .\" expand to `' in nroff, nothing in troff, for use with C<>. |
| 32 | .tr \(*W-|\(bv\*(Tr |
| 33 | .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' |
| 34 | .ie n \{\ |
| 35 | . ds -- \(*W- |
| 36 | . ds PI pi |
| 37 | . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch |
| 38 | . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch |
| 39 | . ds L" "" |
| 40 | . ds R" "" |
| 41 | . ds C` "" |
| 42 | . ds C' "" |
| 43 | 'br\} |
| 44 | .el\{\ |
| 45 | . ds -- \|\(em\| |
| 46 | . ds PI \(*p |
| 47 | . ds L" `` |
| 48 | . ds R" '' |
| 49 | 'br\} |
| 50 | .\" |
| 51 | .\" If the F register is turned on, we'll generate index entries on stderr for |
| 52 | .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index |
| 53 | .\" entries marked with X<> in POD. Of course, you'll have to process the |
| 54 | .\" output yourself in some meaningful fashion. |
| 55 | .if \nF \{\ |
| 56 | . de IX |
| 57 | . tm Index:\\$1\t\\n%\t"\\$2" |
| 58 | .. |
| 59 | . nr % 0 |
| 60 | . rr F |
| 61 | .\} |
| 62 | .\" |
| 63 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
| 64 | .\" way too many mistakes in technical documents. |
| 65 | .hy 0 |
| 66 | .if n .na |
| 67 | .\" |
| 68 | .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). |
| 69 | .\" Fear. Run. Save yourself. No user-serviceable parts. |
| 70 | . \" fudge factors for nroff and troff |
| 71 | .if n \{\ |
| 72 | . ds #H 0 |
| 73 | . ds #V .8m |
| 74 | . ds #F .3m |
| 75 | . ds #[ \f1 |
| 76 | . ds #] \fP |
| 77 | .\} |
| 78 | .if t \{\ |
| 79 | . ds #H ((1u-(\\\\n(.fu%2u))*.13m) |
| 80 | . ds #V .6m |
| 81 | . ds #F 0 |
| 82 | . ds #[ \& |
| 83 | . ds #] \& |
| 84 | .\} |
| 85 | . \" simple accents for nroff and troff |
| 86 | .if n \{\ |
| 87 | . ds ' \& |
| 88 | . ds ` \& |
| 89 | . ds ^ \& |
| 90 | . ds , \& |
| 91 | . ds ~ ~ |
| 92 | . ds / |
| 93 | .\} |
| 94 | .if t \{\ |
| 95 | . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" |
| 96 | . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' |
| 97 | . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' |
| 98 | . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' |
| 99 | . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' |
| 100 | . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' |
| 101 | .\} |
| 102 | . \" troff and (daisy-wheel) nroff accents |
| 103 | .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' |
| 104 | .ds 8 \h'\*(#H'\(*b\h'-\*(#H' |
| 105 | .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] |
| 106 | .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' |
| 107 | .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' |
| 108 | .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] |
| 109 | .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] |
| 110 | .ds ae a\h'-(\w'a'u*4/10)'e |
| 111 | .ds Ae A\h'-(\w'A'u*4/10)'E |
| 112 | . \" corrections for vroff |
| 113 | .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' |
| 114 | .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' |
| 115 | . \" for low resolution devices (crt and lpr) |
| 116 | .if \n(.H>23 .if \n(.V>19 \ |
| 117 | \{\ |
| 118 | . ds : e |
| 119 | . ds 8 ss |
| 120 | . ds o a |
| 121 | . ds d- d\h'-1'\(ga |
| 122 | . ds D- D\h'-1'\(hy |
| 123 | . ds th \o'bp' |
| 124 | . ds Th \o'LP' |
| 125 | . ds ae ae |
| 126 | . ds Ae AE |
| 127 | .\} |
| 128 | .rm #[ #] #H #V #F C |
| 129 | .\" ======================================================================== |
| 130 | .\" |
| 131 | .IX Title "PERLMPEIX 1" |
| 132 | .TH PERLMPEIX 1 "2006-01-07" "perl v5.8.8" "Perl Programmers Reference Guide" |
| 133 | .SH "NAME" |
| 134 | README.mpeix \- Perl/iX for HP e3000 MPE |
| 135 | .SH "SYNOPSIS" |
| 136 | .IX Header "SYNOPSIS" |
| 137 | .Vb 4 |
| 138 | \& http://www.bixby.org/mark/perlix.html |
| 139 | \& http://jazz.external.hp.com/src/hp_freeware/perl/ |
| 140 | \& Perl language for MPE |
| 141 | \& Last updated January 12, 2006 @ 2100 UTC |
| 142 | .Ve |
| 143 | .SH "NOTE" |
| 144 | .IX Header "NOTE" |
| 145 | This is a podified version of the above-mentioned web page, |
| 146 | podified by Jarkko Hietaniemi 2001\-Jan\-01. |
| 147 | .SH "Binary distribution from HP" |
| 148 | .IX Header "Binary distribution from HP" |
| 149 | The simplest way to obtain Perl for the MPE/iX is to go either of |
| 150 | these URLs and follow the instructions within. |
| 151 | .PP |
| 152 | http://jazz.external.hp.com/src/hp_freeware/perl/ |
| 153 | http://www.bixby.org/mark/perlix.html |
| 154 | .PP |
| 155 | Use which ever one is more recent. |
| 156 | .SH "What's New in Perl for MPE/iX" |
| 157 | .IX Header "What's New in Perl for MPE/iX" |
| 158 | January 12, 2006 |
| 159 | .IP "\(bu" 4 |
| 160 | Updated for perl\-5.8.8 and perl\-5.9.3 by Ken Hirsch. |
| 161 | .Sp |
| 162 | Simplified the build process by using the \s-1MPEAUTOCONF\s0 |
| 163 | functionality in Mark Klein's ld. |
| 164 | .Sp |
| 165 | If you build this from scratch, make sure you have a version |
| 166 | of ld which supports it. In the shell, type |
| 167 | .Sp |
| 168 | .Vb 2 |
| 169 | \& ld --help |
| 170 | \& and look for AUTOCONF or MPEAUTOCONF near the bottom |
| 171 | .Ve |
| 172 | .Sp |
| 173 | .Vb 2 |
| 174 | \& or do this: |
| 175 | \& ld --help 2>&1 | grep AUTOCONF |
| 176 | .Ve |
| 177 | .Sp |
| 178 | If you see don't see \s-1AUTOCONF\s0 or \s-1MPEAUTOCONF\s0, make sure you get a new |
| 179 | version. |
| 180 | .Sp |
| 181 | You also do not have to use mpeix/relink after building, so the |
| 182 | recommend sequence is: |
| 183 | .Sp |
| 184 | .Vb 1 |
| 185 | \& ./Configure -de |
| 186 | .Ve |
| 187 | .Sp |
| 188 | .Vb 2 |
| 189 | \& # or ./Configure -de -Dusedevel |
| 190 | \& # if you're building a development version |
| 191 | .Ve |
| 192 | .Sp |
| 193 | .Vb 3 |
| 194 | \& make |
| 195 | \& make test |
| 196 | \& # if you run this in a job, do "make test_notty" |
| 197 | .Ve |
| 198 | .Sp |
| 199 | .Vb 1 |
| 200 | \& make install |
| 201 | .Ve |
| 202 | .Sp |
| 203 | Be prepared for a wait. These take much longer on MPE/iX than on a Unix |
| 204 | system, because of a slow forking, mostly. On a lightly-loaded \s-1HP3000\s0 |
| 205 | Series 979 running MPE/iX 7.5: |
| 206 | .Sp |
| 207 | .Vb 3 |
| 208 | \& Configure: 1 hour |
| 209 | \& make: 1 hour 15 minutes |
| 210 | \& make test 1 hour 45 minutes |
| 211 | .Ve |
| 212 | .Sp |
| 213 | Various socket problems were fixed in mpeix.c. |
| 214 | .Sp |
| 215 | Mark Klein provided a fixed sigsetjmp (that works with dynamic |
| 216 | libraries) in mpeix_setjmp.c |
| 217 | .IP "\(bu" 4 |
| 218 | June 1, 2000 |
| 219 | .RS 4 |
| 220 | .IP "\(bu" 4 |
| 221 | Rebuilt to be compatible with mod_perl. If you plan on using |
| 222 | mod_perl, you \s-1MUST\s0 download and install this version of Perl/iX! |
| 223 | .IP "\(bu" 4 |
| 224 | uselargefiles=\*(L"undef\*(R": not available in \s-1MPE\s0 for \s-1POSIX\s0 files yet. |
| 225 | .IP "\(bu" 4 |
| 226 | Now bundled with various add-on packages: |
| 227 | .RS 4 |
| 228 | .IP "\(bu" 8 |
| 229 | libnet (as seen on \s-1CPAN\s0) |
| 230 | .IP "\(bu" 8 |
| 231 | libwww-perl (\s-1LWP\s0) which lets Perl programs behave like web browsers: |
| 232 | .Sp |
| 233 | .Vb 4 |
| 234 | \& 1. #!/PERL/PUB/perl |
| 235 | \& 2. use LWP::Simple; |
| 236 | \& 3. $doc = get('http://www.bixby.org/mark/perlix.html'); # reads the |
| 237 | \& web page into variable $doc |
| 238 | .Ve |
| 239 | .Sp |
| 240 | (http://www.bixby.org/mark/perlix.html) |
| 241 | .IP "\(bu" 8 |
| 242 | mod_perl (just the perl portion; the actual \s-1DSO\s0 will be released |
| 243 | soon with Apache/iX 1.3.12 from bixby.org). This module allows you to |
| 244 | write high performance persistent Perl \s-1CGI\s0 scripts and all sorts of |
| 245 | cool things. (http://perl.apache.org/) |
| 246 | .Sp |
| 247 | and much much more hiding under /PERL/PUB/.cpan/ |
| 248 | .IP "\(bu" 8 |
| 249 | The \s-1CPAN\s0 module now works for automatic downloading and |
| 250 | installing of add-on packages: |
| 251 | .Sp |
| 252 | .Vb 3 |
| 253 | \& 1. export FTP_PASSIVE=1 |
| 254 | \& 2. perl -MCPAN -e shell |
| 255 | \& 3. Ignore any terminal I/O related complaints! |
| 256 | .Ve |
| 257 | .Sp |
| 258 | (http://theoryx5.uwinnipeg.ca/CPAN/data/perl/CPAN.html) |
| 259 | .RE |
| 260 | .RS 4 |
| 261 | .RE |
| 262 | .RE |
| 263 | .RS 4 |
| 264 | .Sp |
| 265 | May 20, 2000 |
| 266 | .IP "\(bu" 4 |
| 267 | Updated to version 5.6.0. Builds straight out of the box on MPE/iX. |
| 268 | .IP "\(bu" 4 |
| 269 | Perl's \fIgetpwnam()\fR function which had regressed to being |
| 270 | unimplemented on \s-1MPE\s0 is now implemented once again. |
| 271 | .RE |
| 272 | .RS 4 |
| 273 | .Sp |
| 274 | September 17, 1999 |
| 275 | .IP "\(bu" 4 |
| 276 | Migrated from cccd.edu to bixby.org. |
| 277 | .RE |
| 278 | .RS 4 |
| 279 | .SH "Welcome to Perl/iX" |
| 280 | .IX Header "Welcome to Perl/iX" |
| 281 | This is the official home page for the \s-1HP\s0 e3000 MPE/iX |
| 282 | ( http://www.hp.com/go/e3000 ) port of the Perl scripting |
| 283 | language ( http://www.perl.com/ ) which gives you all of the power of C, |
| 284 | awk, sed, and sh in a single language. Check here for the latest news, |
| 285 | implemented functionality, known bugs, to-do list, etc. Status reports |
| 286 | about major milestones will also be posted to the \s-1HP3000\-L\s0 mailing list |
| 287 | ( http://www.lsoft.com/scripts/wl.exe?SL1=HP3000\-L&H=RAVEN.UTC.EDU ) and |
| 288 | its associated gatewayed newsgroup comp.sys.hp.mpe. |
| 289 | .Sp |
| 290 | I'm doing this port because I can't live without Perl on the Unix |
| 291 | machines that I administer, and I want to have the same power |
| 292 | available to me on \s-1MPE\s0. |
| 293 | .Sp |
| 294 | Please send your comments, questions, and bug reports directly to me, |
| 295 | Mark Bixby ( http://www.bixby.org/mark/ ). Or just post them to \s-1HP3000\-L\s0. |
| 296 | .Sp |
| 297 | The platform I'm using to do this port is an \s-1HP\s0 3000 957RX running |
| 298 | MPE/iX 6.0 and using the \s-1GNU\s0 gcc C compiler |
| 299 | ( http://jazz.external.hp.com/src/gnu/gnuframe.html ). |
| 300 | .Sp |
| 301 | The combined porting wisdom from all of my ports can be found in my |
| 302 | MPE/iX Porting Guide (http://www.bixby.org/mark/porting.html). |
| 303 | .Sp |
| 304 | \&\s-1IMPORTANT\s0 \s-1NOTICE:\s0 Yes, I do work for the \s-1HP\s0 \s-1CSY\s0 R&D lab, but \s-1ALL\s0 of |
| 305 | the software you download from bixby.org is my personal freeware that |
| 306 | is \s-1NOT\s0 supported by \s-1HP\s0. |
| 307 | .SH "System Requirements for Perl/iX" |
| 308 | .IX Header "System Requirements for Perl/iX" |
| 309 | .IP "\(bu" 4 |
| 310 | MPE/iX 5.5 or later. This version of Perl/iX does \s-1NOT\s0 run on |
| 311 | MPE/iX 5.0 or earlier, nor does it run on \*(L"classic\*(R" \s-1MPE/V\s0 machines. |
| 312 | .IP "\(bu" 4 |
| 313 | If you wish to recompile Perl, you must install both \s-1GNUCORE\s0 and |
| 314 | \&\s-1GNUGCC\s0 from jazz (http://jazz.external.hp.com/src/gnu/gnuframe.html). |
| 315 | .IP "\(bu" 4 |
| 316 | Perl/iX will be happier on MPE/iX 5.5 if you install the \s-1MPEKX40B\s0 |
| 317 | extended \s-1POSIX\s0 filename characters patch, but this is optional. |
| 318 | .IP "\(bu" 4 |
| 319 | Patch \s-1LBCJXT6A\s0 is required on MPE/iX 5.5 machines in order to |
| 320 | prevent Perl/iX from dying with an unresolved external reference |
| 321 | to _getenv_libc. |
| 322 | .IP "\(bu" 4 |
| 323 | If you will be compiling Perl/iX yourself, you will also need |
| 324 | Syslog/iX ( http://www.bixby.org/mark/syslogix.html ) and the |
| 325 | /BIND/PUB/include and /BIND/PUB/lib portions of BIND/iX |
| 326 | ( http://www.bixby.org/mark/bindix.html ). |
| 327 | .RE |
| 328 | .RS 4 |
| 329 | .SH "How to Obtain Perl/iX" |
| 330 | .IX Header "How to Obtain Perl/iX" |
| 331 | .IP "1." 4 |
| 332 | Download Perl using either \s-1FTP\s0.ARPA.SYS or some other client |
| 333 | .IP "2." 4 |
| 334 | Extract the installation script |
| 335 | .IP "3." 4 |
| 336 | Edit the installation script |
| 337 | .IP "4." 4 |
| 338 | Run the installation script |
| 339 | .IP "5." 4 |
| 340 | Convert your *.a system archive libraries to *.sl shared libraries |
| 341 | .RE |
| 342 | .RS 4 |
| 343 | .Sp |
| 344 | Download Perl using \s-1FTP\s0.ARPA.SYS from your \s-1HP\s0 3000 (the preferred |
| 345 | method)..... |
| 346 | .Sp |
| 347 | .Vb 9 |
| 348 | \& :HELLO MANAGER.SYS |
| 349 | \& :XEQ FTP.ARPA.SYS |
| 350 | \& open ftp.bixby.org |
| 351 | \& anonymous |
| 352 | \& your@email.address |
| 353 | \& bytestream |
| 354 | \& cd /pub/mpe |
| 355 | \& get perl-5.6.0-mpe.tar.Z /tmp/perl.tar.Z;disc=2147483647 |
| 356 | \& exit |
| 357 | .Ve |
| 358 | .Sp |
| 359 | \&.....Or download using some other generic web or ftp client (the alternate |
| 360 | method) |
| 361 | .Sp |
| 362 | Download the following files (make sure that you use \*(L"binary mode\*(R" or |
| 363 | whatever client feature that is 8\-bit clean): |
| 364 | .IP "\(bu" 4 |
| 365 | Perl from |
| 366 | .Sp |
| 367 | .Vb 1 |
| 368 | \& http://www.bixby.org/ftp/pub/mpe/perl-5.6.0-mpe.tar.Z |
| 369 | .Ve |
| 370 | .Sp |
| 371 | or |
| 372 | .Sp |
| 373 | .Vb 1 |
| 374 | \& ftp://ftp.bixby.org/pub/mpe/perl-5.6.0-mpe.tar.Z |
| 375 | .Ve |
| 376 | .IP "\(bu" 4 |
| 377 | Upload those files to your \s-1HP\s0 3000 in an 8\-bit clean bytestream manner to: |
| 378 | .Sp |
| 379 | .Vb 1 |
| 380 | \& /tmp/perl.tar.Z |
| 381 | .Ve |
| 382 | .IP "\(bu" 4 |
| 383 | Then extract the installation script (after both download methods) |
| 384 | .Sp |
| 385 | .Vb 2 |
| 386 | \& :CHDIR /tmp |
| 387 | \& :XEQ TAR.HPBIN.SYS 'xvfopz /tmp/perl.tar.Z INSTALL' |
| 388 | .Ve |
| 389 | .IP "\(bu" 4 |
| 390 | Edit the installation script |
| 391 | .Sp |
| 392 | Examine the accounting structure creation commands and modify if |
| 393 | necessary (adding additional capabilities, choosing a non-system |
| 394 | volume set, etc). |
| 395 | .Sp |
| 396 | .Vb 1 |
| 397 | \& :XEQ VI.HPBIN.SYS /tmp/INSTALL |
| 398 | .Ve |
| 399 | .IP "\(bu" 4 |
| 400 | Run the installation script. |
| 401 | .Sp |
| 402 | The accounting structure will be created and then all files will be |
| 403 | extracted from the archive. |
| 404 | .Sp |
| 405 | .Vb 1 |
| 406 | \& :XEQ SH.HPBIN.SYS /tmp/INSTALL |
| 407 | .Ve |
| 408 | .IP "\(bu" 4 |
| 409 | Convert your *.a system archive libraries to *.sl shared libraries |
| 410 | .Sp |
| 411 | You only have to do this \s-1ONCE\s0 on your MPE/iX 5.5 machine in order to |
| 412 | convert /lib/lib*.a and /usr/lib/lib*.a libraries to their *.sl |
| 413 | equivalents. This step should not be necessary on MPE/iX 6.0 or later |
| 414 | machines because the 6.0 or later update process does it for you. |
| 415 | .Sp |
| 416 | .Vb 1 |
| 417 | \& :XEQ SH.HPBIN.SYS /PERL/PUB/LIBSHP3K |
| 418 | .Ve |
| 419 | .RE |
| 420 | .RS 4 |
| 421 | .SH "Perl/iX Distribution Contents Highlights" |
| 422 | .IX Header "Perl/iX Distribution Contents Highlights" |
| 423 | .IP "\s-1README\s0" 4 |
| 424 | .IX Item "README" |
| 425 | The file you're reading now. |
| 426 | .IP "\s-1INSTALL\s0" 4 |
| 427 | .IX Item "INSTALL" |
| 428 | Perl/iX Installation script. |
| 429 | .IP "\s-1LIBSHP3K\s0" 4 |
| 430 | .IX Item "LIBSHP3K" |
| 431 | Script to convert *.a system archive libraries to *.sl shared libraries. |
| 432 | .IP "\s-1PERL\s0" 4 |
| 433 | .IX Item "PERL" |
| 434 | Perl \s-1NMPRG\s0 executable. A version-numbered backup copy also |
| 435 | exists. You might wish to \*(L"ln \-s /PERL/PUB/PERL /usr/local/bin/perl\*(R". |
| 436 | .IP ".cpan/" 4 |
| 437 | .IX Item ".cpan/" |
| 438 | Much add-on source code downloaded with the \s-1CPAN\s0 module. |
| 439 | .IP "lib/" 4 |
| 440 | .IX Item "lib/" |
| 441 | Perl libraries, both core and add\-on. |
| 442 | .IP "man/" 4 |
| 443 | .IX Item "man/" |
| 444 | Perl man page documentation. |
| 445 | .IP "public_html/feedback.cgi" 4 |
| 446 | .IX Item "public_html/feedback.cgi" |
| 447 | Sample feedback \s-1CGI\s0 form written in Perl. |
| 448 | .IP "src/perl\-5.6.0\-mpe" 4 |
| 449 | .IX Item "src/perl-5.6.0-mpe" |
| 450 | Source code. |
| 451 | .RE |
| 452 | .RS 4 |
| 453 | .SH "How to Compile Perl/iX" |
| 454 | .IX Header "How to Compile Perl/iX" |
| 455 | .IP "1." 4 |
| 456 | cd src/perl\-5.6.0\-mpe |
| 457 | .IP "2." 4 |
| 458 | Read the \s-1INSTALL\s0 file for the official instructions |
| 459 | .IP "3." 4 |
| 460 | \&./Configure \-d |
| 461 | .IP "4." 4 |
| 462 | make |
| 463 | .IP "5." 4 |
| 464 | \&./mpeix/relink |
| 465 | .IP "6." 4 |
| 466 | make test (expect approximately 15 out of 11306 subtests to fail, |
| 467 | mostly due to \s-1MPE\s0 not supporting hard links, \s-1UDP\s0 socket problems, |
| 468 | and handling \fIexit()\fR return codes improperly) |
| 469 | .IP "7." 4 |
| 470 | make install |
| 471 | .IP "8." 4 |
| 472 | Optionally create symbolic links that point to the Perl |
| 473 | executable, i.e. ln \-s /PERL/PUB/PERL /usr/local/bin/perl |
| 474 | .RE |
| 475 | .RS 4 |
| 476 | .Sp |
| 477 | The summary test results from \*(L"cd t; ./perl \-I../lib harness\*(R": |
| 478 | .Sp |
| 479 | .Vb 11 |
| 480 | \& Failed Test Status Wstat Total Fail Failed List of failed |
| 481 | \& --------------------------------------------------------------------------- |
| 482 | \& io/fs.t 29 8 27.59% 2-5, 7-9, 11 |
| 483 | \& io/openpid.t 10 1 10.00% 7 |
| 484 | \& lib/io_sock.t 14 1 7.14% 13 |
| 485 | \& lib/io_udp.t 7 2 28.57% 3, 5 |
| 486 | \& lib/posix.t 27 1 3.70% 12 |
| 487 | \& op/lex_assign.t 187 1 0.53% 13 |
| 488 | \& op/stat.t 58 1 1.72% 3 |
| 489 | \& 15 tests and 94 subtests skipped. |
| 490 | \& Failed 7/236 test scripts, 97.03% okay. 15/11306 subtests failed, 99.87% okay. |
| 491 | .Ve |
| 492 | .SH "Getting Started with Perl/iX" |
| 493 | .IX Header "Getting Started with Perl/iX" |
| 494 | Create your Perl script files with \*(L"#!/PERL/PUB/perl\*(R" (or an |
| 495 | equivalent symbolic link) as the first line. Use the chmod command to |
| 496 | make sure that your script has execute permission. Run your script! |
| 497 | .Sp |
| 498 | Be sure to take a look at the \s-1CPAN\s0 module list |
| 499 | ( http://www.cpan.org/CPAN.html ). A wide variety of free Perl software |
| 500 | is available. You can automatically download these packages by using |
| 501 | the \s-1CPAN\s0 module ( http://theoryx5.uwinnipeg.ca/CPAN/data/perl/CPAN.html ). |
| 502 | .SH "MPE/iX Implementation Considerations" |
| 503 | .IX Header "MPE/iX Implementation Considerations" |
| 504 | There some minor functionality issues to be aware of when comparing |
| 505 | Perl for Unix (Perl/UX) to Perl/iX: |
| 506 | .IP "\(bu" 4 |
| 507 | \&\s-1MPE\s0 gcc/ld doesn't properly support linking \s-1NMPRG\s0 executables against |
| 508 | \&\s-1NMXL\s0 dynamic libraries, so you must manually run mpeix/relink after |
| 509 | each re-build of Perl. |
| 510 | .IP "\(bu" 4 |
| 511 | Perl/iX File::Copy will use \s-1MPE\s0's /bin/cp command to copy files by |
| 512 | name in order to preserve file attributes like file code. |
| 513 | .IP "\(bu" 4 |
| 514 | \&\s-1MPE\s0 (and thus Perl/iX) lacks support for \fIsetgrent()\fR, \fIendgrent()\fR, |
| 515 | \&\fIsetpwent()\fR, \fIendpwent()\fR. |
| 516 | .IP "\(bu" 4 |
| 517 | \&\s-1MPE\s0 (and thus Perl/iX) lacks support for hard links. |
| 518 | .IP "\(bu" 4 |
| 519 | \&\s-1MPE\s0 requires \s-1\fIGETPRIVMODE\s0()\fR in order to \fIbind()\fR to ports less than 1024. |
| 520 | Perl/iX will call \s-1\fIGETPRIVMODE\s0()\fR automatically on your behalf if you |
| 521 | attempt to \fIbind()\fR to these low-numbered ports. Note that the Perl/iX |
| 522 | executable and the \s-1PERL\s0 account do not normally have CAP=PM, so if you |
| 523 | will be \fIbind()\fR\-ing to these privileged ports, you will manually need |
| 524 | to add \s-1PM\s0 capability as appropriate. |
| 525 | .IP "\(bu" 4 |
| 526 | \&\s-1MPE\s0 requires that you \fIbind()\fR to an \s-1IP\s0 address of zero. Perl/iX |
| 527 | automatically replaces the \s-1IP\s0 address that you pass to \fIbind()\fR with |
| 528 | a zero. |
| 529 | .IP "\(bu" 4 |
| 530 | \&\s-1MPE\s0 requires \s-1\fIGETPRIVMODE\s0()\fR in order to \fIsetuid()\fR. There are too many |
| 531 | calls to \fIsetuid()\fR within Perl/iX, so I have not attempted an automatic |
| 532 | \&\s-1\fIGETPRIVMODE\s0()\fR solution similar to \fIbind()\fR. |
| 533 | .RE |
| 534 | .RS 4 |
| 535 | .SH "Known Perl/iX Bugs Under Investigation" |
| 536 | .IX Header "Known Perl/iX Bugs Under Investigation" |
| 537 | None. |
| 538 | .SH "Perl/iX To-Do List" |
| 539 | .IX Header "Perl/iX To-Do List" |
| 540 | .IP "\(bu" 4 |
| 541 | Make \fIsetuid()\fR/\fIsetgid()\fR support work. |
| 542 | .IP "\(bu" 4 |
| 543 | Make sure that \fIfcntl()\fR against a socket descriptor is redirected to \fIsfcntl()\fR. |
| 544 | .IP "\(bu" 4 |
| 545 | Add support for Berkeley \s-1DB\s0 once I've finished porting Berkeley \s-1DB\s0. |
| 546 | .IP "\(bu" 4 |
| 547 | Write an \s-1MPE\s0 \s-1XS\s0 extension library containing miscellaneous important |
| 548 | \&\s-1MPE\s0 functions like \s-1\fIGETPRIVMODE\s0()\fR, \s-1\fIGETUSERMODE\s0()\fR, and \fIsfcntl()\fR. |
| 549 | .RE |
| 550 | .RS 4 |
| 551 | .SH "Perl/iX Change History" |
| 552 | .IX Header "Perl/iX Change History" |
| 553 | May 6, 1999 |
| 554 | .IP "\(bu" 4 |
| 555 | Patch \s-1LBCJXT6A\s0 is required on MPE/iX 5.5 machines in order to prevent |
| 556 | Perl/iX from dying with an unresolved external reference to _getenv_libc. |
| 557 | .RE |
| 558 | .RS 4 |
| 559 | .Sp |
| 560 | April 7, 1999 |
| 561 | .IP "\(bu" 4 |
| 562 | Updated to version 5.005_03. |
| 563 | .IP "\(bu" 4 |
| 564 | The official source distribution once again compiles \*(L"straight out |
| 565 | of the box\*(R" for \s-1MPE\s0. |
| 566 | .IP "\(bu" 4 |
| 567 | The current incarnation of the 5.5 \s-1POSIX\s0 filename extended |
| 568 | characters patch is now \s-1MPEKX40B\s0. |
| 569 | .IP "\(bu" 4 |
| 570 | The \s-1LIBSHP3K\s0 *.a \-> *.sl library conversion script is now included |
| 571 | as /PERL/PUB/LIBSHP3K. |
| 572 | .RE |
| 573 | .RS 4 |
| 574 | .Sp |
| 575 | November 20, 1998 |
| 576 | .IP "\(bu" 4 |
| 577 | Updated to version 5.005_02. |
| 578 | .IP "\(bu" 4 |
| 579 | Fixed a DynaLoader bug that was unable to load symbols from relative |
| 580 | path name libraries. |
| 581 | .IP "\(bu" 4 |
| 582 | Fixed a .xs compilation bug where the mpeixish.sh include file wasn't |
| 583 | being installed into the proper directory. |
| 584 | .IP "\(bu" 4 |
| 585 | All bugfixes will be submitted back to the official Perl developers. |
| 586 | .IP "\(bu" 4 |
| 587 | The current incarnation of the \s-1POSIX\s0 filename extended characters |
| 588 | patch is now \s-1MPEKXJ3A\s0. |
| 589 | .RE |
| 590 | .RS 4 |
| 591 | .Sp |
| 592 | August 14, 1998 |
| 593 | .IP "\(bu" 4 |
| 594 | The previous \s-1POSIX\s0 filename extended characters patch \s-1MPEKX44C\s0 has |
| 595 | been superseded by \s-1MPEKXB5A\s0. |
| 596 | .RE |
| 597 | .RS 4 |
| 598 | .Sp |
| 599 | August 7, 1998 |
| 600 | .IP "\(bu" 4 |
| 601 | The previous \s-1POSIX\s0 filename extended characters patch \s-1MPEKX76A\s0 has |
| 602 | been superseded by \s-1MPEKX44C\s0. |
| 603 | .RE |
| 604 | .RS 4 |
| 605 | .Sp |
| 606 | July 28, 1998 |
| 607 | .IP "\(bu" 4 |
| 608 | Updated to version 5.005_01. |
| 609 | .RE |
| 610 | .RS 4 |
| 611 | .Sp |
| 612 | July 23, 1998 |
| 613 | .IP "\(bu" 4 |
| 614 | Updated to version 5.005 (production release). The public |
| 615 | freeware sources are now 100% MPE-ready \*(L"straight out of the box\*(R". |
| 616 | .RE |
| 617 | .RS 4 |
| 618 | .Sp |
| 619 | July 17, 1998 |
| 620 | .IP "\(bu" 4 |
| 621 | Updated to version 5.005b1 (public beta release). The public |
| 622 | freeware sources are now 99.9% MPE\-ready. By installing and |
| 623 | testing this beta on your own \s-1HP3000\s0, you will be helping to |
| 624 | insure that the final release of 5.005 will be 100% MPE-ready and |
| 625 | 100% bug free. |
| 626 | .IP "\(bu" 4 |
| 627 | My \s-1MPE\s0 binary release is now extracted using my standard \s-1INSTALL\s0 script. |
| 628 | .RE |
| 629 | .RS 4 |
| 630 | .Sp |
| 631 | July 15, 1998 |
| 632 | .IP "\(bu" 4 |
| 633 | Changed startperl to #!/PERL/PUB/perl so that Perl will recognize |
| 634 | scripts more easily and efficiently. |
| 635 | .RE |
| 636 | .RS 4 |
| 637 | .Sp |
| 638 | July 8, 1998 |
| 639 | .IP "\(bu" 4 |
| 640 | Updated to version 5.004_70 (internal developer release) which is now |
| 641 | MPE\-ready. The next public freeware release of Perl should compile |
| 642 | \&\*(L"straight out of the box\*(R" on \s-1MPE\s0. Note that this version of Perl/iX |
| 643 | was strictly internal to me and never publicly released. Note that |
| 644 | [21]BIND/iX is now required (well, the include files and libbind.a) if |
| 645 | you wish to compile Perl/iX. |
| 646 | .RE |
| 647 | .RS 4 |
| 648 | .Sp |
| 649 | November 6, 1997 |
| 650 | .IP "\(bu" 4 |
| 651 | Updated to version 5.004_04. No changes in MPE-specific functionality. |
| 652 | .RE |
| 653 | .RS 4 |
| 654 | .Sp |
| 655 | October 16, 1997 |
| 656 | .IP "\(bu" 4 |
| 657 | Added Demos section to the Perl/iX home page so you can see some |
| 658 | sample Perl applications running on my 3000. |
| 659 | .RE |
| 660 | .RS 4 |
| 661 | .Sp |
| 662 | October 3, 1997 |
| 663 | .IP "\(bu" 4 |
| 664 | Added System Requirements section to the Perl/iX home page just so the |
| 665 | prerequisites stand out more. Various other home page tweaks. |
| 666 | .RE |
| 667 | .RS 4 |
| 668 | .Sp |
| 669 | October 2, 1997 |
| 670 | .IP "\(bu" 4 |
| 671 | Initial public release. |
| 672 | .RE |
| 673 | .RS 4 |
| 674 | .Sp |
| 675 | September 1997 |
| 676 | .IP "\(bu" 4 |
| 677 | Porting begins. |
| 678 | .RE |
| 679 | .RS 4 |
| 680 | .SH "AUTHOR" |
| 681 | .IX Header "AUTHOR" |
| 682 | Mark Bixby, http://www.bixby.org/mark/ |