On Wed, 6 Jun 2012 17:23:06 -0700 (PDT), Gergo Erdosi <
ge...@gergoerdosi.com> wrote:
> I wanted to update the Homebrew formula to version 5.5.24-26.0, however I'm
> not able to compile it due to an error:
>
> [ 98%] [ 99%] Building C object
> plugin/percona-pam-for-mysql/CMakeFiles/auth_pam.dir/src/auth_pam_common.c.o
> Building C object
> plugin/percona-pam-for-mysql/CMakeFiles/auth_pam_compat.dir/src/auth_pam_common.c.o
> In file included from
> /tmp/homebrew-percona-server-5.5.24-26.0-IocQ/Percona-Server-5.5.24-rel26.0/plugin/percona-pam-for-mysql/src/auth_pam_common.c:22:
> /tmp/homebrew-percona-server-5.5.24-26.0-IocQ/Percona-Server-5.5.24-rel26.0/plugin/percona-pam-for-mysql/src/auth_pam_common.h:34:10:
> fatal error: 'security/pam_misc.h' file not found
> #include <security/pam_misc.h>
> ^
> In file included from
> /tmp/homebrew-percona-server-5.5.24-26.0-IocQ/Percona-Server-5.5.24-rel26.0/plugin/percona-pam-for-mysql/src/auth_pam_common.c:22:
> /tmp/homebrew-percona-server-5.5.24-26.0-IocQ/Percona-Server-5.5.24-rel26.0/plugin/percona-pam-for-mysql/src/auth_pam_common.h:34:10:
> fatal error: 'security/pam_misc.h' file not found
>
> I searched the codebase and this file indeed can't be found. It was
> probably removed during the integration of the PAM authentication plugin.
> The Homebrew formula uses Clang to compile the package. Can you please fix
> this issue?
This is a PAM header. You may have to install PAM headers on OSX or not
build the PAM plugin.
--
Stewart Smith