Can't build 3.9.98

Lene Preuss lene.preuss at googlemail.com
Fri Feb 19 12:23:37 UTC 2010


Hi devs,

I try to install the latest beta on Gentoo. I can't get it to compile
either via emerge nor manually.

Here is the error I get when I use "emerge kdevelop":

Scanning dependencies of target duchaintest
[ 49%] Building CXX object
languages/cpp/cppduchain/tests/CMakeFiles/duchaintest.dir/duchaintest_automoc.o

[ 50%] Building CXX object
languages/cpp/cppduchain/tests/CMakeFiles/duchaintest.dir/test_duchain.o
In file included from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4/ext/hash_map:64,
                 from
/var/tmp/portage/dev-util/kdevelop-3.9.98/work/kdevelop-3.9.98/languages/cpp/parser/parser.h:36,

                 from
/var/tmp/portage/dev-util/kdevelop-3.9.98/work/kdevelop-3.9.98/languages/cpp/cppduchain/tests/test_duchain.h:30,

                 from
/var/tmp/portage/dev-util/kdevelop-3.9.98/work/kdevelop-3.9.98/languages/cpp/cppduchain/tests/test_duchain.cpp:20:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4/backward/backward_warning.h:33:2:
warning: #warning This file includes at least one deprecated or
antiquated header which may be removed without further notice at a
future date. Please use a non-deprecated interface with equivalent
functionality instead. For a listing of replacement headers and
interfaces, consult the file backward_warning.h. To disable this warning
use -Wno-deprecated.
In file included from
/var/tmp/portage/dev-util/kdevelop-3.9.98/work/kdevelop-3.9.98/languages/cpp/cppduchain/tests/test_duchain.cpp:29:

/usr/include/kdevplatform/language/duchain/builders/abstractdeclarationbuilder.h:211:
warning: 'void KDevelop::AbstractDeclarationBuilder<T, NameT,
LanguageSpecificDeclarationBuilderBase>::closeDeclaration() [with T =
AST, NameT = NameAST, LanguageSpecificDeclarationBuilderBase =
TypeBuilder]' was hidden
/var/tmp/portage/dev-util/kdevelop-3.9.98/work/kdevelop-3.9.98/languages/cpp/cppduchain/declarationbuilder.h:122:
warning:   by 'virtual void DeclarationBuilder::closeDeclaration(bool)'
Linking CXX executable duchaintest
/usr/lib64/libkdevplatformlanguage.so.1.0.0: undefined reference to
`KDevelop::IDocumentController::openDocument(KUrl const&,
KTextEditor::Cursor const&,
QFlags<KDevelop::IDocumentController::DocumentActivation>, QString const&)'
collect2: ld returned 1 exit status

And this is what I get when I do it manually:

emerge -C kdevelop kdevplatform
cd kdevplatform-0.9.98/
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/
make && make install
export KDEDIRS=/usr/local:/usr
kbuildsycoca4
cd ../../kdevelop-3.9.98/
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/
make
[...]
Scanning dependencies of target cmakeprojectvisitortest
[ 71%] Building CXX object
projectmanagers/cmake/tests/CMakeFiles/cmakeprojectvisitortest.dir/cmakeprojectvisitortest_automoc.o
[ 72%] Building CXX object
projectmanagers/cmake/tests/CMakeFiles/cmakeprojectvisitortest.dir/cmake_cmakeprojectvisitor_test.o
Linking CXX executable cmakeprojectvisitortest
[ 72%] Built target cmakeprojectvisitortest
[ 72%] Built target kdevcustommakemanager_automoc
[ 74%] Built target kdevcustommakemanager
[ 74%] Built target gdbtest_automoc
Linking CXX executable gdbtest
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-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: *** [all] Error 2

What can I do?

Greets
Lene





More information about the KDevelop-devel mailing list