|
Bugzilla – Full Text Bug Listing |
| Summary: | ./configure doesn't properly check for libpam | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Michael Reilly <OmnipotentEntity> |
| Component: | Configure | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | low | ||
| Priority: | low | ||
| Version: | 1.8.4 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Config.log | ||
|
Description
Michael Reilly
2012-02-01 03:18:48 MST
I've added to the pam tests in configure, it now tests both the pam headers and libraries. If you update your mercurial checkout you can give it a try. It still doesn't seem to work, but I think I know what's causing the issue... maybe. I have /usr/include/pam.h which belongs to libnetpbm10-dev. I think the configure script is thinking that's the pam file it needs to look for, rather than the ones installed in libpam0g-dev, which are in /usr/include/security Hope this helps. That's not it. configure tests for security/pam_appl.h not pam.h Can you attach your config.log file? Created attachment 329 [details]
Config.log
config.log as requested.
It seems that -lpam is appearing in $SUDOERS_LIBS
if test ${with_pam-"no"} != "no"; then
# We already link with -ldl (see LIBDL below) so no need for that here.
SUDOERS_LIBS="${SUDOERS_LIBS} -lpam"
from here. Line 2487 in configure.in
That looks like a configure from before changeset d6bf3e3d0aae which has the changes I was talking about. If you update your mercurial repo (hg pull -u) and re-run configure it should behave as expected. hmm... I guess I'm just a moron. :) Works now that I've updated it (correctly). Thanks, I don't see anything wrong anymore. Looks like this bug is closed. Fixed in sudo 1.8.4 |