Menu

configure: error: Cannot find pam headers.

Help
mytrix
2005-07-22
2013-04-17
  • mytrix

    mytrix - 2005-07-22

    System: FreeBSD 5.2 - current
    DB: Mysql 4.1.13

    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.

     
    • Moriyoshi Koizumi

      What you need to specify to --with-pam is the PAM installation prefix, not the header location. So, the arguments would look like the following:

      ./configure --with-pam=/usr/local --with-mysql=/usr/local/bin/mysql_config

       
      • John

        John - 2006-01-29

        I tried this but it didn't work. I'm getting the same error. I'm using 5.4-RELEASE FreeBSD.

        If I knew what files it was looking for, I could modify the configure.in to look there.
        /usr/lib/security does not exist, but I see this:
        /usr/include/security/pam_modules.h and I see a number of files like (say 30)
        /usr/lib/pam_chroot.so

        Any chance I can find out what it's looking for or a point as to where to look? I don't know how to determine that part.

         
    • Curtis ckhh

      Curtis ckhh - 2007-05-25

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.