Oli Schacher
2010-Jan-05 13:36 UTC
[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
Michal Hlavinka
2010-Jan-05 13:53 UTC
[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 managesievetry to rebuild official src.rpm package for Fedora 12, not the one from atrpm, afaik it should work.
Angel Marin
2010-Jan-05 14:37 UTC
[Dovecot] Managesieve and Dovecot from ATRPM - Still no luck
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/
Stephan Bosch
2010-Jan-05 14:42 UTC
[Dovecot] Managesieve and Dovecot from ATRPM - Still no luck
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.14Compiling 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.
Seemingly Similar Threads
- Managesieve RC with dovecot 1.2.8 from atrpm
- Best practice for sieve script synchronization
- Released Pigeonhole Sieve v0.1.14 and ManageSieve v0.11.10 for Dovecot v1.2.9
- Released Pigeonhole Sieve v0.1.14 and ManageSieve v0.11.10 for Dovecot v1.2.9
- How to Restore emails