GNOME Bugzilla – Bug 554089
gdm-2.22 and gdm-2.24 will not configure without libpam
Last modified: 2008-11-08 04:55:53 UTC
Please describe the problem: Even if gdm-2.22/2.24 is configured with --enable-authentication-scheme=crypt or --enable-authentication-scheme=shadow (that is, --enable-authentication-scheme=pam and console helper are not chosen), it will not in fact configure or compile if libpam is not installed, as libpam is a hard-wired dependency. gdm-2.20 and earlier compiled OK with crypt or shadow authentication without libpam. Steps to reproduce: 1. Run ./configure with --enable-authentication-scheme=crypt or --enable-authentication-scheme=shadow, and --enable-console-helper=no 2. If libpam is not installed, configure will fail. 3. Actual results: ./configure fails with: checking for pam_start in -lpam... no configure: error: "PAM libraries not found" Expected results: ./configure only to fail without libpam installed, if pam authentication or pam console helper has been chosen . Does this happen every time? yes Other information: If configure.ac is doctored not to fail on libpam, compilation will still fail, as pam functions are called in daemon/gdm-session-worker.c even though a pam configuration has not been chosen.
This bug IS CONFIRMED on Zenwalk 5.2. Compilation fails although configure was told to ignore PAM, using the --enable-authentication-scheme=shadow provided by GDM. This bug is a blocker for inclusion of GDM in Zenwalk. Severity should be changed to Major, and status changed to NEW. Thanks JP Zenwalk Maintainer
*** This bug has been marked as a duplicate of 531006 ***