← Back to team overview

maria-discuss team mailing list archive

pam plugin does't compile on FreeBSD

 

Hi everyone,

I'm mariadb's port maintainer for FreeBSD, and I'd like to get it compile before pushing the 5.2.10 update...

Seems to be the same problem than under OSX: (with openpam)

https://lists.launchpad.net/maria-discuss/msg00506.html

Under FreeBSD 9.0RC3 (and 8.2) amd64:

libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/local/include -DMYSQL_DYNAMIC_PLUGIN -O2 -pipe -fno-strict-aliasing -MT auth_pam_la-auth_pam.lo -MD -MP -MF .deps/auth_pam_la-auth_pam.Tpo -c auth_pam.c -fPIC -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:102: error: previous declaration of 'pam_info' was here
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1

Sergei Golubchik wrote 'Fixed' in the referenced mail, but I don't know if it's fixed by removing pam support for OSX or ? (did not find any difference in bzr branch 5.2)

Should I disable pam support for FreeBSD or is there any patch I could include in the port for 5.2.10 ?

Thanks,
--
*Geoffroy Desvernay*
C.R.I - Administration systèmes et réseaux
Ecole Centrale de Marseille




Follow ups