-
Good.
But that is only a partial solution. There remains the problem that pam_tally and upperLOWER are linked before the static library is built. Thus they are either linked against an old version (possibly a shared one) or this fails if no installed libpam can be found.
A possibility would be:
configure --enable-static-modules
make -k
rm -f modules/pam_filter/upperLOWER/upperLOWER...
2007-12-18 18:57:22 UTC in Pluggable Auth Modules
-
I just redid things, without patch-04-static-modules and patch-05-libtool, in a VPATH build, i.e. outside the source tree, for static modules.
The problems are due to the fact that in this case the modules directory is processed first.
make: now succeeds, but when building modules/pam_filter/upperLOWER/upperLOWER, this program is linked
with the installed (shared) libpam, not the static...
2007-11-14 11:22:58 UTC in Pluggable Auth Modules
-
After applying patch-03-static-modules make && make check certainly works fine, but only for dynamic modules and only if a suitable file /etc/pam.d/other exists!
Well, dropping static modules completely is certainly a possibility. If so, you would have to delete a lot of things.
Using "LIBADD = -LFOO -lfoo" for a libtool library, where FOO refers to the build path, has the effect that FOO...
2007-11-12 09:42:16 UTC in Pluggable Auth Modules
-
More of the same
File Added: patch-06-manpage-typos.
2007-11-02 09:14:22 UTC in Pluggable Auth Modules
-
File Added: patch-05-libtool.
2007-10-30 13:51:06 UTC in Pluggable Auth Modules
-
File Added: patch-04-static-modules.
2007-10-30 13:50:26 UTC in Pluggable Auth Modules
-
Building static modules fails for various reasons.
Attached are three patches addressing this problem, as well as some libtool issues. I could have made the third patch a separate item, except for the fact that it would not apply cleanly without the others.
(1) patch-03-static-modules
Use "$(shell ls ...)" instead of "`ls ...`" in libpam/Makefile.am
Correct misspelled pam_module struct...
2007-10-30 13:49:30 UTC in Pluggable Auth Modules
-
Running "make check" on a system without PAM will always fail until a suitable file /etc/pam.d/other is installed.
This should be spelled out in the documentation, e.g., as per the attached patch.
2007-10-30 13:24:00 UTC in Pluggable Auth Modules
-
Attached is a small patch fixing various manpage typos and spellings as well as removing some duplicate text.
2007-10-30 13:20:04 UTC in Pluggable Auth Modules
-
Attached is a small patch avoiding some of the gcc warnings.
Two of these are most probably bugs:
A misplaced parenthesis in pam_rhosts/pam_rhosts_auth.c yields the wrong logic
Use of dngettext() without prototype (when NLS is disabled) may lead to serious int vs. pointer problems on 64Bit systems.
2007-10-30 13:17:35 UTC in Pluggable Auth Modules