After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 554089 - gdm-2.22 and gdm-2.24 will not configure without libpam
gdm-2.22 and gdm-2.24 will not configure without libpam
Status: RESOLVED DUPLICATE of bug 531006
Product: gdm
Classification: Core
Component: general
2.24.x
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-27 18:07 UTC by Chris Vine
Modified: 2008-11-08 04:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Chris Vine 2008-09-27 18:07:02 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.
Comment 1 hyperion 2008-10-01 23:09:03 UTC
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
Comment 2 Matthias Clasen 2008-11-08 04:55:53 UTC

*** This bug has been marked as a duplicate of 531006 ***