Mailing List Archive

Install problems with dir functions
I have had much problems getting install to work on an old ncr_tower
running AT&T SysV R2. The problems are centered around dir funtions (opendir,
readdir, etc.). The system only had the old directory structure with
fixed-length file names and none of the dir functions defined. My original
attempt got stuck compiling sv.c with error in sv.h line 256 (DIR *
Andy Dougherty( suggested forcing a
definition using -DDIR=int. Below are cuts from Configure and make trying
that; as you can see, it doesn't work. I finally installed the ndir from
Doug Gwynn that Andy happened to mention (got it from gnu - dirent.tar
library), and that solved the problems; thanks for the hint, Andy !
Might I suggest that it be included in the install kit, or has anyone got a
better idea for a fix?

Any additional cc flags?
[-W2,-Sl,1500 -W0,-Sp,350,-Ss,2500 -Wp,-Sd,30 -DDIR=int]
Let me guess what the preprocessor flags are...
They appear to be: -W2,-Sl,1500 -W0,-Sp,350,-Ss,2500 -Wp,-Sd,30 -DDIR=int
No -lndir.
No -ldir.
No -lcrypt.
<sys/dir.h> found.
<dirent.h> NOT found.
I don't recognize your system's directory entries.
What type is used for directory entries on this system? [struct direct]
Your directory entry does not know about the d_namlen field.
dlerror() NOT found.
readdir() NOT found.
seekdir() NOT found.
telldir() NOT found.
rewinddir() NOT found.
readlink() NOT found.
rename() found.
rmdir() NOT found.
<sys/dir.h> found.
<sys/ndir.h> NOT found.
closedir() NOT found.
>>Compiles were -reasonably- clean<<
Making DynaLoader (static)
Makefile out-of-date with respect to ../../lib/ ../../config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean >/dev/null 2>&1 || true
../../miniperl "-I../../lib" "-I../../lib" Makefile.PL LIBPERL_A=libperl.a
Unsupported directory function "opendir" called at
../../lib/ExtUtils/ line 52.
*** Error code 2

make config failed, continuing anyway...
Make: Don't know how to make all. Stop.
*** Error code 1