FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 03-21-2012, 11:38 AM
Tanstaafl
 
Default 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?
 
Old 03-21-2012, 01:23 PM
Alan McKinnon
 
Default Dovecot 2.1.3 fails to compile

On Wed, 21 Mar 2012 08:38:42 -0400
Tanstaafl <tanstaafl@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.mckinnon@gmail.com
 
Old 03-21-2012, 01:56 PM
Tanstaafl
 
Default Dovecot 2.1.3 fails to compile

On 2012-03-21 10:23 AM, Alan McKinnon <alan.mckinnon@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...
 
Old 03-21-2012, 02:53 PM
Alan McKinnon
 
Default Dovecot 2.1.3 fails to compile

On Wed, 21 Mar 2012 10:56:37 -0400
Tanstaafl <tanstaafl@libertytrek.org> wrote:

> On 2012-03-21 10:23 AM, Alan McKinnon <alan.mckinnon@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.mckinnon@gmail.com
 
Old 03-21-2012, 03:09 PM
Alan McKinnon
 
Default Dovecot 2.1.3 fails to compile

On Wed, 21 Mar 2012 10:56:37 -0400
Tanstaafl <tanstaafl@libertytrek.org> wrote:

> On 2012-03-21 10:23 AM, Alan McKinnon <alan.mckinnon@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 downgrade&mask clucene


--
Alan McKinnnon
alan.mckinnon@gmail.com
 
Old 03-21-2012, 04:32 PM
Tanstaafl
 
Default Dovecot 2.1.3 fails to compile

On 2012-03-21 12:09 PM, Alan McKinnon <alan.mckinnon@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 downgrade&mask 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...
 
Old 03-21-2012, 07:27 PM
Alan McKinnon
 
Default Dovecot 2.1.3 fails to compile

On Wed, 21 Mar 2012 13:32:30 -0400
Tanstaafl <tanstaafl@libertytrek.org> wrote:

> On 2012-03-21 12:09 PM, Alan McKinnon <alan.mckinnon@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 downgrade&mask 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.mckinnon@gmail.com
 

Thread Tools




All times are GMT. The time now is 02:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org