[gentoo-user] Dovecot 2.1.3 fails to compile
With this error: In file included from /usr/include/CLucene/StdHeader.h:20:0, from /usr/include/CLucene.h:11, from lucene-wrapper.cc:23: /usr/include/CLucene/SharedHeader.h:18:36: fatal error: CLucene/clucene-config.h: No such file or directory compilation terminated. make[4]: *** [lucene-wrapper.lo] Error 1 make[4]: *** Waiting for unfinished jobs make[4]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src/plugins/fts-lucene' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3' make: *** [all] Error 2 * ERROR: net-mail/dovecot-2.1.3 failed (compile phase): * emake failed Any ideas?
Re: [gentoo-user] Dovecot 2.1.3 fails to compile
On Wed, 21 Mar 2012 08:38:42 -0400 Tanstaafl tansta...@libertytrek.org wrote: With this error: In file included from /usr/include/CLucene/StdHeader.h:20:0, from /usr/include/CLucene.h:11, from lucene-wrapper.cc:23: /usr/include/CLucene/SharedHeader.h:18:36: fatal error: CLucene/clucene-config.h: No such file or directory compilation terminated. make[4]: *** [lucene-wrapper.lo] Error 1 make[4]: *** Waiting for unfinished jobs make[4]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src/plugins/fts-lucene' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3' make: *** [all] Error 2 * ERROR: net-mail/dovecot-2.1.3 failed (compile phase): * emake failed Any ideas? Do you have dev-cpp/clucene installed? That missing header come from there. Dovecot does depend on (lucene ? =dev-cpp/clucene-2.3) so you should have it, I reckon I'd just remerge clucene then dovecot -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Dovecot 2.1.3 fails to compile
On 2012-03-21 10:23 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On Wed, 21 Mar 2012 08:38:42 -0400 Tanstaafl wrote: Do you have dev-cpp/clucene installed? That missing header come from there. Of course (I have the lucene USE flag set for dovecot): myhst : Wed Mar 21, 08:01:06 : ~ # equery list -p clucene * Searching for clucene ... [-P-] [ ] dev-cpp/clucene-0.9.21b-r1:1 [IP-] [ ] dev-cpp/clucene-2.3.3.4-r2:1 myhost : Wed Mar 21, 10:52:49 : ~ # Dovecot does depend on (lucene ?=dev-cpp/clucene-2.3) so you should have it, I reckon I'd just remerge clucene then dovecot When I tried updating dovecot, it *successfully* emerged the clucene update first (it was already installed), then the dovecot build failed with the error...
Re: [gentoo-user] Dovecot 2.1.3 fails to compile
On Wed, 21 Mar 2012 10:56:37 -0400 Tanstaafl tansta...@libertytrek.org wrote: On 2012-03-21 10:23 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On Wed, 21 Mar 2012 08:38:42 -0400 Tanstaafl wrote: Do you have dev-cpp/clucene installed? That missing header come from there. Of course (I have the lucene USE flag set for dovecot): myhst : Wed Mar 21, 08:01:06 : ~ # equery list -p clucene * Searching for clucene ... [-P-] [ ] dev-cpp/clucene-0.9.21b-r1:1 [IP-] [ ] dev-cpp/clucene-2.3.3.4-r2:1 myhost : Wed Mar 21, 10:52:49 : ~ # Dovecot does depend on (lucene ?=dev-cpp/clucene-2.3) so you should have it, I reckon I'd just remerge clucene then dovecot When I tried updating dovecot, it *successfully* emerged the clucene update first (it was already installed), then the dovecot build failed with the error... I see this end emerge world wants to update both packages here. I'll let them do their thing and see if I get the same results as you (might take a short while as there's a libreoffice update in the mix too...) -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Dovecot 2.1.3 fails to compile
On Wed, 21 Mar 2012 10:56:37 -0400 Tanstaafl tansta...@libertytrek.org wrote: On 2012-03-21 10:23 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On Wed, 21 Mar 2012 08:38:42 -0400 Tanstaafl wrote: Do you have dev-cpp/clucene installed? That missing header come from there. Of course (I have the lucene USE flag set for dovecot): myhst : Wed Mar 21, 08:01:06 : ~ # equery list -p clucene * Searching for clucene ... [-P-] [ ] dev-cpp/clucene-0.9.21b-r1:1 [IP-] [ ] dev-cpp/clucene-2.3.3.4-r2:1 myhost : Wed Mar 21, 10:52:49 : ~ # Dovecot does depend on (lucene ?=dev-cpp/clucene-2.3) so you should have it, I reckon I'd just remerge clucene then dovecot When I tried updating dovecot, it *successfully* emerged the clucene update first (it was already installed), then the dovecot build failed with the error... It's quite simple as it turns out. dev-cpp/clucene changed the name of /usr/include/CLucene/clucene-config.h to /usr/include/CLucene/CLConfig.h As a quick nasty test I made a symlink, but that produced a gigantic amount of build errors later on. I reckon you should file a bug and meanwhile downgrademask clucene -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Dovecot 2.1.3 fails to compile
On 2012-03-21 12:09 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Wed, 21 Mar 2012 10:56:37 -0400 Tanstaafl wrote: When I tried updating dovecot, it *successfully* emerged the clucene update first (it was already installed), then the dovecot build failed with the error... It's quite simple as it turns out. dev-cpp/clucene changed the name of /usr/include/CLucene/clucene-config.h to /usr/include/CLucene/CLConfig.h As a quick nasty test I made a symlink, but that produced a gigantic amount of build errors later on. I reckon you should file a bug and meanwhile downgrademask clucene Done: https://bugs.gentoo.org/show_bug.cgi?id=409205 Thanks! But I reckon if I'd have looked more closely, I could have figured that one out for myself - guess I'm just too used to *not* being able to figure these out myself... ;)
Re: [gentoo-user] Dovecot 2.1.3 fails to compile
On Wed, 21 Mar 2012 13:32:30 -0400 Tanstaafl tansta...@libertytrek.org wrote: On 2012-03-21 12:09 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Wed, 21 Mar 2012 10:56:37 -0400 Tanstaafl wrote: When I tried updating dovecot, it *successfully* emerged the clucene update first (it was already installed), then the dovecot build failed with the error... It's quite simple as it turns out. dev-cpp/clucene changed the name of /usr/include/CLucene/clucene-config.h to /usr/include/CLucene/CLConfig.h As a quick nasty test I made a symlink, but that produced a gigantic amount of build errors later on. I reckon you should file a bug and meanwhile downgrademask clucene Done: https://bugs.gentoo.org/show_bug.cgi?id=409205 Thanks! But I reckon if I'd have looked more closely, I could have figured that one out for myself - guess I'm just too used to *not* being able to figure these out myself... ;) No worries :-) But lets be honest, when you are faced with a zillion lines of gcc output and an error buried in there somewhere, it's not exactly a walk in the park to see what is going wrong. Today I just got lucky and just happened to see the right thing at the right time. -- Alan McKinnnon alan.mckin...@gmail.com