On 04/03/2018 02:44 AM, Pierre Labastie wrote:
On 02/04/2018 22:25, Pierre Labastie wrote:
Hi,
Usually, I build PAM early, but this time, I decided not to, to check
dependencies. And building cups-2.2.7, I receive:
-------
Compiling auth.c...
auth.c: In function 'cups_crypt':
auth.c:2021:5: error: unknown type name '_cups_md5_state_t'; did you mean '_cups
_message_t'?
_cups_md5_state_t state; /* Primary MD5 state info */
^~~~~~~~~~~~~~~~~
_cups_message_t
[snip other errors]
The "cups_crypt" function is only defined if HAVE_LIBPAM is 0. That's why this
error does not occur if pam is installed.
According to https://github.com/apple/cups/pull/5253 (which is about the
development branch), libpam will be made required for cups sooner or later.
So I suggest to recommend pam for cups right now (and require it when it
becomes mandatory).
Note that upstream has backported the change they made to address the issue in
their development branch, but I suspect one part of the backport has been
forgotten.
Upstream has made a new commit yesterday:
https://github.com/apple/cups/commit/570933a6a3597371bae1beeb754ee8711d6305ab
which should fix building without PAM. But Istill think it is better to
recommend PAM anyway, instead of making a patch.
I used to not build PAM, but there are too many things that really do
not work well without it. I agree with making Recommended.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page