[comp.lang.perl] tired of being stupid

jb3o+@andrew.cmu.edu (Jon Allen Boone) (02/07/91)

Hi.  I'm tired of being stupid, but there's probably no hope for me.  

Situation:
	
	OS: Ultrix 3.1
	Platform: DecStation 3100
	Shell: tcsh 5.20.02
	Compiler: cc (MIPS c compiler)
	Optimization flags: NONE
	Other cc flags: -DLANGUAGE_C -UWAITPID -UVOLATILE
	lib flags: -ldbm -lm

Problem:

	Perl has been compiled - it passes all but io.fs and op.exec.
Moving io.fs to /tmp and running the test passes with flying colors.
op.exec fails on test 1 every time.  This has been explained to me as
the system call not returning the proper exit status.  Fine.  My
questions is:  How do you get around it?  Is it a problem with my
machines only, or do others running Ultrix 3.1 have the same problem?
Should I kill myself or simply give up on running this version of
perl?



-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
| Iain | jb3o@andrew.cmu.edu | iain@stat.cmu.edu | R746JB30@VB.CC.CMU.EDU |
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
| therion@drycas.club.cc.cmu.edu  | SNAIL MAIL:    5516 Howe Apt #2.      |
| bruhaha@anthrax.club.cc.cmu.edu |		   Pittsburgh, PA 15232   |
----------------------------------|++++++++++++++++++++++++++++++++++++++++
| "He divines remedies against injuries;   | "Words are drugs."           |
|  he knows how to turn serious accidents  |     -Antero Alli             |
|  to his own advantage; whatever does not |                              |
|  kill him makes him stronger."           | "Culture is for bacteria."   |
|                   - Friedrich Nietzsche  |     - Christopher Hyatt      |
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

marc@athena.mit.edu (Marc Horowitz) (02/08/91)

|> op.exec fails on test 1 every time.  This has been explained to me as
|> the system call not returning the proper exit status.  Fine.  My
|> questions is:  How do you get around it?  Is it a problem with my
|> machines only, or do others running Ultrix 3.1 have the same problem?

in config.sh, change

	d_waitpid='define'

to

	d_waitpid='undef'

That will fix the problem.  I had this problem under Ultrix 3.1, also,
so don't feel left out :-)

		Marc