Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
The ONE Campaign to make poverty history

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 340 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

perlmpeix



SYNOPSIS

          http://www.bixby.org/mark/perlix.html
          http://jazz.external.hp.com/src/hp_freeware/perl/
          Perl language for MPE
          Last updated July 29, 2003 @ 2100 UTC


NOTE

       This is a podified version of the above-mentioned web
       page, podified by Jarkko Hietaniemi 2001-Jan-01.


Binary distribution from HP

       The simplest way to obtain Perl for the MPE/iX is to go
       either of these URLs and follow the instructions within.

       http://jazz.external.hp.com/src/hp_freeware/perl/
       http://www.bixby.org/mark/perlix.html

       Use which ever one is more recent.


What's New in Perl for MPE/iX

       June 1, 2000

       ·   Rebuilt to be compatible with mod_perl.  If you plan
           on using mod_perl, you MUST download and install this
           version of Perl/iX!

       ·   uselargefiles="undef": not available in MPE for POSIX
           files yet.

       ·   Now bundled with various add-on packages:

           ·       libnet (as seen on CPAN)

           ·       libwww-perl (LWP) which lets Perl programs
                   behave like web browsers:

                       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

                   (http://www.bixby.org/mark/perlix.html)

           ·       mod_perl (just the perl portion; the actual
                   DSO will be released soon with Apache/iX
                   1.3.12 from bixby.org).  This module allows
                   you to write high performance persistent Perl
                   CGI scripts and all sorts of cool things.
                   (http://perl.apache.org/)

                   and much much more hiding under
                   /PERL/PUB/.cpan/

           box on MPE/iX.

       ·   Perl's getpwnam() function which had regressed to
           being unimplemented on MPE is now implemented once
           again.

       September 17, 1999

       ·   Migrated from cccd.edu to bixby.org.


Welcome to Perl/iX

       This is the official home page for the HP e3000 MPE/iX (
       http://www.hp.com/go/e3000 ) port of the Perl scripting
       language ( http://www.perl.com/ ) which gives you all of
       the power of C, awk, sed, and sh in a single language.
       Check here for the latest news, implemented functionality,
       known bugs, to-do list, etc. Status reports about major
       milestones will also be posted to the HP3000-L mailing
       list (
       http://www.lsoft.com/scripts/wl.exe?SL1=HP3000-L&H=RAVEN.UTC.EDU
       ) and its associated gatewayed newsgroup comp.sys.hp.mpe.

       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.


System Requirements for Perl/iX

       ·   MPE/iX 5.5 or later. This version of Perl/iX does NOT
           run on MPE/iX 5.0 or earlier, nor does it run on
           "classic" MPE/V machines.

       ·   If you wish to recompile Perl, you must install both
           GNUCORE and GNUGCC from jazz (http://jazz.exter­
           nal.hp.com/src/gnu/gnuframe.html).

       ·   Perl/iX will be happier on MPE/iX 5.5 if you install
       1.  Download Perl using either FTP.ARPA.SYS or some other
           client

       2.  Extract the installation script

       3.  Edit the installation script

       4.  Run the installation script

       5.  Convert your *.a system archive libraries to *.sl
           shared libraries

       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
           your@email.address
           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):

       ·   Perl from

               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

       ·   Upload those files to your HP 3000 in an 8-bit clean
           bytestream manner to:

               /tmp/perl.tar.Z

       ·   Then extract the installation script (after both down­
           load methods)

               :CHDIR /tmp
               :XEQ TAR.HPBIN.SYS 'xvfopz /tmp/perl.tar.Z INSTALL'

       ·   Edit the installation script
       ·   Convert your *.a system archive libraries to *.sl
           shared libraries

           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


Perl/iX Distribution Contents Highlights

       README
           The file you're reading now.

       INSTALL
           Perl/iX Installation script.

       LIBSHP3K
           Script to convert *.a system archive libraries to *.sl
           shared libraries.

       PERL
           Perl NMPRG executable.  A version-numbered backup copy
           also exists.  You might wish to "ln -s /PERL/PUB/PERL
           /usr/local/bin/perl".

       .cpan/
           Much add-on source code downloaded with the CPAN mod­
           ule.

       lib/
           Perl libraries, both core and add-on.

       man/
           Perl man page documentation.

       public_html/feedback.cgi
           Sample feedback CGI form written in Perl.

       src/perl-5.6.0-mpe
           Source code.


How to Compile Perl/iX

       1.  cd src/perl-5.6.0-mpe

       2.  Read the INSTALL file for the official instructions

       3.  ./Configure -d

       4.  make
       The summary test results from "cd t; ./perl -I../lib har­
       ness":

         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.


Getting Started with Perl/iX

       Create your Perl script files with "#!/PERL/PUB/perl" (or
       an equivalent symbolic link) as the first line.  Use the
       chmod command to make sure that your script has execute
       permission. Run your script!

       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 down­
       load these packages by using the CPAN module ( http://the­
       oryx5.uwinnipeg.ca/CPAN/data/perl/CPAN.html ).


MPE/iX Implementation Considerations

       There some minor functionality issues to be aware of when
       comparing Perl for Unix (Perl/UX) to Perl/iX:

       ·   MPE gcc/ld doesn't properly support linking NMPRG exe­
           cutables against NMXL dynamic libraries, so you must
           manually run mpeix/relink after each re-build of Perl.

       ·   Perl/iX File::Copy will use MPE's /bin/cp command to
           copy files by name in order to preserve file
           attributes like file code.

       ·   MPE (and thus Perl/iX) lacks support for setgrent(),
           endgrent(), setpwent(), endpwent().

       ·   MPE (and thus Perl/iX) lacks support for hard links.

       ·   MPE requires GETPRIVMODE() in order to bind() to ports
           less than 1024.  Perl/iX will call GETPRIVMODE() auto­
           matically on your behalf if you attempt to bind() to
           these low-numbered ports.  Note that the Perl/iX exe­
           cutable and the PERL account do not normally have
           CAP=PM, so if you will be bind()-ing to these privi­
           leged ports, you will manually need to add PM capabil­
           ity as appropriate.

       ·   Make setuid()/setgid() support work.

       ·   Make sure that fcntl() against a socket descriptor is
           redirected to sfcntl().

       ·   Add support for Berkeley DB once I've finished porting
           Berkeley DB.

       ·   Write an MPE XS extension library containing miscella­
           neous important MPE functions like GETPRIVMODE(),
           GETUSERMODE(), and sfcntl().


Perl/iX Change History

       May 6, 1999

       ·   Patch LBCJXT6A is required on MPE/iX 5.5 machines in
           order to prevent Perl/iX from dying with an unresolved
           external reference to _getenv_libc.

       April 7, 1999

       ·   Updated to version 5.005_03.

       ·   The official source distribution once again compiles
           "straight out of the box" for MPE.

       ·   The current incarnation of the 5.5 POSIX filename
           extended characters patch is now MPEKX40B.

       ·   The LIBSHP3K *.a -> *.sl library conversion script is
           now included as /PERL/PUB/LIBSHP3K.

       November 20, 1998

       ·   Updated to version 5.005_02.

       ·   Fixed a DynaLoader bug that was unable to load symbols
           from relative path name libraries.

       ·   Fixed a .xs compilation bug where the mpeixish.sh
           include file wasn't being installed into the proper
           directory.

       ·   All bugfixes will be submitted back to the official
           Perl developers.

       ·   The current incarnation of the POSIX filename extended
           characters patch is now MPEKXJ3A.

       August 14, 1998

       ·   The previous POSIX filename extended characters patch
           public freeware sources are now 100% MPE-ready
           "straight out of the box".

       July 17, 1998

       ·   Updated to version 5.005b1 (public beta release).  The
           public freeware sources are now 99.9% MPE-ready.  By
           installing and testing this beta on your own HP3000,
           you will be helping to insure that the final release
           of 5.005 will be 100% MPE-ready and 100% bug free.

       ·   My MPE binary release is now extracted using my stan­
           dard INSTALL script.

       July 15, 1998

       ·   Changed startperl to #!/PERL/PUB/perl so that Perl
           will recognize scripts more easily and efficiently.

       July 8, 1998

       ·   Updated to version 5.004_70 (internal developer
           release) which is now MPE-ready.  The next public
           freeware release of Perl should compile "straight out
           of the box" on MPE.  Note that this version of Perl/iX
           was strictly internal to me and never publicly
           released.  Note that [21]BIND/iX is now required
           (well, the include files and libbind.a) if you wish to
           compile Perl/iX.

       November 6, 1997

       ·   Updated to version 5.004_04.  No changes in MPE-spe­
           cific functionality.

       October 16, 1997

       ·   Added Demos section to the Perl/iX home page so you
           can see some sample Perl applications running on my
           3000.

       October 3, 1997

       ·   Added System Requirements section to the Perl/iX home
           page just so the prerequisites stand out more. Various
           other home page tweaks.

       October 2, 1997

       ·   Initial public release.

       September 1997
  

More information about the site can be found in the FAQ


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.22 Seconds