Aim9b has asked for the wisdom of the Perl Monks concerning the following question:

Oh wiser ones, I have ActiveState's Perl on my XP box & I've coded 3 programs...now I have the perl bug...really bad. Long term plans include porting to a rather "obscure proprietary OS", but thats down the road. For now, I have a CompaQ Server that has SCO SystemV running on it, what would be the best/easiest perl to install? I don't feel I'm ready to build my own yet, but I would like to dev & learn on the SCO box. AS & CPAN show a download for Linux, HP-UX, & AIX, But I don't see any SCO. Should I attempt the build?, replace the SCO OS?,... Your insite would be invaluable as always. Thanks.

Replies are listed 'Best First'.
Re: which perl implementation
by Corion (Patriarch) on Jul 11, 2007 at 20:00 UTC

    Building your own Perl is not really hard and I guess it's unlikely that you will find support outside from SCO for that OS.

    As I've been thinking today about writing a simple list on how to build your own Perl, you get these thoughts:

    1. Verify that you have a C compiler and a make tool installed. Typing gcc or cc or cl should launch some program. If you don't know what your C compiler is called, ask your system administrator. The same holds true for make, dmake or nmake.
    2. Download the current stable Perl tarball from here. This link is supposed to always give you the latest stable version of Perl.
    3. Untar the archive (presuming GNU tar):
      untar xvf stable.tar.gz
    4. Print out and read the file INSTALL
    5. (Optional) Print out and read the file README.os (where os means your OS)
    6. Type the magic invocation from the INSTALL file:
      sh Configure -Dprefix=/opt/perl
      If you want to install Perl below your home directory, use:
      sh Configure -Dprefix=/home/you/perl
    7. Accept all defaults and watch Configure work its magic. Wait until it's done.
    8. Now, type make
    9. Watch make complete. If there are any errors here, look at README.os again and find out what platform specific changes you need.
    10. Type make test
    11. Watch how Perl tests itself. In theory you should get 100% OK, but depending on how adventurous you feel, you can also accept a test success of 98%. You should report the failure with your OS and the exact failed tests somewhere though.
    12. Type make install to finally install your own Perl.
    13. Change the path or set up an alias so that typing perl invokes your own new Perl.
    14. Verify by typing perl -V that your own new Perl gets started.
Re: which perl implementation
by andreas1234567 (Vicar) on Jul 12, 2007 at 06:54 UTC
    Should I attempt the build?, replace the SCO OS?
    Personally, I would invest in a third server and install an Operating system of choice, such as this, which either comes with perl pre-installed, or installable by the click of some buttons.
    --
    print map{chr}unpack(q{A3}x24,q{074117115116032097110111116104101114032080101114108032104097099107101114})