Good day, I seem to be having an issue using dovecot 1.0 rc15. I compiled the source with the following configure command: CPPFLAGS="-I/usr/local/include/mysql" LDFLAGS="-L/usr/local/lib/mysql" -lmysqlclient" ./configure -with-mysql -with-sql-drivers=mysql Did make and make install and set the dovecot-example.conf to dovecot.conf and tried running the program and got the following error: Error: Error in configuration file on line 50: expecting '=' Line 50 of the default config is a comment, which struck me as odd. So, I uninstalled and tried building with no options. I did a make uninstall, removed the /usr/local/lib/dovecot directory did make and make install and tried the program. This time it didn't crash about the config file, but the mail.err log notes that the child processes died on an error 89, apparently unable to figure our what pam was. I'm wondering why the thing seems to work if I do not build for mysql but if I want mysql, it breaks in the manner it does? Is it a bug, or am I doing it wrong (which is a real possibility). Any help soon would be appreciated, as my boss keeps asking 'So, when is that mail server going to be done?'. :) Justin Pearce Information Technology/Programming Price Video Productions JustinP at PriceVideo.com 361-572-3810 800-733-3810 Fax: 361-572-3894 www.PriceVideo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/attachments/20061227/ecff5ace/attachment.html>
<quote who="Justin Pearce">> Good day, > > > > I seem to be having an issue using dovecot 1.0 rc15. I compiled the > source with the following configure command: > > CPPFLAGS="-I/usr/local/include/mysql" LDFLAGS="-L/usr/local/lib/mysql" > -lmysqlclient" ./configure -with-mysql -with-sql-drivers=mysql > > > > Did make and make install and set the dovecot-example.conf to > dovecot.conf and tried running the program and got the following error: > > Error: Error in configuration file on line 50: expecting '=' > > > > Line 50 of the default config is a comment, which struck me as odd. So, > I uninstalled and tried building with no options. I did a make > uninstall, removed the /usr/local/lib/dovecot directory did make and > make install and tried the program. This time it didn't crash about the > config file, but the mail.err log notes that the child processes died on > an error 89, apparently unable to figure our what pam was. > > > > I'm wondering why the thing seems to work if I do not build for mysql > but if I want mysql, it breaks in the manner it does? Is it a bug, or am > I doing it wrong (which is a real possibility). Any help soon would be > appreciated, as my boss keeps asking 'So, when is that mail server going > to be done?'. :) > > >Hi Justin, Are RPMs an option? -- Kind Regards, Gavin Henry. Managing Director. T +44 (0) 1224 279484 M +44 (0) 7930 323266 F +44 (0) 1224 824887 E ghenry at suretecsystems.com Open Source. Open Solutions(tm). http://www.suretecsystems.com/
Justin Pearce wrote:> > Good day, > > I seem to be having an issue using dovecot 1.0 rc15. I compiled the > source with the following configure command: > > CPPFLAGS=?-I/usr/local/include/mysql? LDFLAGS=?-L/usr/local/lib/mysql? > ?lmysqlclient? ./configure ?with-mysql ?with-sql-drivers=mysql > > Did make and make install and set the dovecot-example.conf to > dovecot.conf and tried running the program and got the following error: > > Error: Error in configuration file on line 50: expecting ?=? > > Line 50 of the default config is a comment, which struck me as odd. > So, I uninstalled and tried building with no options. I did a make > uninstall, removed the /usr/local/lib/dovecot directory did make and > make install and tried the program. This time it didn?t crash about > the config file, but the mail.err log notes that the child processes > died on an error 89, apparently unable to figure our what pam was. >Paste your lines 45~55 here.> > I?m wondering why the thing seems to work if I do not build for mysql > but if I want mysql, it breaks in the manner it does? Is it a bug, or > am I doing it wrong (which is a real possibility). Any help soon would > be appreciated, as my boss keeps asking ?So, when is that mail server > going to be done??. :) > > Justin Pearce > > Information Technology/Programming > > Price Video Productions > > JustinP at PriceVideo.com <mailto:JustinP at PriceVideo.com> > > 361-572-3810 > > 800-733-3810 > > Fax: 361-572-3894 > > www.PriceVideo.com >-- NASA: La navetta spaziale Atlantis ha riportato a casa Shannon Lucid, l'astronauta americana che ha battuto il record di permanenza di una donna nello spazio. Il record precedente di resistenza in assenza di peso era di Kate Moss. -- Panfilo Maria Lippi (Daniele Luttazzi), "TABLOID"
Hi Justin, Justin Pearce wrote on 27-12-2006 15:44:> > Good day, > > I seem to be having an issue using dovecot 1.0 rc15. I compiled the > source with the following configure command: > > CPPFLAGS=?-I/usr/local/include/mysql? LDFLAGS=?-L/usr/local/lib/mysql? > ?lmysqlclient? ./configure ?with-mysql ?with-sql-drivers=mysql >What platform (OS / cpu) are you building on? Greets, Nils
On 27.12.2006, at 16.44, Justin Pearce wrote:> CPPFLAGS=?-I/usr/local/include/mysql? LDFLAGS=?-L/usr/local/lib/ > mysql? ?lmysqlclient? ./configure ?with-mysql ?with-sql-drivers=mysqlTry if it works when you don't add -lmysqlclient in the LDFLAGS. It's added automatically to the binaries where it's needed, and it has a lot of symbols which might conflict with the program's symbols causing all sorts of weird problems. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070103/bc9b8d8c/attachment.bin>