Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hermes.chpc.utexas.edu!jones From: jones@chpc.utexas.edu (Bill Jones) Newsgroups: comp.lang.perl Subject: Re: compiling perl 4.003 on a Convex, take 2 Keywords: pcc mode Message-ID: <1991May17.042609.4213@chpc.utexas.edu> Date: 17 May 91 04:26:09 GMT References: <1991May16.172439.24968@bernina.ethz.ch> Organization: The University of Texas System - CHPC Lines: 23 Set the shell variable: setenv CCOPTIONS '-pcc' And then rebuild perl on you convex (make clean and then make). If you just set the '-pcc' flag you will only effect the compilation of the perl binaries not its loading. The Configure command is carefully to separate out the compilation flags from the load flags. Unfortunately it does not prompt you for any load flags? The problem that you are seeing under Convex OS 8.x is due to the use of a busted setruid/seteuid POSIX compliant library. Since you did not specify '-pcc' on the load you get the POSIX library. Under Convex OS 9.x the get group system call will fail if you don't specify the "-pcc" option on the load. Again, since you did not specify the "-pcc" on the load command you get POSIX compliant library. Under Convex OS 9.x they fixed setruid/seteuid but the changed the definition of the array that getgroups returns form a int * (32 bits) to a short * (16 bits). Bill Jones