|   Registered Member   
 | 
							hi guys,  I have two questions about building koffice on linux. I downloaded the source package and ran a configure --enable-debug=full on the top directory and it made a few Makefiles in several directories included the top one. Since I'm only interested in kword ( for now) and I only run the Makefile inside the kword directory, I expect the kword release and debug build to be located here. But I only see a release version of it and on top of that the dependancies aren't build correctly ( aren't build at all) I have to manually cd to the directory and run an make for every lib file. Koffice 1.6.3 on linux fedora 10. | 
|   KDE Developer   
 | 
							If you want to have debug build but in mode RelWithDebInfo, you can do this to install debug libs in Fedora: su - debuginfo-install koffice-kword Just an option not to compile it..   
								Daylight is coming... Krita developer | http://lukast.mediablog.sk/log | 
|   Registered Member   
 | 
							LukasT,  thanks for replying, but I forgot to mention that I've already installed koffice-debuginfo-1.6.3-24.20090306svn.fc10.i386 and unfortunately the command you supplied did not succeed. ( see output ) [admin@lorentz:~/koffice-1.6.3]$sudo debuginfo-install koffice-word [sudo] password for admin: Loaded plugins: refresh-packagekit fedora | 2.8 kB 00:00 updates | 3.4 kB 00:00 enabling fedora-debuginfo Reading repository metadata in from local files fedora-debuginfo | 2.2 kB 00:00 fedora-debuginfo/primary_db | 1.0 MB 00:02 enabling updates-debuginfo Reading repository metadata in from local files updates-debuginfo | 2.6 kB 00:00 updates-debuginfo/primary_db | 554 kB 00:01 No debuginfo packages available to install | 
|   KDE Developer   
 | 
							If you already have debuginfo, then you don't need anything else.  Why are you trying to compile KOffice 1.6 in debugfull? What is your goal? 
								Daylight is coming... Krita developer | http://lukast.mediablog.sk/log | 
|   Registered Member   
 | 
							well, actually I'm not trying to build the whole koffice suite but just kword. I want to debug a kword session and see how the code flows, because I need to do something simular. I always thought that it would be straight forward 1. configure with flags 2. make 3. debug a session.   | 
|   Moderator   
 | 
							Why don't you do that with kword 2.x ? You can find build instructions here: http://wiki.koffice.org/index.php?title ... ng_KOffice as well as instructions on how to compile only one specific application. (I think there was a similar configure option for 1.6, but I don't remember what it was)
						 | 
|   Registered Member   
 | 
							thank you for the advice. I followed it exactly like on the site is stated, but this is what I got  
 the libkwordpart.so is in my /home/admin/.kde4/lib/ directory and I added this directory to the LD_LIBRARY_PATH in the kword-shell script. Why can't it be found, it's there!  Edit:I did not install it yet, but that should be a problem......I guess 
								Last edited by xyfix on Tue Oct 06, 2009 7:45 am, edited 2 times in total.
								
							 | 
|   Moderator   
 | 
							you also need to set KDEDIRS and run kbuildsycoca4: http://wiki.koffice.org/index.php?title ... plications
						 | 
|   Registered Member   
 | 
							OK, I'm following the link exactly now on a open Suse machine ( I have also a fedora 10 machine). But this "zypper si -d koffice-devel"  does not work. 
 I did a ccmake . and turned of most of the packages ( except kword and a few others) and I supplied the "CMAKE_BUILD_TYPE" option with "Debug Release". Again I didn't install ( so no make install yet ), but then again I'm guessing that I should not have to since I want to change the code and build it again and test it. So installing it won't be necessary.....am I right?? But still the error from above and were is my debug version ? update: "ldd kword" tells me that all the library files are found | 
|   Registered Member   
 | 
							output of "strace kword"  
 Where is this file and why doesn't it get created when I do a "make -j 8 kword"? | 
|   Registered Member   
 | 
							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 
   | 
|   Registered Member   
 | 
							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. | 
|   Registered Member   
 | 
							With the help of the ccmake tool I am now able to get a debug build, just put Debug after the Build type.
						 | 
|   Moderator   
 | 
							Great ! Indeed the debug option is missing from the wiki, I am going to add that. Have fun with kword    | 
|   Registered Member   
 | 
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan
 
		 
		 
		 
		