Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!convex!convex.COM From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.lang.perl Subject: Re: statmon help needed Message-ID: <100655@convex.convex.com> Date: 17 Mar 90 12:42:38 GMT References: <5426@rouge.usl.edu> Sender: usenet@convex.com Reply-To: tchrist@convex.COM (Tom Christiansen) Distribution: usa Organization: CONVEX Software Development, Richardson, TX Lines: 29 In article <5426@rouge.usl.edu> pml@cacs.usl.edu (Patrick M. Landry) writes: >cajun04% statmon cajun >statmon v .3; initializing... couldn't do "sys/ioctl.h": No such file or directory at statmon line 269. > >but ioctl.h is there along with all the others > >cajun04% ls /usr/local/lib/perl/sys >errno.h ioctl.h socket.h ttold.h ttydev.h >filio.h perlioctl.h sockio.h ttychars.h >Could this have to do with the numbers in sizeof.h not being correct? >I could not find the pcntl or system_information structures anywhere. No, it shouldn't have to do with sizeof.h at all. Sounds fishy -- you might check and make sure that a very simple program that just sources ioctl.h is working right. You might check for a trailing 1; at the end of sys/ioctl.h. If you couldn't find pcntl, you don't need it, and struct system_information is a Convex thing. See my h2pl directory (if you have it) for a program to pull out of your system ioctl.h the minimal list of objects whose sizes you need to make the perl ioctl.h translation work right. --tom -- Tom Christiansen {uunet,uiucdcs,sun}!convex!tchrist Convex Computer Corporation tchrist@convex.COM "EMACS belongs in : Editor too big!"