[comp.unix.xenix] Perl 3.0 PL8 on SCO XENIX 386

skl@van-bc.UUCP (Samuel Lam) (12/25/89)

Could someone who has Perl 3.0 patchlevel 8 running on SCO XENIX 386 2.3.2
please tell me what you needed to tweak in order to get it installed?

Patchlevel 6 installed here without much problem, but patchlevel 8 is having
a heck of a time getting the directory scanning routines package (readdir()
and friends) sorted out.  Here we have both dirent.h and sys/ndir.h, plus
sys/dir.h, and the Configure script found them all, and this is when things
stopped working...

I tried defining I_DIRENT, I_SYSNDIR and I_SYSDIR in various combinations,
but there's always something missing or wrong when compiling or linking in
doio.o (where the directory scanning routines are used).

There are two different sets of the directory scanning routines here, one in
-ldir and wants dirent.h, the other in -lx and wants sys/ndir.h.  Since they
are incompatible with each other and Perl's Configure script already include
-lx during linking if it's available, I would imagine the original intention
of the author is to use the -lx and sys/ndir.h pair.

Could anyone shine some light to this?

Thank you very much for your time.

...Sam

P.S.  Please e-mail replies if possible, I will summarize if requested.

-- 
Internet: <skl@wimsey.bc.ca>	UUCP: {van-bc,ubc-cs,uunet}!wimsey.bc.ca!skl