Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Compiling Perl on Unisys SVR4

by strredwolf (Chaplain)
on Jan 05, 2007 at 15:46 UTC ( #593135=perlquestion: print w/ replies, xml ) Need Help??
strredwolf has asked for the wisdom of the Perl Monks concerning the following question:

"SRV4? What's that?" You'll probably asking. I'll tell you: "It's an old Unix for old hardware."

So, my adventures in compiling Perl on this old peice of kit start with Perl 5.8.8:

`sh cflags "optimize='-O'" sv.o` -KPIC sv.c CCCMD = /bin/cc -DPERL_CORE -c -I/usr/include -I/usr/ucbinc +lude -O "./pad.h", line 144: warning: no macro replacement within a string lit +eral "sv.c", line 2141: undefined symbol: undef "sv.c", line 2182: undefined symbol: undef "sv.c", line 2321: undefined symbol: undef "sv.c", line 2435: undefined symbol: undef "sv.c", line 2476: undefined symbol: undef "sv.c", line 2608: undefined symbol: undef "sv.c", line 2762: undefined symbol: undef

This is running as root, and pushing the built-in per-process memory ulimit to 32 megs of RAM. You have to do that just to get toke.c compiled.

Since it's old hardware, I pondered aloud in MonkChat about using older versions (since I was compiling this so I could compile OpenSSL and thus OpenSSH for $DAYJOB). I chose Perl 5.0005_04. It compiled as a user all the way through, but testing...

op/regexp...........FAILED tests 1, 5-10, 13-14, 18-21, 23-25, 27-28, +33, 37-39, 42, 44-47, 51-53, 55, 58-61, 68-70, 75, 78, 87, 90, 97, 102-105, 108- +111, 113, 124-125, 127-132, 134-141, 143-144, 152-153, 155-156, 158-160, 162-165 +, 175-176, 309-319, 322-329, 338-340, 342, 345, 347-348, 350-351, 354-362, 365-3 +68, 371-37 4, 377-378, 381-384, 387-388, 392, 398-399, 404, 406-407, 417-425, 428 +, 436-437, 440-441, 454, 456, 458, 463-464, 468-470, 472, 479-480, 485, 487-489, + 491 Failed 172/491 tests, 64.97% okay op/regexp_noamp.....FAILED tests 1, 5-10, 13-14, 18-21, 23-25, 27-28, +33, 37-39, 42, 44-47, 51-53, 55, 58-61, 68-70, 75, 78, 87, 90, 97, 102-105, 108- +111, 113, 124-125, 127-132, 134-141, 143-144, 152-153, 155-156, 158-160, 162-165 +, 175-176, 309-319, 322-329, 338-340, 342, 345, 347-348, 350-351, 354-362, 365-3 +68, 371-37 4, 377-378, 381-384, 387-388, 392, 398-399, 404, 406-407, 417-425, 428 +, 436-437, 440-441, 454, 456, 458, 463-464, 468-470, 472, 479-480, 485, 487-489, + 491 Failed 172/491 tests, 64.97% okay op/study............FAILED tests 3, 11-12, 14, 16-17, 22 Failed 7/24 tests, 70.83% okay lib/db-btree.t 2 512 ?? ?? % ?? op/regexp.t 491 172 35.03% 1, 5-10, 13-14, 18-21, 2 +3-25, 27- 28, 33, 37-39, 42, 44-47 +, 51-53, 55, 58-61, 68-70, 75, 78 +, 87, 90, 97, 102-105, 108-111, 11 +3, 124- 125, 127-132, 134-141, 1 +43-144, 152-153, 155-156, 158-16 +0, 162- 165, 175-176, 309-319, 3 +22-329, 338-340, 342, 345, 347-3 +48, 350- 351, 354-362, 365-368, 3 +71-374, 377-378, 381-384, 387-38 +8, 392, 398-399, 404, 406-407, 4 +17-425, 428, 436-437, 440-441, 4 +54, 456, 458, 463-464, 468-470, 4 +72, 479- 480, 485, 487-489, 491 op/regexp_noamp 491 172 35.03% 1, 5-10, 13-14, 18-21, 2 +3-25, 27- 28, 33, 37-39, 42, 44-47 +, 51-53, 55, 58-61, 68-70, 75, 78 +, 87, 90, 97, 102-105, 108-111, 11 +3, 124- 125, 127-132, 134-141, 1 +43-144, 152-153, 155-156, 158-16 +0, 162- 165, 175-176, 309-319, 3 +22-329, 338-340, 342, 345, 347-3 +48, 350- 351, 354-362, 365-368, 3 +71-374, 377-378, 381-384, 387-38 +8, 392, 398-399, 404, 406-407, 4 +17-425, 428, 436-437, 440-441, 4 +54, 456, 458, 463-464, 468-470, 4 +72, 479- 480, 485, 487-489, 491 op/study.t 24 7 29.17% 3, 11-12, 14, 16-17, 22

Nope, that's not working.

After some mediation, I tried again, this time with Perl 5.004_05. It configured cleanly, compiled without problems, and tested 100% OK.

Insert "Whoa" here.

So, where do I go to send feedback?

--
$Stalag99{"URL"}="http://stalag99.net";

Comment on Compiling Perl on Unisys SVR4
Select or Download Code
Re: Compiling Perl on Unisys SVR4
by shigetsu (Hermit) on Jan 05, 2007 at 17:33 UTC
    So, where do I go to send feedback?
    Using perlbug will submit a bug report to the p5p (Perl 5 Porters) mailing list including your relevant system information.
Re: Compiling Perl on Unisys SVR4
by chromatic (Archbishop) on Jan 06, 2007 at 06:21 UTC
    So, where do I go to send feedback?

    I'm not sure anyone cares about a Perl that ancient (in the sense that if you want to put out a new release to get it to compile and pass the tests, you'll be the pumpking). Is there a chance you can update your C compiler and try 5.8.x again?

      No, because I don't have root access, and the system's OS is no longer updated by the hardware company.

      --
      $Stalag99{"URL"}="http://stalag99.net";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://593135]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-08-23 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls