The following content is reproduced from http://sourceforge.net/projects/pam-mysql/forums/forum/17691/topic/1322966
When I want to configure pam_mysql-0.6 (. /configure -- With-Pam =/usr/local/include/security -- With-mysql =/usr/local/bin/mysql_config), I get an error message "Configure: Error: cannot find Pam headers. please check if your system is ready for PAM module development. "What I do wrong? Fbsd support PAM modules and in the past there was installed pam_mysql-0.5 from Port .. But I must update it because older version doesn't support MySQL 4.1 .. thank you.
Bytes -----------------------------------------------------------------------------------------------------------------------
2007-05-25 03:36:10 UTC
I have been searching all over the net for an answer to this question, and I finally found a way past the error, so I am sharing my experience in the hopes that it may help others.
My setup:
Fedora Core 5
PAM modules located in/lib/security
Pam services listed in/etc/PAM. d/
The clue to my error was the end of the line:
"Configure: Error: cannot find Pam headers. Please check if your system is ready for PAM module development ."
I use yum for package management, so I:
Yum install pam-devel.i386
Since the above line was mentioning that my system may not be ready for PAM module development
That allowed configure to complete successfully.
Good luck to others.