[comp.lang.perl] Putting Perl 3.x on ULTRIX

acsiv@menudo.uh.edu (Duck aka D. Harper) (04/26/91)

Morn folks!
  We just got in some DECStation 5000, model 200 running ULTRIX 4.1. and
I would like to put in the lastest stable release of Perl.  I have
unpacked the 33 kits for @kit44.  Can anyone out there tell me what
flags I need to get it to compile?  Thanks!

Don

-- 
Donald M. Harper   (713) 749-6283 
University of Houston Academic User Services, User Service Specialist II   
Internet : DHarper@uh.edu | Bitnet : DHarper@UHOU  | THEnet : UHOU::DHARPER
Disclaimer: What? Me speak for my employers?!?!  Yeah, right!

frank@croton.nyo.dec.com (Frank Wortner) (04/29/91)

In article <1991Apr26.161847.11977@menudo.uh.edu>, acsiv@menudo.uh.edu (Duck aka D. Harper) writes:

|>Morn folks!
|>  We just got in some DECStation 5000, model 200 running ULTRIX 4.1. and
|>I would like to put in the lastest stable release of Perl.  I have
|>unpacked the 33 kits for @kit44.  Can anyone out there tell me what
|>flags I need to get it to compile?  Thanks!

Just run Configure.  When it pauses and prints "If you need to edit config.sh,
do it as a shell escape here:", take Configure up on the offer.  Type "! vi config.sh".
Now search for d_volatile.  Change the 'define' to 'undef', write, and quit.  Compile
away.  Configure takes care of all the other flags and magic incantations.


					Frank

gottlieb@allan.nyu.edu (Allan Gottlieb) (04/29/91)

   |>Morn folks!
   |>We just got in some DECStation 5000, model 200 running ULTRIX
   |>4.1. and I would like to put in the lastest stable release of
   |>Perl.  I have unpacked the 33 kits for @kit44.  Can anyone out
   |>there tell me what flags I need to get it to compile?  Thanks!

   Just run Configure.  When it pauses and prints "If you need to edit
   config.sh, do it as a shell escape here:", take Configure up on the
   offer.  Type "! vi config.sh".  Now search for d_volatile.  Change
   the 'define' to 'undef', write, and quit.  Compile away.  Configure
   takes care of all the other flags and magic incantations.

I agree with the volatile comments (I changed the hints file instead
of editing config.sh--see below).  In addition, I had to tell
Configure that getgroups() returns int not gid_t.  Other posters have
noted that, older versions of the MIPS compiler could not correctly
optimize some of the files but my system did not have this problem.  I
am assuming we are referring to Perl 4.003 not Perl 3.x.

hints/ultrix_4.sh
ccflags="$ccflags -DLANGUAGE_C -Olimit 2900"
d_volatile=$undef

Allan Gottlieb