Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdepimlibs-4.8.0 not compilng
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
prr56
n00b
n00b


Joined: 23 May 2003
Posts: 65
Location: The Big Easy-New Orleans

PostPosted: Thu Jan 26, 2012 1:49 pm    Post subject: kdepimlibs-4.8.0 not compilng Reply with quote

I do not use akonadi hence my problem compiling kdepimlibs. I don't use anything associated with pimlibs-no kmail, kalender, etc. Is there a way to exclude those programs without borking my KDE install?

Error here:Linking CXX shared library ../lib/libkpimidentities.so
[ 73%] Building CXX object kioslave/imap4/CMakeFiles/kio_imap4.dir/imap4.o
/var/tmp/portage/kde-base/kdepimlibs-4.8.0/work/kdepimlibs-4.8.0/kioslave/imap4/imap4.cpp:1913:2: warning: #warning This is temporary since Dec 2000 and makes most of the below code invalid
[ 73%] Built target kpimidentities
Scanning dependencies of target kalarmcal
[ 73%] Building CXX object kabc/CMakeFiles/kabc.dir/emailselectdialog.o
[ 74%] Building CXX object kalarmcal/CMakeFiles/kalarmcal.dir/kalarmcal_automoc.o
[ 74%] Building CXX object kalarmcal/CMakeFiles/kalarmcal.dir/kacalendar.o
In file included from /var/tmp/portage/kde-base/kdepimlibs-4.8.0/work/kdepimlibs-4.8.0/kalarmcal/kacalendar.cpp:23:0:
/var/tmp/portage/kde-base/kdepimlibs-4.8.0/work/kdepimlibs-4.8.0/kalarmcal/kacalendar.h:31:32: fatal error: akonadi/collection.h: No such file or directory
compilation terminated.
make[2]: *** [kalarmcal/CMakeFiles/kalarmcal.dir/kacalendar.o] Error 1
make[1]: *** [kalarmcal/CMakeFiles/kalarmcal.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Back to top
View user's profile Send private message
ulenrich
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2010
Posts: 121

PostPosted: Thu Jan 26, 2012 4:39 pm    Post subject: Reply with quote

Consequtively test and look at ouput and test and eleminate USE flags, like this:

emerge --ask --depclean $(qlist -IC kdepim)
emerge --ask --depclean $(qlist -IC kdepim) akregator
emerge --ask --depclean $(qlist -IC kdepim) akregator knode

etc, until you reach your desired target, then answer Yes
_________________
fun2gen2
Back to top
View user's profile Send private message
Shamus397
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2005
Posts: 100
Location: Earth

PostPosted: Fri Jan 27, 2012 10:12 pm    Post subject: Reply with quote

Having the exact same error, and trying depclean does nothing to solve this. qlist -IC kdepim returns only kde-base/kdepimlibs, and depclean doesn't find anything to uninstall. There is nothing from kdepim installed on this machine either, because of -semantic-desktop.
Back to top
View user's profile Send private message
penguin swordmaster
Guru
Guru


Joined: 27 Jul 2010
Posts: 426

PostPosted: Fri Jan 27, 2012 10:28 pm    Post subject: Reply with quote

Quote:
I do not use akonadi hence my problem compiling kdepimlibs.

Exactly.
The workaround I used was to use the following command:
Code:

USE="semantic-desktop" emerge -uv kdepimlibs
emerge -v kdepimlibs
emerge -c

Everything is working here. There should be a bug about this.
_________________
There are 10 kinds of people. Those who can think in binary and those who can't.
Back to top
View user's profile Send private message
penguin swordmaster
Guru
Guru


Joined: 27 Jul 2010
Posts: 426

PostPosted: Fri Jan 27, 2012 10:37 pm    Post subject: Reply with quote

It was reported. It should work with your next emerge -sync https://bugs.gentoo.org/show_bug.cgi?id=400827
_________________
There are 10 kinds of people. Those who can think in binary and those who can't.
Back to top
View user's profile Send private message
Shamus397
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2005
Posts: 100
Location: Earth

PostPosted: Sat Jan 28, 2012 3:53 am    Post subject: Reply with quote

And the fix is in portage. Cheers! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum