You are not logged in.

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.

1

Thursday, December 9th 2004, 9:36am

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!

wysota

Trainee

Posts: 65

Location: Warsaw, POLAND

  • Send private message

2

Thursday, December 9th 2004, 9:43am

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.
Live and let live - use the search engine.
"Use the docs Luke, use the docs!"

3

Thursday, December 9th 2004, 9:50am

RE: Problem running Kdevelop 3.02

The problem (I forgot to mention) is that KDEDIRS returns nothing from a terminal window!

wysota

Trainee

Posts: 65

Location: Warsaw, POLAND

  • Send private message

4

Thursday, December 9th 2004, 10:18am

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.
Live and let live - use the search engine.
"Use the docs Luke, use the docs!"

5

Thursday, December 9th 2004, 12:04pm

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?

wysota

Trainee

Posts: 65

Location: Warsaw, POLAND

  • Send private message

6

Thursday, December 9th 2004, 1:35pm

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.
Live and let live - use the search engine.
"Use the docs Luke, use the docs!"

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

7

Thursday, December 9th 2004, 2:08pm

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