Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Kdevelop 4.6.0 Fedora 20 does not work - please help #17

Open
bharrosh opened this issue Mar 19, 2014 · 6 comments
Open

Kdevelop 4.6.0 Fedora 20 does not work - please help #17

bharrosh opened this issue Mar 19, 2014 · 6 comments

Comments

@bharrosh
Copy link

Hi dear Alexandre, I hope this is the channel I'm suppose to use I could not find a mailing list or email for a short message.

I hack Linux Kernel code with Kdevelop for more then 7 years, started with kdev3. And today surprise I found your project. Which looks so cool.

I cmake, make, & sudo make install. Which all seem OK but reloading Kdevelop does not give me the extra project type as shown on web (and in read me). Please help me to try and debug this perhaps Fedora needs things in a different KDE directories.
Also do I need to see it in the settings/plugins list ? I do not. Where should I start looking to see what went wrong?

Thank you so much for doing this.
Best regards
Boaz ([email protected])

@bharrosh
Copy link
Author

OK so sorry for the noise I now see that I need to compile the kdevelop git tree first then use this plugin.

Again thanks for doing this. I'll check it out over the weekend see how it goes.
Thanks
Boaz

@ghost
Copy link

ghost commented Sep 18, 2014

I also would like to give this plug in a try.
But encounter the same as Boaz the OP.

Compiling has a warning, but continuous.

projects/kdev-kernel/kdevkernelconfigwidget.cpp:80:6: warning: unused parameter ‘project’ [-Wunused-parameter]
void KDevKernelConfigWidget::saveTo(KConfig *config, KDevelop::IProject *project)

but reloading KDevelop does not give me the extra project type.

Distro: OpenSUSE 3.1 with KDevelop4 (4.7.60git.1409010820-105.3)

Thanks for any help..
Mark

@Gnurou
Copy link
Owner

Gnurou commented Sep 19, 2014

Have you compiled KDevelop by yourself as explained in the README file? Have you run kbuildsycoca4 after installing the plugin?

@ghost
Copy link

ghost commented Nov 11, 2014

"Linux kernel project manager" is now available but craches kdevelop4 when selected.

Compiled kdevelop like this:

Open Suse 13.1 kdevelop4 + kernel module in $HOME/kdevelop4

zypper in libkde4-devel
zypper in libqt4-devel
zypper in grantlee-devel
zypper in libqjson-devel

Build kdevplatform version 1.6.90 git
mkdir -p $HOME/src/kdevplatform/build
cd $HOME/src/kdevplatform/build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/kdevelop4 ../
make
make install

Then compile KDevelop version 4.6.90 git
mkdir -p $HOME/src/kdevelop/build
cd $HOME/src/kdevelop/build
cmake -DCMAKE_PREFIX_PATH=$HOME/kdevelop4 -DCMAKE_INSTALL_PREFIX=$HOME/kdevelop4 ../
make
make install

Kernel plugin (git)
mkdir -p $HOME/src/kdev-kernel/build
cd $HOME/src/kdev-kernel/build
cmake -DCMAKE_PREFIX_PATH=$HOME/kdevelop4 -DCMAKE_INSTALL_PREFIX=$HOME/kdevelop4 ../
make
make install

export KDEDIRS=$HOME/kdevelop4:$KDEDIRS
kbuildsycoca4

$HOME/kdevelop4/bin/kdevelop

Crashdump: (http://pastebin.com/1ajd5Cmi)

@Gnurou
Copy link
Owner

Gnurou commented Nov 17, 2014

Hi,
The crash seems to be a bug in kdev-kernel. I have disabled the line that caused it. Can you try again with the latest tree?

Note that kdevplatform 1.7.0 and kdevelop 4.7 are the best suited for this plugin.

Once you have your kernel project created, go to the configuration box and select your kernel config file, then restart KDevelop. This is necessary for the right files to be parsed with the right defines. A little bit inconvenient, but I haven't found a way to do this smoothly yet. :(

@anoane
Copy link

anoane commented Mar 8, 2015

I got this warning when compiling (but it's successful):
/home/fabane/Scrivania/kdev-kernel-master/kdevkernelconfigwidget.cpp:80:74: warning: unused parameter ‘project’ [-Wunused-parameter]
void KDevKernelConfigWidget::saveTo(KConfig *config, KDevelop::IProject *project)

But plugin is still not loaded (I tryed both /usr/local + export KDEDIRS=$KDEDIRS:/usr/local + kbuildsycoca4, and /usr adding kdev-kernel compiled files to the same kdevelop files path).

I'm using Lubuntu 14.10 + kdevplatform 1.7.0 + kdevelop 4.7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants