• 解决configure: error: Cannot find pam headers. Please check if your system is ready for pam module development


    以下内容转载自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.

    -----------------------------------------------------------------------------------------------------------------------

    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.
  • 相关阅读:
    3.27 课堂 笔记
    第四周 4-2
    3-26
    Java EE期末项目
    条件查询、SQL、JPQL、HQL比较
    J2EE 第八周(04.23-04.29)
    J2EE 第七周(04.16-04.22)
    J2EE 第六周(04.09-04.15)
    J2EE 第五周(04.02-04.08)
    J2EE 第四周(03.26-04.01)
  • 原文地址:https://www.cnblogs.com/google4y/p/2117322.html
Copyright © 2020-2023  润新知