[Exim] Trouble Compiling for OS X 10.2 darwin

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Kevin Windham
Date:  
À: exim-users
Sujet: [Exim] Trouble Compiling for OS X 10.2 darwin
I am trying to get Exim 4.14 compiled with PAM, LDAP, and MySQL for OS
X 10.2.

I think I have got everything working except for 2 problems.

1. What do I need to do to get PAM to compile?
2. Do I need to manually install MySQL, or is it loaded somewhere by
default, and I just can't find it?

Here's the relevant errors.

cc -c -O mysql.c
mysql.c:31: header file 'mysql.h' not found
mysql.c:39: undefined type, found `MYSQL'
mysql.c:108: undefined type, found `MYSQL'
mysql.c:109: undefined type, found `MYSQL_RES'
mysql.c:110: undefined type, found `MYSQL_ROW'
mysql.c:111: undefined type, found `MYSQL_FIELD'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
make[2]: *** [mysql.o] Error 1


cc -c -O call_pam.c
call_pam.c:25: header file 'security/pam_appl.h' not found
call_pam.c:127: undefined type, found `pam_handle_t'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
make[2]: *** [call_pam.o] Error 1


Thanks,
Kevin