On Tue, Jun 05, 2007 at 01:57:59PM +0800, Bubuk Gabrok enlightened us:
I tried to compile pam_ldap-184 but it gave lots of error msgs. BTW, I have successfully compiled nss_ldap-255.
------------< snip <------< snip <------< snip <------------
After running make, I got these error msgs below. I need help, please. TIA.
--- start of compile error msgs --- gcc -DHAVE_CONFIG_H -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/local/include -g -O2 -Wall -fPIC -c pam_ldap.c In file included from pam_ldap.c:131: pam_ldap.h:35:34: security/pam_modules.h: No such file or directory
There is your problem. I'll leave it as an exercise to the reader to solve it, since what you're doing is wildly unsupported.
Matt