Bug 99784 - kde crashes at startup when installed with prefix=/usr/local. it says something about QPaint: cannot paint null xpm and then kcrash runs
Summary: kde crashes at startup when installed with prefix=/usr/local. it says somethi...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.1.2
Platform: Mandrake RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 14:17 UTC by ori bar
Modified: 2005-02-22 15:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ori bar 2005-02-19 14:17:13 UTC
Version:           3.1.2 (using KDE KDE 3.2.3)
Installed from:    Mandrake RPMs
Compiler:          gcc 3.4.1 
OS:                Linux

kde crashes at startup when i used ./configure --prefix=/usr/local

it worked when i did not do it

i got some message about QPaint not being able to do something with a null pixmap and then i saw kcrash

according to the backtrace it's something like this:


...
KCrash::DefaultCrashHandler
.
.
.
XCreateGC
qsincos
Comment 1 Thiago Macieira 2005-02-19 17:27:20 UTC
KDE or KDevelop? If KDE, which KDE application?
Comment 2 ori bar 2005-02-19 19:25:42 UTC
kdevelop
Comment 3 ori bar 2005-02-19 19:27:27 UTC
KDevelop, sorry for the mistake, it's just kdevelop which crashes...

my guess is that it probably try to loads some KDE pixmap which was installed before kdevelop was, and it tries doing it from it's installtion directory instead of from the KDE directory, or something like that, then again, it just a guess since i have no idea about the inner workings of KDE.
Comment 4 Jens Dagerbo 2005-02-21 02:05:57 UTC
Try "export KDEDIRS=/usr/local"

This is a dupe, installation problem and a bug in Qt. :) (I'll try to find the other report tomorrow..)
Comment 5 ori bar 2005-02-21 09:41:10 UTC
no i do not understand something, is it a "must" to install kdevelop
to the KDE directory? or not? the thing is, my KDE directory is not
/usr/local, i want to use /usr/local in order to put programs which
are out of my distro in there, is that impossible to do?


On 21 Feb 2005 01:05:59 -0000, Jens Dagerbo <jens.dagerbo@swipnet.se> wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
> 
> http://bugs.kde.org/show_bug.cgi?id=99784
> 
> ------- Additional Comments From jens.dagerbo swipnet se  2005-02-21 02:05 -------
> Try "export KDEDIRS=/usr/local"
> 
> This is a dupe, installation problem and a bug in Qt. :) (I'll try to find the other report tomorrow..)
> 


Comment 6 Jens Dagerbo 2005-02-22 13:13:07 UTC
No, it's not a must at all, on the contrary. It DOES however need to be installed in a path that exists in $KDEDIRS.

Personally, I have KDE in /opt/kdehead and KDevelop in /home/jens/dev/install

my $KDEDIRS: /opt/kdehead:/home/jens/dev/install
and KDevelop build is configured with: --prefix=/home/jens/dev/install

That works, and you will avoid "the crash" (which comes from a missing pixmap, which causes QSplashScreen to crash).
Comment 7 ori bar 2005-02-22 15:37:58 UTC
i have been given the solution for this, which i will try in a few days (far frmo my machine), therefore i'm marking this as resolved