Welcome to the KDE Community Forums, the official forum board for KDE.
You are currently viewing the forums as an unregistered user. Registration allows you to post and discuss topics, receive private messages, vote on ideas, subscribe to topics and many such great features. Registration is a simple process and completely free. So register now and be a part of the community!
You are currently viewing the forums as an unregistered user. Registration allows you to post and discuss topics, receive private messages, vote on ideas, subscribe to topics and many such great features. Registration is a simple process and completely free. So register now and be a part of the community!
debug build Koffice
16 posts • Page 2 of 2
• 1, 2
Re: debug build Koffice
OK, it seemed that the libkwordprivate.so.5 was build when I did a "make -j 8 kword" in the top build directory. So I did a make in the kword directory, which did result in a libkwordprivate.so.5 in the $HOME/build/lib directory. But now I get
and I get a fatal error when running kword

- Code: Select all
~/koffice-2.0/build/kword/part ]$ ./kword.shell
kword(12352)/koffice (lib komain) KoDocument::readNativeService: "kwordpart.desktop" found.
kword: symbol lookup error: /home/admin/koffice-2.0/build/lib/./libkomain.so.5: undefined symbol: _Z13qFlagLocationPKc
and I get a fatal error when running kword
- Code: Select all
This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.
[?1034h[Thread debugging using libthread_db enabled]
0xffffe430 in __kernel_vsyscall ()
[Current thread is 1 (Thread 0xb5a66700 (LWP 12353))]
Thread 1 (Thread 0xb5a66700 (LWP 12353)):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0xb675de60 in nanosleep () from /lib/libc.so.6
#2 0xb675dc6e in sleep () from /lib/libc.so.6
#3 0xb710661a in ?? () from /usr/lib/libkdeui.so.5
#4 0xb710704c in KCrash::defaultCrashHandler(int) () from /usr/lib/libkdeui.so.5
#5 <signal handler called>
#6 QString::operator= (this=0xbfacb378, other=@0x35) at tools/qstring.cpp:1129
#7 0xb71bcb33 in ?? () from /usr/lib/libkdeui.so.5
#8 0xb71ac078 in KXMLGUIClient::findMostRecentXMLFile(QStringList const&, QString&) () from /usr/lib/libkdeui.so.5
#9 0xb6e70972 in KoMainWindow::KoMainWindow(KComponentData const&) () from /home/admin/koffice-2.0/build/lib/libkomain.so.5
#10 0xb6e7848d in KoApplication::start() () from /home/admin/koffice-2.0/build/lib/libkomain.so.5
#11 0xb80b5e23 in kdemain () from /home/admin/koffice-2.0/build/lib/libkdeinit4_kword.so
#12 0x080487e6 in main ()

Re: debug build Koffice
EUREKA !! it works
. I did an install and added the install directory to the KDEDIRS environment variable and ran kbuildsycoca4. But one question though : how do I get a debug version with debug flags?
thank you, guys.
. I did an install and added the install directory to the KDEDIRS environment variable and ran kbuildsycoca4. But one question though : how do I get a debug version with debug flags?thank you, guys.
Re: debug build Koffice
With the help of the ccmake tool I am now able to get a debug build, just put Debug after the Build type.
Re: debug build Koffice
Great ! Indeed the debug option is missing from the wiki, I am going to add that. Have fun with kword 

Cyrille Berger
Krita developer, KOffice release coordinator
Krita developer, KOffice release coordinator
Re: debug build Koffice
thanks cyrille for your help.
Re: debug build Koffice
OK, I previously wrote that I managed to build a debug version of kword (koffice-2.0), but I can't seem to build the debug version of kword (koffice-1.6.3 shipped with OpenSuse 11.1) although I run configure --enable-debug=full it just doesn't do it, I just get the release version.
Can somebody comment on this please?
Can somebody comment on this please?
16 posts • Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest

Search
FAQ
Policy
KDE.org
KDE.news
Planet KDE
More 