The same thing happened to me yesterday while compiling on a FreeBSD
machine.
mysql.h and errormsg.h is on my system, but the compiler didn't know
where to find them.
I'm no expert when it comes to compiler directives, but what I did was
create a symlink
from the location of the mysql files to "./maildrop-1.5.2/maildrop/mysql"
example:.
cd maildrop-1.5.2/maildrop
ln -s /usr/local/mysql/include mysql
~Rolan
Emiliano wrote:
I'm using maildrop-1.5.2 and i'm trying to compile with mysql support.
this runs fine :
./configure --enable-maildropmysql --with-mysqlconfig=/etc/maildrop_mysql.co
nf
when i do: make
gives me an error:
Compiling mdmysql.c
mdmysql.c:10:25: mysql/mysql.h: No existe el fichero o el directorio
mdmysql.c:11:26: mysql/errmsg.h: No existe el fichero o el directorio
make[2]: *** [mdmysql.o] Error 1
make[2]: Saliendo directorio `/usr/root/maildrop-1.5.2/maildrop'
make[1]: *** [all] Error 2
make[1]: Saliendo directorio `/usr/root/maildrop-1.5.2/maildrop'
make: *** [all-recursive] Error 1
Any ideas ?...
I have mysql installed.
Tks...
Emiliano.