2.3.5 uses libzdb 2.2, so don't use libzdb 2.3 on it. 2.3.6 will use libzdb 2.3
> -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Artem Bokhan > Sent: quarta-feira, 11 de Fevereiro de 2009 15:23 > To: DBMail mailinglist > Subject: Re: [Dbmail] building dbmail from git > > btw, 2.3.5 from tarball configures fine, but has compile errors. > > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I. -I.. -I.. -I/usr/local/opt/libzdb/include -g -O2 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/local/opt/gmime-2.2.22/include/gmime-2.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith > -Wstrict-prototypes -MT libdbmail_la-dm_db.lo -MD -MP -MF > ".deps/libdbmail_la-dm_db.Tpo" -c -o libdbmail_la-dm_db.lo `test -f > 'dm_db.c' || echo './'`dm_db.c; \ > then mv -f ".deps/libdbmail_la-dm_db.Tpo" > ".deps/libdbmail_la-dm_db.Plo"; else rm -f > ".deps/libdbmail_la-dm_db.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/opt/libzdb/include > -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/local/opt/gmime-2.2.22/include/gmime-2.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict- > prototypes > -MT libdbmail_la-dm_db.lo -MD -MP -MF .deps/libdbmail_la-dm_db.Tpo -c > dm_db.c -fPIC -DPIC -o .libs/libdbmail_la-dm_db.o > In file included from dbmail.h:89, > from dm_db.c:27: > /usr/local/opt/libzdb/include/ConnectionPool.h:438: warning: function > declaration isn't a prototype > In file included from /usr/local/opt/libzdb/include/SQLException.h:43, > from dbmail.h:90, > from dm_db.c:27: > /usr/local/opt/libzdb/include/Exception.h:217: warning: function > declaration isn't a prototype > dm_db.c: In function 'db_connect': > dm_db.c:200: warning: comparison between signed and unsigned > dm_db.c: In function 'db_exec': > dm_db.c:315: error: void value not ignored as it ought to be > dm_db.c: In function 'db_stmt_set_str': > dm_db.c:398: error: void value not ignored as it ought to be > dm_db.c: In function 'db_stmt_set_int': > dm_db.c:403: error: void value not ignored as it ought to be > dm_db.c: In function 'db_stmt_set_u64': > dm_db.c:408: error: void value not ignored as it ought to be > dm_db.c: In function 'db_stmt_set_blob': > dm_db.c:413: error: void value not ignored as it ought to be > dm_db.c: In function 'db_stmt_exec': > dm_db.c:417: error: void value not ignored as it ought to be > dm_db.c: In function 'db_begin_transaction': > dm_db.c:477: error: wrong type argument to unary exclamation mark > dm_db.c: In function 'db_commit_transaction': > dm_db.c:485: error: wrong type argument to unary exclamation mark > dm_db.c: In function 'db_rollback_transaction': > dm_db.c:496: error: wrong type argument to unary exclamation mark > make[3]: *** [libdbmail_la-dm_db.lo] Ошибка 1 > make[3]: Leaving directory `/tmp/dbmail/dbmail-2.3.5/src' > make[2]: *** [all-recursive] Ошибка 1 > make[2]: Leaving directory `/tmp/dbmail/dbmail-2.3.5/src' > make[1]: *** [all-recursive] Ошибка 1 > make[1]: Leaving directory `/tmp/dbmail/dbmail-2.3.5' > make: *** [all] Ошибка 2 > > _______________________________________________ > DBmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
