Re: [Dovecot] questions about compiling Sieve plugin

2009-05-04 Thread MercuryShadow

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.



Re: [Dovecot] questions about compiling Sieve plugin

2009-04-30 Thread MercuryShadow

The installed version is 1.0.rc15-2etch4, installed from the Debian
repositories.



Steffen Kaiser-9 wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Wed, 29 Apr 2009, MercuryShadow wrote:
> 
>> I'm not sure why some packages would depend on Lenny packages, since Etch
>> is
>> installed.  But then again I don't really know a lot about Debian since
>> most
>> of my experience is with RedHat.
> 
> I guess you've downloaded a Dovecot package for Lenny instead of Etch.
> Etch's version is pretty old anyway: v1.0.rc15.
> 
> Backports.org has v1.0.15 for Etch.
> 
> What version of Dovecot do you have installed and from where?
> 
> 
> 
> 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)
> 
> iQEVAwUBSflLSHWSIuGy1ktrAQLzwAf9E3Zq4vboywKXe9vV3G3d/kWsSGa6Br51
> 5wKrSAZgjDdz4dAhx5bzPbJIr0L6BY9+8XdE+1cO4IscxN5Gc7ExnV83Lct8maQr
> cqP/Q5pzo//yOKcEcv9vWOZYVwt1WXLBAInesM33WKe7JZPoyG0xSPNin3rJrjin
> luPUY4QQ5oBa2LKdqWYsKA1J0y4BHfu+Hz9I2xEjOlAxbKdWweVeqYsjOMhTAjyz
> K/GtdYlMaS9a+OVPNboLTpLyXMDdCjzpcS7HfIRWGFLsmcHDhgqDzDa1dOQ6M0s+
> jmJ/bYvtBUYNXcYANY9dxx49kyrz0JoDTu93Ye0Xd5r66S3o6TCbqw==
> =Z5f+
> -END PGP SIGNATURE-
> 
> 

-- 
View this message in context: 
http://www.nabble.com/questions-about-compiling-Sieve-plugin-tp23285989p23317230.html
Sent from the Dovecot mailing list archive at Nabble.com.



Re: [Dovecot] questions about compiling Sieve plugin

2009-04-29 Thread MercuryShadow

dpkg-checkbuilddeps: Unmet build dependencies: libpq-dev libmysqlclient15-dev
libkrb5-dev

libpq-dev depends on libkrb5-dev, which depends on:

The following packages have unmet dependencies.
  libkrb5-dev: Depends: libkrb53 (= 1.6.dfsg.4~beta1-5lenny1) but
1.4.4-7etch6 is to be installed
   Depends: libkadm55 (= 1.6.dfsg.4~beta1-5lenny1) but it is not
going to be installed

libmysqlclient15-dev has similar problems:

The following packages have unmet dependencies.
  libmysqlclient15-dev: Depends: libmysqlclient15off (>= 5.0.51a-24+lenny1)
but 5.0.32-7etch8 is to be installed
Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch9+b1
is to be installed


I'm not sure why some packages would depend on Lenny packages, since Etch is
installed.  But then again I don't really know a lot about Debian since most
of my experience is with RedHat.



Steffen Kaiser-9 wrote:
> 
> -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 
>>> dpkg-buildpackage -rfakeroot
> 
> will 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-
> 
> 

-- 
View this message in context: 
http://www.nabble.com/questions-about-compiling-Sieve-plugin-tp23285989p23302378.html
Sent from the Dovecot mailing list archive at Nabble.com.



Re: [Dovecot] questions about compiling Sieve plugin

2009-04-29 Thread MercuryShadow

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 
> 
> then:
> dpkg-buildpackage -rfakeroot
> 
> This command does a lot more, but you will have the compiled Dovecot and 
> anything else in the .
> 
> 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.



[Dovecot] questions about compiling Sieve plugin

2009-04-28 Thread MercuryShadow

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= 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.