← Back to team overview

maria-discuss team mailing list archive

Re: auth_pam does not compile on OSX

 

Compiling on MacOS has similar issue.. except that MacOS does not have an
implementation of strndup.

On 3 January 2012 06:16, Sergei Golubchik <serg@xxxxxxxxxxxx> wrote:

> Hi, Terin!
>
> On Dec 20, Terin Stock wrote:
> > The 5.2.10 version of MariaDB is not compiling for me (using homebrew)
> on OSX. The error and other information, is as follows.
> >
> > I've resolved the issue for now by passing in --without-plugin-auth_pam
> to configure.
> >
> > libtool: compile:  /usr/bin/llvm-gcc -DHAVE_CONFIG_H -I. -I.
> -I../../include -I../../include -I/usr/local/Cellar/readline/6.2.1/include
> -DMYSQL_DYNAMIC_PLUGIN -O3 -w -pipe -march=core2 -msse4 -D_P1003_1B_VISIBLE
> -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT
> -DDONT_DECLARE_CXA_PURE_VIRTUAL -c auth_pam.c  -fno-common -DPIC -o
> .libs/auth_pam_la-auth_pam.o
> > auth_pam.c:107: error: ‘pam_info’ redeclared as different kind of symbol
> > /usr/include/security/openpam.h:104: error: previous declaration of
> ‘pam_info’ was here
> > make[2]: *** [auth_pam_la-auth_pam.lo] Error 1
>
> Fixed, thanks.
>
> Regards,
> Sergei
>
> _______________________________________________
> Mailing list: https://launchpad.net/~maria-discuss
> Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-discuss
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Antony T Curtis

Follow ups

References