lance@embassy.nsi.com (Lance N. Antrim) (06/14/91)
After modifying the header file to note that I had TCP/IP and adding the hint for YACC, perl 4.003 complied fine on my Xenix 386 system. It passed all the tests without problem. Now I have found one problem and I want to see if it has been dealt with before I go to work on it. The problem is in the directory routines. I discovered it when I tried to use the opendir, readdir and closedir routines in the example in the Camel book using 'complete.pl. I found I got a list of no files for the complete routine to work on. On further examination I found that I was getting information from the reading of the directory, but not a list of separated file names. In skimming the Xenix manuals it apears that I need to add 'ldir' to my library list and possibly make some changes in the appropriate Perl code. Before going further I wanted to see if anyone else has compiled Perl 4.003 under Xenix386 and tested the directory routines. If so, do they work as they are supposed to? If not, has anyone made the changes necessary to get them working? Thanks, Lance Lance Antrim Project on Multilateral Negotiation ..!uunet!embassy!lance American Academy of Diplomacy lance@nsi.com Washington, DC ___________________________________________________________________________
claudius@zeus.calpoly.edu (King_Claudius) (06/19/91)
lance@embassy.nsi.com (Lance N. Antrim) writes: >The problem is in the directory routines. I discovered it when I tried >to use the opendir, readdir and closedir routines in the example in the >Camel book using 'complete.pl. I found I got a list of no files for the >complete routine to work on. On further examination I found that I was >getting information from the reading of the directory, but not a list of >separated file names. Wow...I guess I'm not alone...I've compiled it for our AIX sites: a mondo-IBM big blue 3090 and a bunch of 386 machines. Basically I get no output from readdir, but no errors from opendir. I've written C code that does the same basic thing and our functions work fine from the C side of the world. [I'm working on following {ick!} the code in doio.c, where it all happens] >In skimming the Xenix manuals it apears that I need to add 'ldir' to my >library list and possibly make some changes in the appropriate Perl >code. Before going further I wanted to see if anyone else has compiled >Perl 4.003 under Xenix386 and tested the directory routines. If so, do >they work as they are supposed to? If not, has anyone made the changes >necessary to get them working? Hmm...can't help you with Xenix, but I don't think it's Xenix's fault. -- claudius@hermes.calpoly.edu --- King_Claudius ---