[Dovecot] Managesieve and Dovecot from ATRPM - Still no luck
Hi list I'm still trying to get managesieve running on centos x64 with the packages from atrpm. I used the 1.2.9 rpms (also rebuilt with the lastet managesieve patches) but I'm always getting the same error when trying to compile managesieve:
./configure --with-dovecot=/usr/lib64/dovecot/ --with-dovecot-sieve=/work/dovecot-1.2-sieve-0.1.14
(no errors)
make
gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/dovecot
-I/usr/include/dovecot/src/lib -I/usr/include/dovecot/src/lib-dict
-I/usr/include/dovecot/src/lib-mail -I/usr/include/dovecot/src/lib-auth
-I/usr/include/dovecot/src/lib-index
-I/usr/include/dovecot/src/lib-storage
-DMODULEDIR=\""/usr/lib64/dovecot"\" -I../../src/lib-managesieve
-I../../src/lib-sievestorage -I/work/dovecot-1.2-sieve-0.1.14
-I/work/dovecot-1.2-sieve-0.1.14/src/lib-sieve -std=gnu99 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2
-I/usr/kerberos/include -MT main.o -MD -MP -MF .deps/main.Tpo -c -o
main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
make[3]: *** No rule to make target
/usr/include/dovecot/src/lib-storage/libstorage.a', needed by
managesieve'. Stop.
make[3]: Leaving directory
/work/dovecot-1.2-managesieve-0.11.10/src/managesieve' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
/work/dovecot-1.2-managesieve-0.11.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/dovecot-1.2-managesieve-0.11.10'
make: *** [all] Error 2
I probably need a hit with the cluebat here... could someone give me step-by-step instructions or is it a bad idea to use those rpms in the first place or...?
Thanks and happy new year! Oli
Hi list I'm still trying to get managesieve running on centos x64 with the packages from atrpm. I used the 1.2.9 rpms (also rebuilt with the lastet managesieve patches) but I'm always getting the same error when trying to compile managesieve
try to rebuild official src.rpm package for Fedora 12, not the one from atrpm, afaik it should work.
On 05/01/10 14:36, Oli Schacher wrote:
I'm still trying to get managesieve running on centos x64 with the packages from atrpm. I used the 1.2.9 rpms (also rebuilt with the lastet managesieve patches) but I'm always getting the same error when trying to compile managesieve:
try this ones:
http://permalink.gmane.org/gmane.linux.redhat.rpm.atrpms.devel/2035
BTW, dovecot-1.2.9-0_105 is already in atrpms repo, so you just need to rebuild dovecot-sieve-new and dovecot-managesieve.
-- Angel Marin http://anmar.eu.org/
Oli Schacher wrote:
Hi list I'm still trying to get managesieve running on centos x64 with the packages from atrpm. I used the 1.2.9 rpms (also rebuilt with the lastet managesieve patches) but I'm always getting the same error when trying to compile managesieve:
./configure --with-dovecot=/usr/lib64/dovecot/ --with-dovecot-sieve=/work/dovecot-1.2-sieve-0.1.14
Compiling against installed Dovecot is not possible for ManageSieve as it needs to link against the Dovecot libraries which are not installed for Dovecot v1.2 and older.
The configure script should have notified you about this restriction, but that check is missing. That is now fixed:
http://hg.rename-it.nl/dovecot-1.2-managesieve/rev/44121a99bf43
So, to resolve your situation point --with-dovecot= to a compiled Dovecot source tree as explained in the INSTALL/README file.
Regards,
Stephan.
So, to resolve your situation point --with-dovecot= to a compiled Dovecot source tree as explained in the INSTALL/README file.
That was it! I finally got it running by pointing configure to the rpm build dir instead of /usr/lib64/dovecot.
I'm also happy to see that Angel is building atrpm packages for dovecot sieve (maybe name them dovecot-sieve-pigeonhole/dovecot-sieve-cmu instead of dovecot-sieve-new? Probably less confusing )
Thanks everyone!
participants (4)
-
Angel Marin
-
Michal Hlavinka
-
Oli Schacher
-
Stephan Bosch