KDE Developer
|
Yes, you need to remove not just krita, but everything that smells of KOffice.
|
Registered Member
|
Hello! I have:
1. Followed the instructions at first 2. Noticed that "krita" still didn't start krita/trunk 3. Saw that I had to purge Krita and Koffice 4. sudo apt-get purge Krita && sudo apt-get purge Koffice 5. Compilation seemed to have gone fine 6. Krita trunk started up fine 7. As soon as I select a template (any template, I tried several), Krita crashes Debug log (I didn't submit the bug report yet since it's trunk, but should I submit it?) gave the following:
Incidentally, the last log from the command line before the crash was:
Any ideas? Thanks! |
KDE Developer
|
I'm afraid your compiled Krita is still finding KOffice stuff in /usr
/usr/lib/kde4/defaulttools.so Or did you install your compiled Krita to /usr ? |
Registered Member
|
I guess I'm not sure if I compiled Krita to /usr, I followed the instructions in this thread.
So, do I remove /usr/lib/kde4/defaulttools.so manually, or is there something else I need to do? Thank you very much! Edit: do I also remove /usr/lib/kde4/spacenavigator.so ? I'm using Gnome with Ubuntu by the way, so I don't strictly need more kde4 files. Edit 2: I've tried moving /usr/lib/kde4, but now compiling won't work:
Did I forget to download something? I tried re-tracing the instructions, but the only step I seem to have missed is checking "Backported packages ( backport)" in ->Settings->Repositories in Synaptic package manager (the line wasn't there). |
Registered Member
|
The koffice-libs package is probably still installed. Romoving it should remove all the conflicting files (the list of files contained by koffice-libs are there http://packages.ubuntu.com/lucid/i386/k ... s/filelist).
|
Registered Member
|
Thank you very much! It seems to work now.
The new brushes are amazing! I'll be sure to test them out! |
Registered Member
|
*sniffs armpits...* Nope. *phew!* *enters sudo apt-get purge koffice-data koffice* That did the trick (well, with a kbuildsycoca4 it did). Thanks everyone! Looking forward to playing with all the new Krita hotness you've all been adding! |
Registered Member
|
I updated the first post for the clean step by step for a Ubuntu Lucid Lynx compilation of last Krita.
|
Registered Member
|
Hmmm... looks like this runs into a problem on Kubuntu Lucid if the PPA with KDE 4.5 is being used. Specifically it runs into:
Trying to install the earlier, needed version of libkdcraw8 fails as the package manager detects there is a newer version (with 4.5.1) available and so skips downloading the one you need. The only way around this I can see is to manually download the 4.4.2 version and pin it... which seems like a lot of effort right now to figure out. |
Registered Member
|
I found a solution to the problem in the post above:
Replace this:
With this:
The script also seems to be missing the command to create koffice-src which I did manually. Maybe the first post could be updated with these two things, as I suspect a very large number of people running Kubuntu will also be running the PPA that caused the problem for me. Cheers! |
Registered Member
|
i have exactly this problem and thanks to you konsole is now compiling krita and karbon,but what about the other koffice programs? i'm running lucid lynx with kde 4.5.1 |
Registered Member
|
Simple, just open the build script (koinstall.sh) in kate and edit the line that says:
For example, if you want to also build kword, change _kword=off to _kword=on Then just run the script again, and wait. Depending on what you choose to compile, you may need some other dependencies installed on your machine. If you get any errors, post here or on IRC and someone will be able to help. |
Registered Member
|
oh is it so simple? great, i tought it was en error caused by the fact that sudo apt-get build-dep koffice command couln't be executed (for the dependency problem) thank for your help and also to the author of the thread |
Registered Member
|
Editing that one line is just to enable building other Koffice apps (eg Kword, Kspread). To get around apt-get build-dep koffice breaking, you still need to use the line that installs a bunch of packages just above. |
Registered Member
|
got en error after kbuildsycoca4 command, that's the output:
|
Registered users: Bing [Bot], gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]