LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-28-2006, 09:32 PM   #1
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
Kickoff A New KDE Menu For Debian?


Hi I am trying to install Kickoff The KDE KMenu replacement in Debian Sid/Kanotix from SVN. I managed to download everything OK and ./configure seemed to go fine - once I had installed all of the appropriate tools and libraries.

After running ./configure (which I ran with no additional options - as I was unsure of what options if any to use) I ran checkinstall to build a Debian based package and this seemed to get really quite far, right up to near the end of 'make install'.

However somewhere near what must be the end of the process (since it took a long time) I got the following error:

Code:
/usr/bin/install -c -p -m 644 'aurora.svgz.desktop' '/usr/share/wallpapers/aurora.svgz.desktop'
 /usr/bin/install -c -p -m 644 'celtic.svgz' '/usr/share/wallpapers/celtic.svgz'
 /usr/bin/install -c -p -m 644 'celtic.svgz.desktop' '/usr/share/wallpapers/celtic.svgz.desktop'
 /usr/bin/install -c -p -m 644 'globe.svgz' '/usr/share/wallpapers/globe.svgz'
 /usr/bin/install -c -p -m 644 'globe.svgz.desktop' '/usr/share/wallpapers/globe.svgz.desktop'
 /usr/bin/install -c -p -m 644 'here-gear.svgz' '/usr/share/wallpapers/here-gear.svgz'
 /usr/bin/install -c -p -m 644 'here-gear.svgz.desktop' '/usr/share/wallpapers/here-gear.svgz.desktop'
 /usr/bin/install -c -p -m 644 'konqui.svgz' '/usr/share/wallpapers/konqui.svgz'
 /usr/bin/install -c -p -m 644 'konqui.svgz.desktop' '/usr/share/wallpapers/konqui.svgz.desktop'
 /usr/bin/install -c -p -m 644 'lineart.svgz' '/usr/share/wallpapers/lineart.svgz'
 /usr/bin/install -c -p -m 644 'lineart.svgz.desktop' '/usr/share/wallpapers/lineart.svgz.desktop'
 /usr/bin/install -c -p -m 644 'moon.svgz' '/usr/share/wallpapers/moon.svgz'
 /usr/bin/install -c -p -m 644 'moon.svgz.desktop' '/usr/share/wallpapers/moon.svgz.desktop'
make[3]: Leaving directory `/home/raid517/suse_kickoff/pics/wallpapers'
make[2]: Leaving directory `/home/raid517/suse_kickoff/pics/wallpapers'
make[2]: Entering directory `/home/raid517/suse_kickoff/pics'
make[3]: Entering directory `/home/raid517/suse_kickoff/pics'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/raid517/suse_kickoff/pics'
make[2]: Leaving directory `/home/raid517/suse_kickoff/pics'
make[1]: Leaving directory `/home/raid517/suse_kickoff/pics'
Making install in konqueror
make[1]: Entering directory `/home/raid517/suse_kickoff/konqueror'
Making install in .
make[2]: Entering directory `/home/raid517/suse_kickoff/konqueror'
make[3]: Entering directory `/home/raid517/suse_kickoff/konqueror'
test -z "/usr/lib" || mkdir -p -- "/usr/lib"
 /bin/sh ../libtool --silent --mode=install /usr/bin/install -c -p  'libkdeinit_konqueror.la' '/usr/lib/libkdeinit_konqueror.la'
PATH="$PATH:/sbin" ldconfig -n /usr/lib
test -z "/usr/bin" || mkdir -p -- "/usr/bin"
  /bin/sh ../libtool --silent --mode=install /usr/bin/install -c -p  'konqueror' '/usr/bin/konqueror'
/bin/sh ../admin/mkinstalldirs /usr/share/apps/konqueror/profiles
/usr/bin/install -c -p -m 644 ./profile_webbrowsing.desktop /usr/share/apps/konqueror/profiles/webbrowsing
/usr/bin/install -c -p -m 644 ./profile_filemanagement.desktop /usr/share/apps/konqueror/profiles/filemanagement
/usr/bin/install -c -p -m 644 ./profile_midnightcommander.desktop /usr/share/apps/konqueror/profiles/midnightcommander
/usr/bin/install -c -p -m 644 ./profile_tabbedbrowsing.desktop /usr/share/apps/konqueror/profiles/tabbedbrowsing
/usr/bin/install -c -p -m 644 ./profile_kde_devel.desktop /usr/share/apps/konqueror/profiles/kde_devel
/usr/bin/install -c -p -m 644 ./profile_simplebrowser.desktop /usr/share/apps/konqueror/profiles/simplebrowser
test -z "/usr/include" || mkdir -p -- "/usr/include"
 /usr/bin/install -c -p -m 644 'KonquerorIface.h' '/usr/include/KonquerorIface.h'
test -z "/usr/share/applnk" || mkdir -p -- "/usr/share/applnk"
 /usr/bin/install -c -p -m 644 'konqueror.desktop' '/usr/share/applnk/konqueror.desktop'
test -z "/usr/share/config.kcfg" || mkdir -p -- "/usr/share/config.kcfg"
 /usr/bin/install -c -p -m 644 'konqueror.kcfg' '/usr/share/config.kcfg/konqueror.kcfg'
test -z "/usr/lib/kde3" || mkdir -p -- "/usr/lib/kde3"
 /bin/sh ../libtool --silent --mode=install /usr/bin/install -c -p  'konqueror.la' '/usr/lib/kde3/konqueror.la'
PATH="$PATH:/sbin" ldconfig -n /usr/lib/kde3
test -z "/usr/share/applnk/.hidden" || mkdir -p -- "/usr/share/applnk/.hidden"
 /usr/bin/install -c -p -m 644 'konqfilemgr.desktop' '/usr/share/applnk/.hidden/konqfilemgr.desktop'
test -z "/usr/share/apps/konqueror" || mkdir -p -- "/usr/share/apps/konqueror"
 /usr/bin/install -c -p -m 644 'konqueror.rc' '/usr/share/apps/konqueror/konqueror.rc'
 /usr/bin/install -c -p -m 644 'konq-simplebrowser.rc' '/usr/share/apps/konqueror/konq-simplebrowser.rc'
test -z "/usr/share/applications/kde" || mkdir -p -- "/usr/share/applications/kde"
 /usr/bin/install -c -p -m 644 'kfmclient.desktop' '/usr/share/applications/kde/kfmclient.desktop'
 /usr/bin/install -c -p -m 644 'kfmclient_dir.desktop' '/usr/share/applications/kde/kfmclient_dir.desktop'
 /usr/bin/install -c -p -m 644 'kfmclient_html.desktop' '/usr/share/applications/kde/kfmclient_html.desktop'
 /usr/bin/install -c -p -m 644 'kfmclient_war.desktop' '/usr/share/applications/kde/kfmclient_war.desktop'
 /usr/bin/install -c -p -m 644 'konqbrowser.desktop' '/usr/share/applications/kde/konqbrowser.desktop'
 /usr/bin/install -c -p -m 644 'konquerorsu.desktop' '/usr/share/applications/kde/konquerorsu.desktop'
 /usr/bin/install -c -p -m 644 'Home.desktop' '/usr/share/applications/kde/Home.desktop'
make[3]: Leaving directory `/home/raid517/suse_kickoff/konqueror'
make[2]: Leaving directory `/home/raid517/suse_kickoff/konqueror'
Making install in client
make[2]: Entering directory `/home/raid517/suse_kickoff/konqueror/client'
make[3]: Entering directory `/home/raid517/suse_kickoff/konqueror/client'
test -z "/usr/lib" || mkdir -p -- "/usr/lib"
 /bin/sh ../../libtool --silent --mode=install /usr/bin/install -c -p  'libkdeinit_kfmclient.la' '/usr/lib/libkdeinit_kfmclient.la'
PATH="$PATH:/sbin" ldconfig -n /usr/lib
test -z "/usr/bin" || mkdir -p -- "/usr/bin"
  /bin/sh ../../libtool --silent --mode=install /usr/bin/install -c -p  'kfmclient' '/usr/bin/kfmclient'
test -z "/usr/lib/kde3" || mkdir -p -- "/usr/lib/kde3"
 /bin/sh ../../libtool --silent --mode=install /usr/bin/install -c -p  'kfmclient.la' '/usr/lib/kde3/kfmclient.la'
PATH="$PATH:/sbin" ldconfig -n /usr/lib/kde3
test -z "/usr/share/apps/kconf_update" || mkdir -p -- "/usr/share/apps/kconf_update"
 /usr/bin/install -c -p -m 644 'kfmclient_3_2.upd' '/usr/share/apps/kconf_update/kfmclient_3_2.upd'
test -z "/usr/share/apps/kconf_update" || mkdir -p -- "/usr/share/apps/kconf_update"
 /usr/bin/install -c -p 'kfmclient_3_2_update.sh' '/usr/share/apps/kconf_update/kfmclient_3_2_update.sh'
make[3]: Leaving directory `/home/raid517/suse_kickoff/konqueror/client'
make[2]: Leaving directory `/home/raid517/suse_kickoff/konqueror/client'
Making install in iconview
make[2]: Entering directory `/home/raid517/suse_kickoff/konqueror/iconview'
make[3]: Entering directory `/home/raid517/suse_kickoff/konqueror/iconview'
test -z "/usr/lib/kde3" || mkdir -p -- "/usr/lib/kde3"
 /bin/sh ../../libtool --silent --mode=install /usr/bin/install -c -p  'konq_iconview.la' '/usr/lib/kde3/konq_iconview.la'
PATH="$PATH:/sbin" ldconfig -n /usr/lib/kde3
test -z "/usr/share/services" || mkdir -p -- "/usr/share/services"
 /usr/bin/install -c -p -m 644 'konq_iconview.desktop' '/usr/share/services/konq_iconview.desktop'
 /usr/bin/install -c -p -m 644 'konq_multicolumnview.desktop' '/usr/share/services/konq_multicolumnview.desktop'
test -z "/usr/share/apps/konqiconview" || mkdir -p -- "/usr/share/apps/konqiconview"
 /usr/bin/install -c -p -m 644 'konq_iconview.rc' '/usr/share/apps/konqiconview/konq_iconview.rc'
 /usr/bin/install -c -p -m 644 'konq_multicolumnview.rc' '/usr/share/apps/konqiconview/konq_multicolumnview.rc'
make[3]: Leaving directory `/home/raid517/suse_kickoff/konqueror/iconview'
make[2]: Leaving directory `/home/raid517/suse_kickoff/konqueror/iconview'
Making install in listview
make[2]: Entering directory `/home/raid517/suse_kickoff/konqueror/listview'
make[3]: Entering directory `/home/raid517/suse_kickoff/konqueror/listview'
test -z "/usr/lib/kde3" || mkdir -p -- "/usr/lib/kde3"
 /bin/sh ../../libtool --silent --mode=install /usr/bin/install -c -p  'konq_listview.la' '/usr/lib/kde3/konq_listview.la'
PATH="$PATH:/sbin" ldconfig -n /usr/lib/kde3
test -z "/usr/share/config.kcfg" || mkdir -p -- "/usr/share/config.kcfg"
 /usr/bin/install -c -p -m 644 'konq_listview.kcfg' '/usr/share/config.kcfg/konq_listview.kcfg'
test -z "/usr/share/services" || mkdir -p -- "/usr/share/services"
 /usr/bin/install -c -p -m 644 'konq_treeview.desktop' '/usr/share/services/konq_treeview.desktop'
 /usr/bin/install -c -p -m 644 'konq_detailedlistview.desktop' '/usr/share/services/konq_detailedlistview.desktop'
 /usr/bin/install -c -p -m 644 'konq_textview.desktop' '/usr/share/services/konq_textview.desktop'
 /usr/bin/install -c -p -m 644 'konq_infolistview.desktop' '/usr/share/services/konq_infolistview.desktop'
test -z "/usr/share/apps/konqlistview" || mkdir -p -- "/usr/share/apps/konqlistview"
 /usr/bin/install -c -p -m 644 'konq_treeview.rc' '/usr/share/apps/konqlistview/konq_treeview.rc'
 /usr/bin/install -c -p -m 644 'konq_detailedlistview.rc' '/usr/share/apps/konqlistview/konq_detailedlistview.rc'
 /usr/bin/install -c -p -m 644 'konq_textview.rc' '/usr/share/apps/konqlistview/konq_textview.rc'
 /usr/bin/install -c -p -m 644 'konq_infolistview.rc' '/usr/share/apps/konqlistview/konq_infolistview.rc'
make[3]: Leaving directory `/home/raid517/suse_kickoff/konqueror/listview'
make[2]: Leaving directory `/home/raid517/suse_kickoff/konqueror/listview'
Making install in keditbookmarks
make[2]: Entering directory `/home/raid517/suse_kickoff/konqueror/keditbookmarks'
make[2]: *** No rule to make target `/usr/include/kbookmarknotifier.h', needed by `kbookmarknotifier.kidl'.  Stop.
make[2]: Leaving directory `/home/raid517/suse_kickoff/konqueror/keditbookmarks'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/raid517/suse_kickoff/konqueror'
make: *** [install-recursive] Error 1
Throughout the build process I get a reoccurring error too, from rm (or remove) saying "rm cannot remove is a directory" so it seems that the build script has some problems with removing items after building them - although I am uncertain if this is fatal.

Can anyone possibly suggest a way to resolve this?

P.S.

You can see Kickoff in action here:

http://home.kde.org/~binner/kickoff/sneak_preview.html
 
Old 11-29-2006, 12:07 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Quote:
`/usr/include/kbookmarknotifier.h', needed by `kbookmarknotifier.kidl'. Stop.
That's your problem. You need to install kbookmarknotifier.h. the .h indicating that it's a header file.

A lot of people don't realize, and READMEs usually don't bother to explain, that the prepackaged libraries you install in Debian and other distros usually do NOT haveheader files included with them. They are generally provided separately in packages marked "libraryname-dev".

So what you need to do is discover which -dev package contains that file. apt-file is a very useful tool in that regard. 'apt-file search kbookmarknotifier.h' tells me that you can find it in the kdelibs4-dev package. Install that and your problem will vanish, though I can't guarantee that you won't hit another missing header file later on. If so, just do the same thing to find and install it.

Two more points:

1) You might want to run make separately from the checkinstall command, instead of letting it run everything automatically. There's no real difference, I guess, but I personally usually want to make sure that one step really finishes correctly before moving on to the next.

2) Please don't post the same question in more than one forum. The board rules ask you to only post your question once in the forum you feel is best-suited to the topic.
 
Old 11-29-2006, 12:54 PM   #3
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Yeah, unfortunately (or fortunately) I already have that package installed. So still no luck.

Sorry about the double post, but I didn't know if it was a debian specific issue, or perhaps a more general Linux/KDE related issue. So I wasn't sure what the appropriate section was.

In this case 'make' does complete successfully - and make install is called and *almost* completes too. But it is not clear to me what is holding it back.

Is anyone else interested perhaps in giving this a go - and possibly working out how to build an installable package for Debian?

I have used it in Suse 10.2 Alpha and in Sabayon Linux (Which is Gentoo) and it seems very robust and usable.
 
Old 11-29-2006, 06:03 PM   #4
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Hi I have made some progress. But I am experiencing a weird error. Not a major one at this juncture - but odd all the same.

I got to step 6 on this guide:

http://yamzz.blogspot.com/2006/10/su...koff-menu.html

And specifically to this part:

Code:
 /home/kdedev/src/kde/build/suse_kickoff/configure –prefix=/home/kdedev/kde-unstable > \ /home/kde/src/kde/log/suse_kickoff.log 2>&1
Everything has gone smoothly up until this point. The only difference is I didn't want to create a user called kdedev - as I know how hard it is to change a user name in Linux once it is created and I was afraid I would be stuck with it.

Not a big issue, as, as the guide says the choice of user name is arbitrary

So instead I made a user called jebus97

So when I ran the above command it looks like this:

Code:
~/src/kde/build/suse_kickoff$ /home/jebus97/src/kde/build/suse_kickoff/configure –prefix=/home/jebus97/kde-unstable > \ /home/jebus97/src/kde/log/suse_kickoff.log 2>&1
However when I run this command I get the following error:

/src/kde/build/suse_kickoff/configure –prefix=/home/jebus197/kde-unstable > \ /home/jebus97/src/kde/log/suse_kickoff.log 2>&1
-su: /home/jebus97/src/kde/log/suse_kickoff.log: No such file or directory
jebus197@mobile1:~/src/kde/build/suse_kickoff$

However this makes no sense whatsoever, since I have followed this guide to the letter, and when I run ls on the specified directory - everything is as it should be:

Code:
/src/kde/build/suse_kickoff$ ls /home/jebus97/src/kde/log/

suse_kickoff.log
Why is it saying that the required file or directory does not exist, when very clearly it does?

Last edited by raid517; 11-29-2006 at 06:38 PM.
 
Old 11-29-2006, 06:44 PM   #5
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Does the build-process has the required permissions to access that file?
 
Old 11-29-2006, 07:18 PM   #6
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
You mean is it being built as root? I have full (chmod 777) read write and execute set on that file - the owner of the file is that user (e.g. jebus97).

The application is being built as a superuser.

Last edited by raid517; 11-29-2006 at 07:19 PM.
 
Old 11-29-2006, 08:23 PM   #7
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Okay, just checking the obvious. Are you sure there are not typo's in the path-name? (I suppose you've checked, but just in case: use tab-completion to minimise errors if you didn't use it before) Check the Makefile(s) to see if there's a hardcoded path in it. If it has, check it's context, as it might be statically linked to a library (which would be OK if it's in that path) I'm especially suspicious on the kdedev user you've chosen not to create...
 
Old 11-29-2006, 08:43 PM   #8
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Well no - as you can see I did an ls on that path and it showed that the /home/jebus197/src/kde/log directory did indeed contain a file called suse_kickoff.log as in the full path:

Code:
/home/jebus97/src/kde/log/suse_kickoff.log
If you read carefully as I have printed above you will see that the directories are the same.

There is nothing that I can see anywhere in the makefiles that has the kdedev user hard coded in.

Is there possibly anything wrong with the command line itself? Has the author of this guide somehow possibly misprinted it?

Last edited by raid517; 11-29-2006 at 09:13 PM.
 
Old 11-29-2006, 09:04 PM   #9
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Possibly, yes. It depends how old that howto/tutorial is (I didn't check), and if in the intervening time the default handling of the command has changed (it did on the mkinitrd command, as I found out to my frustration after several days trying before reading the man page ) Might be worth investigating if you need to add certain flags/options to make it behave properly...
 
Old 11-29-2006, 10:00 PM   #10
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Try this

/home/kdedev/src/kde/build/suse_kickoff/configure –prefix=/home/kdedev/kde-unstable > /home/kdedev/src/kde/log/suse_kickoff.log 2>&1
 
Old 11-30-2006, 06:42 AM   #11
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Thanks. I think that's it.

However I am still getting the error:

Code:
dummy.Tpo" -c -o keditbookmarks_dummy.lo keditbookmarks_dummy.cpp; \
        then mv -f ".deps/keditbookmarks_dummy.Tpo" ".deps/keditbookmarks_dummy.                                                                                                                               Plo"; else rm -f ".deps/keditbookmarks_dummy.Tpo"; exit 1; fi
make[3]: *** No rule to make target `/usr/include/kbookmarknotifier.h', needed b                                                                                                                               y `kbookmarknotifier.kidl'.  Stop
Is there any way I can exclude keditbookmarks from the build process? I'm pretty sure I don't need it. I tried looking for any mention of keditbookmarks in the Makefiles and deleting them - but I'm not sure if I got them all - and anyway after I did this ./configure failed and complained that it couldn't find keditbookmarks - and therefore it couldn't continue. It appears to be a part of the konqueror package - which in turn is a part of the larger KDE Kickoff package.

The above guide says you should simply delete/remove packages that won't compile - but I tried that (I tried removing the keditbookmarks package)and that didn't work either.

Any tips would be very much appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kickoff A New KDE Menu For Debian? raid517 Linux - Software 3 11-29-2006 07:25 AM
Problem with Debian Menu in KDE menu after reinstallation SonicGT Debian 2 04-03-2006 11:24 PM
debian kde menu icon customizing elfoozo Debian 2 01-08-2006 11:10 AM
Debian, KDE 3.4.2 missing K menu Fusspils Linux - Newbie 1 10-05-2005 07:54 AM
restore debian menu in kde dukeinlondon Debian 3 08-26-2004 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration