I just (well, it took nearly 10 hours, so not `just', but recently) compiled
the whole 4.2.99.3 release.  make World completed successfully, but when I
came to make install, I got the following error:

installing in programs/xdm...
make[3]: Entering directory `/mnt/src/Xfree86/xc/programs/xdm'
rm -f auth.o
gcc -c -O2 -fno-strength-reduce -ansi -pedantic -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls 
-Wnested-externs -Wundef     -I../.. -I../../exports/include   -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE 
 -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   -DBINDIR=\"/usr/X11R6/bin\" 
-DXDMDIR=\"/usr/X11R6/lib/X11/xdm\"                                                
-DUSESHADOW -DUSE_PAM -DUNIXCONN -DTCPCONN -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN           
 -DGREET_USER_STATIC   -DFRAGILE_DEV_MEM                 -DOSMAJORVERSION=2            
  -DOSMINORVERSION=4                              -DXPM -DUSE_XINERAMA    auth.c
In file included from auth.c:44:
dm.h:105: security/pam_appl.h: No such file or directory
make[3]: *** [auth.o] Error 1
make[3]: Leaving directory `/mnt/src/Xfree86/xc/programs/xdm'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/mnt/src/Xfree86/xc/programs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/mnt/src/Xfree86/xc'
make: *** [install] Error 2

The problem was that I didn't have libpam-dev installed.  I quickly sorted
that out, and finished the install.  The query, then:  Maybe I'm just used
to being spoon-fed by ./configure scripts, but

1) Shouldn't all libraries be checked for fairly early in the build process?
2) Shouldn't this program (and the rest in programs/xdm) be necessary for
make World, rather than only being compiled for the `install' target?

Glyn

-- 
-Glyn, do you do pills?
-No, I hate lager.
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to