Solve configure: Error: cannot find Pam headers. Please check if your system is ready for PAM module Dev

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.