Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!mcnc!borg!oscar!tell From: tell@oscar.cs.unc.edu (Stephen Tell) Newsgroups: comp.lang.perl Subject: Re: t/op/groups.t fails Message-ID: <3388@borg.cs.unc.edu> Date: 23 Apr 91 15:37:40 GMT References: <1991Apr22.212847.3788@jts.com> Sender: news@cs.unc.edu Organization: University of North Carolina, Chapel Hill Lines: 34 In article <1991Apr22.212847.3788@jts.com> gerry@jts.com (G. Roderick Singleton ) writes: You don't say exactly what kind of system you're using, but I had this test fail on SunOS 4.1 when Configure got "gidtype" wrong. Rummaging through the include files, I found I needed to set gidtype='gid_t' I was compiling with the SysV environment. According to comments in /usr/5include/grp.h, POSIX wants one size of gid_t, and BSD wants another. I forget which is which; one is short (16 bits), the other int (32 bits). I had similar problems on Dec/Mips machines. The usual symptom of getting the size wrong is spurious/missing groups from perls builtins. Configure probably has trouble wading through the various includes and #ifdefs that specify things for the various environments. I haven't had time to do 4.003 yet, so I don't know if the hints work. Steve >G. Roderick Singleton, System and Network Manager, JTS Computers >{yunexus | uunet | geac | torsqnt}!gerry@jtsv16.jts.com -- Steve Tell tell@cs.unc.edu H: +1 919 968 1792 #5L Estes Park apts CS Grad Student, UNC Chapel Hill. W: +1 919 962 1845 Carrboro NC 27510 Duke Blue Devils: 1991 NCAA Basketball National Champions! We're Number 1 !! UNLV 90-91 record: "34 and DUKE."