Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to run Krita (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
thorwil
n00b
n00b


Joined: 20 Feb 2003
Posts: 28
Location: germany

PostPosted: Wed Jan 31, 2007 12:57 pm    Post subject: Trying to run Krita (solved) Reply with quote

I'm using Gnome and didn't have anything KDE related on my system, but want to try Krita.
9 packages smoothly build later, running 'krita' fails with:

Qt: Locales not supported on X server
Qt: Locales not supported on X server
kbuildsycoca running...
koffice (lib kofficecore): WARNING: Library files for ".la" not found in paths.

??


Last edited by thorwil on Thu Feb 01, 2007 6:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Wed Jan 31, 2007 3:39 pm    Post subject: Reply with quote

Install "gdb" and post the output of:
Code:
gdb `which krita`
run


Sveikinu
Arfrever
Back to top
View user's profile Send private message
thorwil
n00b
n00b


Joined: 20 Feb 2003
Posts: 28
Location: germany

PostPosted: Wed Jan 31, 2007 7:54 pm    Post subject: Reply with quote

So, building krita again, this time with debug.
I see a lot of:
libtool: link: warning: `/var/tmp/portage/app-office/krita-1.6.1/work/krita-1.6.1/lib/kofficeui/libkofficeui.la' seems to be moved

(still buidling)
Back to top
View user's profile Send private message
thorwil
n00b
n00b


Joined: 20 Feb 2003
Posts: 28
Location: germany

PostPosted: Wed Jan 31, 2007 8:14 pm    Post subject: Reply with quote

Now it's more wordy even without gdb:
Qt: Locales not supported on X server
Qt: Locales not supported on X server
kbuildsycoca running...
Reusing existing ksycoca
Invalid entry (missing '=') at /usr/share/applications/audacity.desktop:1
kio (KService*): WARNING: Invalid Service : /usr/share/applications/audacity.desktop
kio (KSycoca): ERROR: No database available!
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies undefined mimetype/servicetype 'application/x-extension-mp4'
... same complaint for many many .desktop files ...
koffice (lib kofficecore): WARNING: Library files for ".la" not found in paths.
Back to top
View user's profile Send private message
thorwil
n00b
n00b


Joined: 20 Feb 2003
Posts: 28
Location: germany

PostPosted: Wed Jan 31, 2007 8:16 pm    Post subject: Reply with quote

Code:
 $ gdb `which krita`
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-pc-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/krita
(no debugging symbols found)
...
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 10676)]
Qt: Locales not supported on X server
Qt: Locales not supported on X server
kbuildsycoca running...
koffice (lib kofficecore): WARNING: Library files for ".la" not found in paths.

Program exited with code 01.
(gdb)


Guess I would need to build some more stuff with debug to get something useful here
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Wed Jan 31, 2007 8:33 pm    Post subject: Reply with quote

Post the output of:
Code:
locale


Sveikinu
Arfrever
Back to top
View user's profile Send private message
thorwil
n00b
n00b


Joined: 20 Feb 2003
Posts: 28
Location: germany

PostPosted: Wed Jan 31, 2007 8:53 pm    Post subject: Reply with quote

Code:
$ locale
LANG=en_GB@euro
LC_CTYPE="en_GB@euro"
LC_NUMERIC="en_GB@euro"
LC_TIME="en_GB@euro"
LC_COLLATE="en_GB@euro"
LC_MONETARY="en_GB@euro"
LC_MESSAGES="en_GB@euro"
LC_PAPER="en_GB@euro"
LC_NAME="en_GB@euro"
LC_ADDRESS="en_GB@euro"
LC_TELEPHONE="en_GB@euro"
LC_MEASUREMENT="en_GB@euro"
LC_IDENTIFICATION="en_GB@euro"
LC_ALL=en_GB@euro
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Wed Jan 31, 2007 8:59 pm    Post subject: Reply with quote

Try:
Code:
LC_ALL="C" LANG="C" krita


Sveikinu
Arfrever
Back to top
View user's profile Send private message
thorwil
n00b
n00b


Joined: 20 Feb 2003
Posts: 28
Location: germany

PostPosted: Thu Feb 01, 2007 8:37 am    Post subject: Reply with quote

Now after a reboot, it runs just so. I have no clue why/what has changed. Didn't touch any configuration file.
Arfrever: Many thanks for your help, though :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum