I've been going round and round with this, and its driving me nuts. Previously, dovecot was erroring out during make due to some MySQL library issues. I thought I had that fixed, but now the compiled version I'm getting says it doesn't have MySQL support. I just started over, and noticed that ./configure is saying: Install prefix ...................... : /usr/local File offsets ........................ : 64bit I/O loop method ..................... : poll File change notification method ..... : dnotify Building with SSL support ........... : no Building with IPv6 support .......... : yes Building with pop3 server ........... : yes Building with mail delivery agent .. : yes Building with GSSAPI support ........ : no Building with user database modules . : static prefetch passwd passwd-file checkpassword sql (modules) Building with password lookup modules : passwd passwd-file shadow checkpassword sql (modules) Building with SQL drivers ............: I've tried running with: CPPFLAGS=-I/usr/local/include/MySQL LDFLAGS=-L/usr/local/lib ./configure --with-MySQL But same result. No MySQL support noted by ./configure. Any tips? Please help. Thanks.
Also, does it make a difference if mysql version 4 or 5 is installed? I am running version 5. ----- Original Message ----- From: "Greg Deputy" <gregdeputy at comcast.net> To: <dovecot at dovecot.org> Sent: Monday, August 21, 2006 2:18 PM Subject: [Dovecot] Please help, cant compile with mysql support> I've been going round and round with this, and its driving me nuts. > Previously, dovecot was erroring out during make due to some MySQL library > issues. I thought I had that fixed, but now the compiled version I'mgetting> says it doesn't have MySQL support. I just started over, and noticed that > ./configure is saying: > > Install prefix ...................... : /usr/local > File offsets ........................ : 64bit > I/O loop method ..................... : poll > File change notification method ..... : dnotify > Building with SSL support ........... : no > Building with IPv6 support .......... : yes > Building with pop3 server ........... : yes > Building with mail delivery agent .. : yes > Building with GSSAPI support ........ : no > Building with user database modules . : static prefetch passwd passwd-file > checkpassword sql (modules) > Building with password lookup modules : passwd passwd-file shadow > checkpassword sql (modules) > Building with SQL drivers ............: > > I've tried running with: > > CPPFLAGS=-I/usr/local/include/MySQL LDFLAGS=-L/usr/local/lib > ./configure --with-MySQL > > But same result. No MySQL support noted by ./configure. > > Any tips? Please help. > > Thanks. >
Greg Deputy wrote::> CPPFLAGS=-I/usr/local/include/MySQL LDFLAGS=-L/usr/local/lib > ./configure --with-MySQLmayb you should try this: CPPFLAGS=-I/usr/include/MySQL \ LDFLAGS=-L/usr/lib \ ./configure --with-mysql hint: slocate libmysql slocate include/mysql/mysql.h
websafe wrote::> Greg Deputy wrote:: >> CPPFLAGS=-I/usr/local/include/MySQL LDFLAGS=-L/usr/local/lib >> ./configure --with-MySQL > mayb you should try this: > CPPFLAGS=-I/usr/include/MySQL \^^^^^^^^^^^ not "mysql" ?