[Dovecot] Compiling from Mercurial

Daniel L. Miller dmiller at amfes.com
Fri Oct 15 21:31:55 EEST 2010


  Feeling greatly daring, I just tried compiling from the Mercurial 
source.  Steps included:

1.  download bz2 file from mercurial site
2.  unpack
3.  ./autogen.sh
4.  ./configure  --with-bzlib --with-zlib --with-ldap 
--enable-maintainer-mode
5. ./make

I receive the error:

Making all in master
make[3]: Entering directory `/opt/dovecot-2-0-7a839a028dfa/src/master'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src/lib 
-I../../src/lib-settings -I../../src/lib-master 
-DPKG_RUNDIR=\""/usr/local/var/run/dovecot"\" 
-DPKG_STATEDIR=\""/usr/local/var/lib/dovecot"\" 
-DPKG_LIBEXECDIR=\""/usr/local/libexec/dovecot"\" 
-DBINDIR=\""/usr/local/bin"\"   -std=gnu99 -g -O2 -Wall -W 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith 
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2    
-MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c:130: error: format string argument not a string type
make[3]: *** [main.o] Error 1

-- 
Daniel


More information about the dovecot mailing list