Thanks to boredness, I tried to finish installing pam_mysql which was failed before. Here’s the tricks:
- Symlink pam_appl.h and pam_modules.h from /usr/include/security to /usr/include
- Use Sun C Compiler. GCC won’t work – don’t bother trying
- make will most likely fail because -lCrun doesn’t exist or something. Temporary workaround is by removing -lCrun from the command in Makefile (open Makefile, find and remove -lCrun)
Seems to be working here.