beta 6
Iman Brouwer
iman.brouwer at gmail.com
Mon Nov 2 17:08:11 UTC 2009
Hello,
I'm trying to compile the new beta6 which I just downloaded from one of the
ftp servers. I did run into the following errors when compiling, and then
running.
First i got the following compile error:
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:48:51:
error: too many decimal points in
number
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:56:51:
error: too many decimal points in
number
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:66:51:
error: too many decimal points in
number
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:48:
error: 'home' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:48:
error: 'brouwer' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:48:
error: 'kdevelop4' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:48:
error: 'kdevelop' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:48:
error: 'projectmanagers' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:48:
error: 'cmake' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:48:
error: 'tests' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:48:
error: 'manual' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:48:
error: expected primary-expression before '('
token
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:48:
error: expected primary-expression before '/'
token
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:56:
error: 'home' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:56:
error: 'brouwer' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:56:
error: 'kdevelop4' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:56:
error: 'kdevelop' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:56:
error: 'projectmanagers' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:56:
error: 'cmake' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:56:
error: 'tests' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:56:
error: 'manual' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:56:
error: expected primary-expression before '('
token
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:56:
error: expected primary-expression before '/'
token
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:66:
error: 'home' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:66:
error: 'brouwer' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:66:
error: 'kdevelop4' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:66:
error: 'kdevelop' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:66:
error: 'projectmanagers' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:66:
error: 'cmake' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:66:
error: 'tests' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:66:
error: 'manual' was not declared in this
scope
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:66:
error: expected primary-expression before '('
token
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp:66:
error: expected primary-expression before '/'
token
compile
error
command line: /usr/bin/g++ -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS
-DHAVE_CONFIG_H=1 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security
-fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual
-fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2
-DNDEBUG -DQT_NO_DEBUG
-I/home/brouwer/kdevelop4/gcc_kdevelop/projectmanagers/cmake/tests
-I/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests
-I/home/brouwer/kdevelop4/kdevelop-3.9.96
-I/home/brouwer/kdevelop4/gcc_kdevelop
-I/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/parser
-I/home/brouwer/kdevelop4/kdevelop-3.9.96/projectbuilders/cmakebuilder
-I/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake
-I/usr/include/KDE -I/usr/include/qt4/KDE -I/usr/include/qt4
-I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtHelp
-I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtDBus
-I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/Qt3Support
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt
-I/usr/share/qt4/mkspecs/default -I/usr/local/include/kdevplatform
-D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-DCMAKE_TESTS_PROJECTS_DIR="/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/manual"
-DKDESRCDIR="/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/"
-o CMakeFiles/cmakeloadprojecttest.dir/cmakeloadprojecttest.o -c
/home/brouwer/kdevelop4/kdevelop-3.9.96/projectmanagers/cmake/tests/cmakeloadprojecttest.cpp
make[2]: ***
[projectmanagers/cmake/tests/CMakeFiles/cmakeloadprojecttest.dir/cmakeloadprojecttest.o]
Error
1
make[1]: ***
[projectmanagers/cmake/tests/CMakeFiles/cmakeloadprojecttest.dir/all] Error
2
make[1]: *** Waiting for unfinished jobs....
My brute force solution was to comment out '#add_subdirectory(tests)' in
kdevelop-3.9.96/projectmanagers/cmake/CMakeLists.txt, after which it build
without complaining.
However, when I run kdevelop4 now, there is a segfault when pressing 'new
project from template'.
It's the first time i'm trying to compile kdevelop and I'm following the
compile instructions on
http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling on a
Kubuntu Karmic machine. Is there something I'm doing wrong?
Iman
P.S. A gdb backtrace on the core shows the following:
Program terminated with signal 11, Segmentation fault.
#0 0xfffffffffffffff0 in ?? ()
(gdb) bt
#0 0xfffffffffffffff0 in ?? ()
#1 0x00007ff3dc86bc71 in ProjectVcsPage (this=0x4728920,
controller=0x2c16b80, parent=<value optimized out>) at
/home/brouwer/kdevelop4/kdevplatform-0.9.96/plugins/appwizard/projectvcspage.cpp:53
#2 0x00007ff3dc866f67 in AppWizardDialog (this=0x7fff67193870,
pluginController=0x2c16b80, templatesModel=<value optimized out>,
parent=<value optimized out>, flags=<value optimized out>)
at
/home/brouwer/kdevelop4/kdevplatform-0.9.96/plugins/appwizard/appwizarddialog.cpp:31
#3 0x00007ff3dc8645f6 in AppWizardPlugin::slotNewProject
(this=0x7ff3e00311c0) at
/home/brouwer/kdevelop4/kdevplatform-0.9.96/plugins/appwizard/appwizardplugin.cpp:100
#4 0x00007ff3dc864780 in AppWizardPlugin::qt_metacall (this=0x7ff3e00311c0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value
optimized out>)
at
/home/brouwer/kdevelop4/gcc_kdevplatform/plugins/appwizard/appwizardplugin.moc:68
#5 0x00007ff3f7a67ddc in QMetaObject::activate(QObject*, int, int, void**)
() from /usr/lib/libQtCore.so.4
#6 0x00007ff3f6c9d0a7 in QAction::triggered(bool) () from
/usr/lib/libQtGui.so.4
#7 0x00007ff3f6c9e4ef in QAction::activate(QAction::ActionEvent) () from
/usr/lib/libQtGui.so.4
#8 0x00007ff3f708aecd in ?? () from /usr/lib/libQtGui.so.4
#9 0x00007ff3f7090dea in ?? () from /usr/lib/libQtGui.so.4
#10 0x00007ff3f82ac2be in KMenu::mouseReleaseEvent(QMouseEvent*) () from
/usr/lib/libkdeui.so.5
#11 0x00007ff3f6cf19c0 in QWidget::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#12 0x00007ff3f70935ab in QMenu::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#13 0x00007ff3f6ca2efc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007ff3f6caa011 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#15 0x00007ff3f81d9ab6 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#16 0x00007ff3f7a52c2c in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQtCore.so.4
#17 0x00007ff3f6ca98e0 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from
/usr/lib/libQtGui.so.4
#18 0x00007ff3f6d0fe2e in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007ff3f6d0eaa9 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/libQtGui.so.4
#20 0x00007ff3f6d37d0c in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007ff3f1255bbe in g_main_context_dispatch () from
/lib/libglib-2.0.so.0
#22 0x00007ff3f1259588 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007ff3f12596b0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#24 0x00007ff3f7a7b1a6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQtCore.so.4
#25 0x00007ff3f6d374be in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007ff3f7a51532 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#27 0x00007ff3f7a51904 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#28 0x00007ff3f7a53ab9 in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#29 0x00000000004051ee in main (argc=<value optimized out>, argv=<value
optimized out>) at /home/brouwer/kdevelop4/kdevelop-3.9.96/app/main.cpp:193
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20091102/4e54c52b/attachment.html>
More information about the KDevelop-devel
mailing list