Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Problem running Kdevelop 3.02
Hi!
I have successfully installed Kdevelop on my Linux RH WS3.0 machine. After make install everything was installed to /usr/local/kde. When I type /usr/local/kde/bin/develop I get an error
"unable to find plugins..
add Kdevelop to KDEDIRS env....
"
I don't know where kde is installed but if I do rpm -qa I get a list of files
My second question is where is this KDEDIRS variable set?
Thanks!
RE: Problem running Kdevelop 3.02
First thing to do is to see what is inside KDEDIRS. To do this open a console and type
|
Source code
|
1
|
echo $KDEDIRS
|
You can then add /usr/local/kde to that variable by writing:
|
Source code
|
1
|
export KDEDIRS=/usr/local/kde:$KDEDIRS
|
then try to start kdevelop from the same terminal. If it works, you have to set that var permanently by adding it to your shell profile (usually ~/.bash_profile or somewhere inside /etc/profile or /etc/profile.d/). Search the forum (for a "profile" statement) for details.
RE: Problem running Kdevelop 3.02
The problem (I forgot to mention) is that KDEDIRS returns nothing from a terminal window!
RE: Problem running Kdevelop 3.02
That doesn't matter. I have it empty too
Just put
|
Source code
|
1
|
export KDEDIRS=/usr/local/kde
|
into your profile and re-login.
RE: Problem running Kdevelop 3.02
THis does not work for me, what works is (in the .bashrc):
export KDEDIRS /usr/local/kde:/usr/kde
Next question is how can I run kdevelop from the menu?
RE: Problem running Kdevelop 3.02
This question is distribution dependant and has nothing to do with Qt or KDE. Different distros have their ways to add entries to menus. Basicly you should create a desktop entry, put kdevelop's path and icon in there and add it to menu or put it on your desktop.
If you have KDEDIRS set before KDE starts up (for example at the beginning of startkde), then it will very likely be in your menu automatically.
The make install usually installs a proper .desktop file into the proper location.
Cheers,
_
Qt/KDE Developer
Debian User