Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdevelop4 from git vs dev-util/kdevelop-9999
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
greggel
n00b
n00b


Joined: 14 Nov 2004
Posts: 39
Location: Bonn/Germany

PostPosted: Tue Jun 08, 2010 11:49 am    Post subject: kdevelop4 from git vs dev-util/kdevelop-9999 Reply with quote

Hello, i have a strange Problem. Emerging kdevelop4 from kde-overlay dev-util/kdevelop-9999 ebuild is working. Compiling the sources from git, it crashes:

Code:
Scanning dependencies of target kdevqthelp                                     
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lKDE4Workspace__processui                                               
collect2: ld returned 1 exit status                                             
make[2]: *** [debuggers/gdb/gdbtest] Error 1                                   
make[1]: *** [debuggers/gdb/CMakeFiles/gdbtest.dir/all] Error 2                 
make[1]: *** Waiting for unfinished jobs....                                   
Linking CXX shared module ../../lib/kdevgdb.so                                 
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lKDE4Workspace__processui
collect2: ld returned 1 exit status
make[2]: *** [lib/kdevgdb.so] Error 1


Code:
$ emerge -pv kdevelop

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-util/kdevelop-9999  USE="cmake cxx qmake qthelp (-aqua) -debug (-kdeenablefinal)" 0 kB


Since a few days, i am running KDE-4.4.4, the compileerror exists since KDE-4.3. Googling around gave me nothing usefull :cry: It's a known bug https://bugs.gentoo.org/show_bug.cgi?id=272829, but IMHO it got too less attention.
What should i do?
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Jun 08, 2010 12:29 pm    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software, support questions about ebuilds from overlays belong in US.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
xibo
Apprentice
Apprentice


Joined: 21 Aug 2007
Posts: 152
Location: moving between kubuntu and ubuntu kde edition

PostPosted: Thu Jun 17, 2010 11:41 am    Post subject: Reply with quote

Quote:

collect2: ld returned 1 exit status
make[2]: *** [debuggers/gdb/gdbtest] Error 1
make[1]: *** [debuggers/gdb/CMakeFiles/gdbtest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX shared module ../../lib/kdevgdb.so
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lKDE4Workspace__processui
collect2: ld returned 1 exit status
make[2]: *** [lib/kdevgdb.so] Error 1


Hello,

I can't find the article on kdevelop.org right now but iirc that was introduced in may 2009 when kdevelop's gdb-frontend pulled in kdeworkspace ( or kdebase-workspace or whatever it's called ) dependencies and is caused by the gentoo build system installing kdeworkspace subprojects individually rather then all at once ( the "monolithic" way ). The repository's ebuild __fixes__ this by calling
Code:
sed -i -e 's/${KDE4WORKSPACE_PROCESSUI_LIBS}/processui/g' debuggers/gdb/CMakeLists.txt

before running cmake to configure kdevelop.

So, to compile kdevelop without emerge either install kdeworkspace on your own, too, or run that sed command in kdevelops main directory, or maybe it also works if you disable the debugging-frontend.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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