Hi,

trying to get off-line IMAP up and running (on RedHat 7.0/i386). Tried
isync, but it unfortunately use maildir format for mailboxes (I prefer
standard mbox). So, I found a mailsync (on
http://mailsync.sourceforge.net). However, I have no success with its
compilation. First, I tried to compile it with imap-devel-2001.3 package
by setting up particular variables to /usr/include, but it failed saying 
that it is not possible *or, and *not in the names of variables  with
C++. Therefore, I tried to compile original c-library from
imap-2001.BETA.SNAP-0107221451 from UW IMAP homepage. No, success (the 
same mistake -- only it complained also about *and, to make it complete 
:-).

Does anybody have succeeded with compilation of mailsync and could he 
send me working .src.rpm, please? Or would anybody advice, what should 
I do to be able to compile (preferably, over imap-devel) mailsync? Or 
is it possible to persuade insync to use mbox folders?

                    Thank you very much

                                Matej Cepl

g++ -g -I../imap-2001.BETA.SNAP-0107221451/c-client -g -fno-omit-frame-pointer -O6    
-c -o mailsync.o mailsync.c
In file included from mailsync.c:17:
../imap-2001.BETA.SNAP-0107221451/c-client/c-client.h:27:9: "and" cannot be used as a 
macro name in C++
../imap-2001.BETA.SNAP-0107221451/c-client/c-client.h:28:9: "or" cannot be used as a 
macro name in C++
../imap-2001.BETA.SNAP-0107221451/c-client/c-client.h:29:9: "not" cannot be used as a 
macro name in C++
make: *** [mailsync.o] Error 1

Reply via email to