I'm using the info on the wiki to try to compile the sieve plugin for dovecot on a server running Debian Etch, but I'm getting nowhere because I'm stuck trying to find the directory to use in the "--with-dovecot=" argument when running the configure script. The wiki says: Compilation is identical among the CMUSieve and the new Sieve plugin. Use --with-dovecot=<path> to point to dovecot-config file's directory. There are two possibilities where this could exist: 1. If you configured Dovecot with --enable-header-install, you'll have dovecot-config installed in $prefix/lib/dovecot/ directory. 2. Compiled Dovecot sources' root directory. The problem is that there is no such file called "dovecot-config" on the server, and dovecot was installed from the Debian repositories, not compiled. There is no /usr/lib/dovecot or /usr/local/lib/dovecot. I figured that, as is the case with many Debian packages, the libraries needed to compile would be included in a "dovecot-dev" package, but I checked and there is no such package in the Debian repos. Does anyone know what I need to do in order to get this plugin compiled? -- View this message in context: http://www.nabble.com/questions-about-compiling-Sieve-plugin-tp23285989p23285989.html Sent from the Dovecot mailing list archive at Nabble.com.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 28 Apr 2009, MercuryShadow wrote:> I figured that, as is the case with many Debian packages, the libraries > needed to compile would be included in a "dovecot-dev" package, but I > checked and there is no such package in the Debian repos.Get Debian source packages of Dovecot, cd /tmp sudo apt-get source dovecot sudo apt-get build-dep dovecot cd <dir> then: dpkg-buildpackage -rfakeroot This command does a lot more, but you will have the compiled Dovecot and anything else in the <dir>. Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSff6mnWSIuGy1ktrAQKB9wgAiFUIDiUhOBgsq6NwktbCokeUSx+o7oah lO2Tfc7xbDNHzEynmDoc2AwRbsiiNelKLLZgihemlItQtKHJT2fYaUAd7RM1plQ8 c6wbseJ2oy3Gfls9sBQNNQt0dY1Eo5vjGn2J9e2Mx3CUO5VkJA+WWFJT7sVTNZXm 4WUJ8BaoLhwwYb7tRgUu0KyTOIAId6dk2hwSjeI4j6Amr89pdafODmgxULoE+prJ jk5WWKVVh3lmUNSgpmJOiXpD3DqOIwgP4gWj8RVy3Px5tFCwBma8Rfeh0/UbS3B4 kgSs6ATBTDfaAbgVgxy/rLJvLlFpqeVpf8YearkH8KNEABCVjlnPFg==DcKH -----END PGP SIGNATURE-----
The build-dep step failed: mail:/tmp# apt-get build-dep dovecot Reading package lists... Done Building dependency tree... Done E: Build-dependencies for dovecot could not be satisfied. Steffen Kaiser-9 wrote:> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 28 Apr 2009, MercuryShadow wrote: > >> I figured that, as is the case with many Debian packages, the libraries >> needed to compile would be included in a "dovecot-dev" package, but I >> checked and there is no such package in the Debian repos. > > Get Debian source packages of Dovecot, > > cd /tmp > sudo apt-get source dovecot > sudo apt-get build-dep dovecot > > cd <dir> > > then: > dpkg-buildpackage -rfakeroot > > This command does a lot more, but you will have the compiled Dovecot and > anything else in the <dir>. > > Bye, > > - -- > Steffen Kaiser > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iQEVAwUBSff6mnWSIuGy1ktrAQKB9wgAiFUIDiUhOBgsq6NwktbCokeUSx+o7oah > lO2Tfc7xbDNHzEynmDoc2AwRbsiiNelKLLZgihemlItQtKHJT2fYaUAd7RM1plQ8 > c6wbseJ2oy3Gfls9sBQNNQt0dY1Eo5vjGn2J9e2Mx3CUO5VkJA+WWFJT7sVTNZXm > 4WUJ8BaoLhwwYb7tRgUu0KyTOIAId6dk2hwSjeI4j6Amr89pdafODmgxULoE+prJ > jk5WWKVVh3lmUNSgpmJOiXpD3DqOIwgP4gWj8RVy3Px5tFCwBma8Rfeh0/UbS3B4 > kgSs6ATBTDfaAbgVgxy/rLJvLlFpqeVpf8YearkH8KNEABCVjlnPFg=> =DcKH > -----END PGP SIGNATURE----- > >-- View this message in context: http://www.nabble.com/questions-about-compiling-Sieve-plugin-tp23285989p23295880.html Sent from the Dovecot mailing list archive at Nabble.com.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 29 Apr 2009, MercuryShadow wrote:> The build-dep step failed: > > mail:/tmp# apt-get build-dep dovecot > Reading package lists... Done > Building dependency tree... Done > E: Build-dependencies for dovecot could not be satisfied.Do you fetch the source packages from backports or something? Or use packages of another Debian version?>> cd <dir> >> dpkg-buildpackage -rfakerootwill tell you what dependencies are missing. Maybe you can handle them manually. then: debian/rules build Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSfhli3WSIuGy1ktrAQK3/wgAvBW5GljZPB6j0C+pSQ3iUs7eWHcEDGYA PRbKT2BgmBx21rJcIjt3/7WIOiyG1SGQLJujqlx8de5P1peQp5piHzRgkNgzNdsA 3qWLg+gto+3G+zj9zuC+o1fbMuwssCQ2fXOvnf2emeFC2/UZ3653VnRJjJgaKdXw Oe+ZF2Y65eYch2JnfUFhGAvNMt05bGSaMjpvKJE83h0xvdwpAsyVKRlckF+7Vsq6 4cY7Muu9Nt3daIW8mZG0OUkSNwef228QSwEHFSoWUDpmOj5uFQq1d6eoruJTp47c 9OMtMjS88vImYoCE3MsQynZupSnnOsCR7JA4I0AgVWI9fpk9LTBvlQ==b7T+ -----END PGP SIGNATURE-----
Here are the three lines in my sources.list: deb http://http.us.debian.org/debian/ etch main deb-src http://http.us.debian.org/debian/ etch main deb http://security.debian.org/ stable/updates main contrib non-free "contrib" and "non-free" appear to be present already. Steffen Kaiser-9 wrote:> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thu, 30 Apr 2009, MercuryShadow wrote: > >> The installed version is 1.0.rc15-2etch4, installed from the Debian >> repositories. > > Uff, maybe you need "non-free" and "contrib" sections in sources.list. > I tried on Etch myself with success. > >>> Anyway, you can easily try to install any older library, which provides >>> the development files for the particular dependency, because your goal >>> is >>> just to compile Dovecot in order to get lib-sieve compiled. >>> >>> then run debian/rules build > > Bye, > > - -- > Steffen Kaiser > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iQEVAwUBSf6UD3WSIuGy1ktrAQI/gggAwMNbq+QChm0ge1Yzk5fjZSuv4IrPVmKq > usOWAtBoLFFEbC624XhdiVO1iFRCPminF87YxxDpmX0TIYwIIOmFiB4fSLWYNC2n > Hy/T209A9ZTbfFEOHFG+F9nW5Tq2Dm5u02bEiHBGD0i4I7zTwvn1/qG/SMUmWxPF > F7Mn4BjClWNYiZP2/PaZAcgXIVzeZrCEq4Y+eA6mOat6D9maV83TbY//OvEr4rcF > 8BWkvpNrGrxX7FpfS9Y4sU6Ai+SDffLaNHzIr5aZBTpO73hb6Dy3o3/ZBxeBU+vs > OZL2prZamqdOe7dYWwB5jc4Py0GIEwtx+LQcLY3xWKcToNUkyKYiiw=> =plGl > -----END PGP SIGNATURE----- > >-- View this message in context: http://www.nabble.com/questions-about-compiling-Sieve-plugin-tp23285989p23374070.html Sent from the Dovecot mailing list archive at Nabble.com.