Easiest way to compile dovecot on Ubuntu 14.04
Hello,
I need to recompile dovecot on ubuntu 14.04 What would be the easiest way to do this?
I am trying to follow this tutorial:- https://blog.vbonhomme.fr/add-full-text-search-fts-to-your-dovecot-using-sol...
When I run :- apt-get source dovecot Reading package lists... Done Building dependency tree Reading state information... Done NOTICE: 'dovecot' packaging is maintained in the 'Git' version control system at: git://git.debian.org/git/collab-maint/dovecot.git Need to get 5759 kB of source archives. Get:1 http://mirrors.gandi.net/ubuntu/ trusty-updates/main dovecot 1:2.2.9-1ubuntu2.1 (dsc) [3136 B] Get:2 http://mirrors.gandi.net/ubuntu/ trusty-updates/main dovecot 1:2.2.9-1ubuntu2.1 (tar) [4541 kB] Get:3 http://mirrors.gandi.net/ubuntu/ trusty-updates/main dovecot 1:2.2.9-1ubuntu2.1 (diff) [1215 kB] Fetched 5759 kB in 0s (8141 kB/s) sh: 1: dpkg-source: not found Unpack command 'dpkg-source -x dovecot_2.2.9-1ubuntu2.1.dsc' failed. Check if the 'dpkg-dev' package is installed. E: Child process failed
Any faster means? Also cant get dpkg-dev installed on my system.
Thanks Kevin
Zitat von Kevin Laurie <superinterstellar@gmail.com>:
Hello,
I need to recompile dovecot on ubuntu 14.04 What would be the easiest way to do this?
I am trying to follow this tutorial:- https://blog.vbonhomme.fr/add-full-text-search-fts-to-your-dovecot-using-sol...
Yes, there is a much, much faster way:
apt-get install dovecot-solr
14.04 LTS already provides a nifty binary package for it, no need to
compile it yourself. The blogger should have done his home work better.
Regards, Marc
Dear Marc. Thanks =) Already have dovecot-solr installed. Is there a way to see if dovecot-solr is actually working?
Thanks Kevin
On Fri, Jan 23, 2015 at 2:42 PM, Marc Stürmer <mail@marc-stuermer.de> wrote:
Zitat von Kevin Laurie <superinterstellar@gmail.com>:
Hello,
I need to recompile dovecot on ubuntu 14.04 What would be the easiest way to do this?
I am trying to follow this tutorial:- https://blog.vbonhomme.fr/add-full-text-search-fts-to-your- dovecot-using-solr-4-10-on-ubuntu-14-04/
Yes, there is a much, much faster way:
apt-get install dovecot-solr
14.04 LTS already provides a nifty binary package for it, no need to compile it yourself. The blogger should have done his home work better.
Regards, Marc
Am 23.01.2015 um 08:47 schrieb Kevin Laurie:
Dear Marc. Thanks =) Already have dovecot-solr installed. Is there a way to see if dovecot-solr is actually working?
Yes.
http://wiki2.dovecot.org/Plugins/FTS/Solr - look there at "Testing."
Use a mailbox for it with at least some megabytes of data. If you don't see then upgrade notices, it it not working yet.
The notices may look like this:
- OK Indexed 11% of the mailbox, ETA 1:12
- OK Indexed 30% of the mailbox, ETA 1:07
- OK Indexed 49% of the mailbox, ETA 0:52
- OK Indexed 61% of the mailbox, ETA 0:43
- OK Indexed 80% of the mailbox, ETA 0:22
- OK Mailbox indexing finished
- SEARCH 857 1486 1526 1544 1589 1590 1591 1608 1737 1753 2660 2864 3967 4124 4127 4129 4159 4235 4254 4273 4682 4683 4684 4685 4770 5132 5467 5470 5735 5788 5838 5903 5904 5905 5906 5907 5996 6024 6113 6144 1 OK Search completed (114.650 secs)
If you don't see those, enable debugging in dovecot.conf and then you need to further investigate on where there's the problem.
Dear Marc, Noted. I just found out on iRedmail the plugins need to be specified in dovecot.conf instead of dovecot/conf.d/90-plugin.conf . Making the changes now. Hopefully it should work. Will check out the testing page. Thanks Kevin
On Fri, Jan 23, 2015 at 3:18 PM, Marc Stürmer <mail@marc-stuermer.de> wrote:
Am 23.01.2015 um 08:47 schrieb Kevin Laurie:
Dear Marc.
Thanks =) Already have dovecot-solr installed. Is there a way to see if dovecot-solr is actually working?
Yes.
http://wiki2.dovecot.org/Plugins/FTS/Solr - look there at "Testing."
Use a mailbox for it with at least some megabytes of data. If you don't see then upgrade notices, it it not working yet.
The notices may look like this:
- OK Indexed 11% of the mailbox, ETA 1:12
- OK Indexed 30% of the mailbox, ETA 1:07
- OK Indexed 49% of the mailbox, ETA 0:52
- OK Indexed 61% of the mailbox, ETA 0:43
- OK Indexed 80% of the mailbox, ETA 0:22
- OK Mailbox indexing finished
- SEARCH 857 1486 1526 1544 1589 1590 1591 1608 1737 1753 2660 2864 3967 4124 4127 4129 4159 4235 4254 4273 4682 4683 4684 4685 4770 5132 5467 5470 5735 5788 5838 5903 5904 5905 5906 5907 5996 6024 6113 6144 1 OK Search completed (114.650 secs)
If you don't see those, enable debugging in dovecot.conf and then you need to further investigate on where there's the problem.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 23 Jan 2015, Kevin Laurie wrote:
sh: 1: dpkg-source: not found Unpack command 'dpkg-source -x dovecot_2.2.9-1ubuntu2.1.dsc' failed. Check if the 'dpkg-dev' package is installed. E: Child process failed
Any faster means? Also cant get dpkg-dev installed on my system.
Well, this is the Debian way, so why would dpkg-dev balk at installation? On Debian based machines, this should be the easiest way ;-)
=====
variant 2) Pull the sources from dovecot.org via tarball or mercurial. If you need Sieve and other plugins, I would not call this variant easier.
Then you have to option to
2a) try to apply the configuration from the Debian package to the source, in order to have a replacement for the original package, or
2b) create a new configuration from scratch with help from the Debian package, but to install into /usr/local or /opt.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVMH8Knz1H7kL/d9rAQJpNgf/eziZXNla+YGFd6JxC3OAarRsi22o+WYJ r0ElldVnpKsKlZrY3aHfXFSL0/Ij8sW9RQSRSTs1KvnY23F6UmDnZmU7+sfQBHXO MaSxVjPCNyI6CmLHPPQ4iKXJTWGAFCrfYDRTvHT0cra4UKqNPhUttWiYFUqo6s+a P42j5sax4RPG7Hb4MUXEaey4il183Fwm7Z5QjyuMKb0C8gjiK5GGPEXcQ4Tutauq 3uoZ5ScuNvExgL8teEk+JBPeKZmOQzyu1NRrLzqxFYx521CQgU3ttEP8x0PxG3Bz /ya2dCpnB1MZbDOXBhssqu5lKvzWKltjVHoCzJKrF0vP4x+EEunO3A== =k/gi -----END PGP SIGNATURE-----
Dear Steffen, Variant 2 does look more challenging but I don't think its necessary if dovecot-solr is already available and installed. I guess the problem is with something else. Thanks Kevin
On Fri, Jan 23, 2015 at 2:45 PM, Steffen Kaiser < skdovecot@smail.inf.fh-brs.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 23 Jan 2015, Kevin Laurie wrote:
sh: 1: dpkg-source: not found
Unpack command 'dpkg-source -x dovecot_2.2.9-1ubuntu2.1.dsc' failed. Check if the 'dpkg-dev' package is installed. E: Child process failed
Any faster means? Also cant get dpkg-dev installed on my system.
Well, this is the Debian way, so why would dpkg-dev balk at installation? On Debian based machines, this should be the easiest way ;-)
=====
variant 2) Pull the sources from dovecot.org via tarball or mercurial. If you need Sieve and other plugins, I would not call this variant easier.
Then you have to option to
2a) try to apply the configuration from the Debian package to the source, in order to have a replacement for the original package, or
2b) create a new configuration from scratch with help from the Debian package, but to install into /usr/local or /opt.
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVMH8Knz1H7kL/d9rAQJpNgf/eziZXNla+YGFd6JxC3OAarRsi22o+WYJ r0ElldVnpKsKlZrY3aHfXFSL0/Ij8sW9RQSRSTs1KvnY23F6UmDnZmU7+sfQBHXO MaSxVjPCNyI6CmLHPPQ4iKXJTWGAFCrfYDRTvHT0cra4UKqNPhUttWiYFUqo6s+a P42j5sax4RPG7Hb4MUXEaey4il183Fwm7Z5QjyuMKb0C8gjiK5GGPEXcQ4Tutauq 3uoZ5ScuNvExgL8teEk+JBPeKZmOQzyu1NRrLzqxFYx521CQgU3ttEP8x0PxG3Bz /ya2dCpnB1MZbDOXBhssqu5lKvzWKltjVHoCzJKrF0vP4x+EEunO3A== =k/gi -----END PGP SIGNATURE-----
participants (3)
-
Kevin Laurie
-
Marc Stürmer
-
Steffen Kaiser