Paul, 

Trying to build dbmail 2.3.7. Interest is in getting a version with the bytea 
'hex' format and SSL'd daemons. 


We do have installations of both gmime-2.2 and 2.4, but are trying to specify 
build with gmime 2.4.17 (this tree is needed for dbmail 2.3.n, no?) 


Problem: Cannot seem to specify the 2.4 version of gmime with the ./configure 
script: 
(we've even tried moving/renaming the gmime-2.0 objects out of /usr/local/lib 
and /usr/local/includes) 


# ./configure \ 
CPPFLAGS='-I/usr/local/include/mutils -I/usr/local/ssl/include 
-I/usr/local/include/gmime-2.4/gmime' \ 
--with-pgsql \ 
--with-ldap=/usr/local \ 
--with-sieve=/usr/local \ 
--with-zdb=/usr/local 



DM_LOGDIR: /var/log 
DM_CONFDIR: /etc 
DM_STATEDIR: /var/run 
USE_DM_GETOPT: 1 
CFLAGS: -g -O2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/zdb -W -Wall 
-Wpointer-arith -Wstrict-prototypes 
GLIB: -L/usr/local/lib -lglib-2.0 -lintl 
GMIME: -L/usr/local/lib -lgmime-2.0 -lz -lsocket -lnsl -liconv -lgobject-2.0 
-lglib-2.0 -lintl 
SIEVE: -I/usr/local/include-L/usr/local/lib -lsieve 
LDAP: -I/usr/local/include-L/usr/local/lib -lldap 
SHARED: yes 
STATIC: no 
CHECK: no 
SOCKETS: 
MATH: -lm 
MHASH: -lmhash 
LIBEVENT: -levent 
OPENSSL: -lssl 
ZDB: -lzdb 


Pushing ahead 'brute force', the make command then chokes on altogether some 
other stuff: 


# make: 



In file included from sortnull.c:28: 
.../../src/dbmail.h:42:22: features.h: No such file or directory 
In file included from ../../src/dbmail.h:81, 
from sortnull.c:28: 
/usr/local/include/mutils/mhash.h:124: warning: function declaration isn't a 
prototype 
(...) 

In file included from ../../src/dbmail.h:124, 
from sortnull.c:28: 
.../../src/sort.h:30: error: syntax error before "DbmailMessage" 
.../../src/sort.h:30: warning: function declaration isn't a prototype 
In file included from ../../src/dbmail.h:125, 
from sortnull.c:28: 
.../../src/sortmodule.h:15: error: syntax error before "DbmailMessage" 
.../../src/sortmodule.h:15: warning: function declaration isn't a prototype 
In file included from ../../src/dbmail.h:129, 
from sortnull.c:28: 
.../../src/dm_iconv.h:29: error: syntax error before "iconv_t" 
.../../src/dm_iconv.h:29: warning: no semicolon at end of struct or union 
.../../src/dm_iconv.h:30: warning: type defaults to `int' in declaration of 
`from_db' 
.../../src/dm_iconv.h:30: warning: data definition has no type or storage class 
.../../src/dm_iconv.h:31: error: syntax error before "from_msg" 
.../../src/dm_iconv.h:31: warning: type defaults to `int' in declaration of 
`from_msg' 
.../../src/dm_iconv.h:31: warning: data definition has no type or storage class 
sortnull.c:43: error: syntax error before "DbmailMessage" 




Hmmm.... 
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to