[Xorg] xorg cvs won't compile: security/pam_appl.h not found

Lee Revell rlrevell at joe-job.com
Thu Aug 26 19:31:01 PDT 2004


I had the following error compiling from CVS:

making all in programs/xdm...
make[3]: Entering directory `/home/rlrevell/cvs/xc/programs/xdm'
rm -f auth.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing -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\"                             -DHASXDMAUTH            -DUSESHADOW -DUSE_PAM -DUNIXCONN -DTCPCONN -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DIPv6             -DGREET_USER_STATIC   -DFRAGILE_DEV_MEM -DDEV_RANDOM=\"/dev/random\"                 -DOSMAJORVERSION=2              -DOSMINORVERSION=6                              -DXPM -DUSE_XINERAMA              -DHAS_MKSTEMP    auth.c
In file included from auth.c:45:
dm.h:106:31: security/pam_appl.h: No such file or directory
In file included from auth.c:45:
dm.h:428: error: parse error before '*' token
dm.h:428: warning: type defaults to `int' in declaration of `thepamhp'
dm.h:428: error: ISO C forbids data definition with no type or storage class
dm.h:429: error: parse error before '*' token
dm.h:429: warning: type defaults to `int' in declaration of `thepamh'
dm.h:429: error: ISO C forbids data definition with no type or storage class
make[3]: *** [auth.o] Error 1
make[3]: Leaving directory `/home/rlrevell/cvs/xc/programs/xdm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/rlrevell/cvs/xc/programs'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rlrevell/cvs/xc'
make: *** [all] Error 2

It turns out that file was from the libpam0g-dev Debian package.

Why isn't this checked for at the beginning of the build?  For that
matter why doesn't xorg use autoconf?

Lee





More information about the xorg mailing list