LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-23-2008, 08:50 PM   #1
lukeiamyourfather
Member
 
Registered: Jul 2007
Distribution: Ubuntu, LFS, Fedora
Posts: 30

Rep: Reputation: 15
Angry Linux Headers changing dir structure? (Garnome Compile issues)


Hi all. I've been an avid Ubuntu user for a while and recently switched to Debian. I like the flexibility.

The thing is is that Debian runs lots of old (while stable) packages. A bit of a problem for what I am attempting.

I want a mostly source-based distro. Had all kinds of fun with LFS . So I want an up-to-date kernel, Gnome, E17, and other software setup, all compiled by myself from source. I built a 2.6.27.6 kernel and initrd successfully, installed headers, etc. Well, got to running the latest version of Garnome, and after fixing many dependency issues (thank God for APT) finally got here:

Code:
clude -L/home/christopher/garnome/lib -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -MT polkit-sysdeps.lo -MD -MP -MF .deps/polkit-sysdeps.Tpo -c polkit-sysdeps.c  -fPIC -DPIC -o .libs/polkit-sysdeps.o
polkit-sysdeps.c:55:25: error: sys/inotify.h: No such file or directory
make[11]: *** [polkit-sysdeps.lo] Error 1
make[11]: Leaving directory `/home/christopher/pkgs/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9/src/polkit'
make[10]: *** [all-recursive] Error 1
make[10]: Leaving directory `/home/christopher/pkgs/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9/src'
make[9]: *** [all-recursive] Error 1
make[9]: Leaving directory `/home/christopher/pkgs/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9'
make[8]: *** [all] Error 2
make[8]: Leaving directory `/home/christopher/pkgs/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9'
make[7]: *** [build-work/main.d/PolicyKit-0.9/Makefile] Error 2
make[7]: Leaving directory `/home/christopher/pkgs/garnome-2.24.0/freedesktop/PolicyKit'
make[6]: *** [../../freedesktop/PolicyKit/cookies/main.d/install] Error 2
make[6]: Leaving directory `/home/christopher/pkgs/garnome-2.24.0/platform/GConf'
make[5]: *** [../../platform/GConf/cookies/main.d/install] Error 2
make[5]: Leaving directory `/home/christopher/pkgs/garnome-2.24.0/platform/gnome-vfs'
make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2
make[4]: Leaving directory `/home/christopher/pkgs/garnome-2.24.0/platform/libgnome'
make[3]: *** [../../platform/libgnome/cookies/main.d/install] Error 2
make[3]: Leaving directory `/home/christopher/pkgs/garnome-2.24.0/platform/libbonoboui'
make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error 2
make[2]: Leaving directory `/home/christopher/pkgs/garnome-2.24.0/platform/libgnomeui'
make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Error 2
make[1]: Leaving directory `/home/christopher/pkgs/garnome-2.24.0/desktop/bug-buddy'
make: *** [paranoid-install] Error 2
christopher@cma-dell-debian:~/pkgs/garnome-2.24.0/desktop$
I am not an expert (yet) but I am concluding that inotify.h is a kernel header file, and Garnome is looking for it in a directory structure for an older kernel, because I found the file in /usr/include/linux/. So I tryed copying inotify.h to the /usr/include/sys/ directory, but it gave some other undefined error.


Any help would be appreciated. Sorry for the long post.

Thanks,
Chris
 
Old 11-24-2008, 06:26 PM   #2
salter
Member
 
Registered: Oct 2008
Posts: 100

Rep: Reputation: 15
Simply copying inotify.h will not help. If it's missing from the system headers, then it is likely to not have been compiled in the running kernel anyway, assuming that you did all the compilation correctly and are using the same header files. Adding that header only propagates functionality that is not available.

You should check if inotify has been replaced or obsoleted in the kernel code. Then check if Garnome is known to run under recent kernels.

Also check if your include locations really have the those set of header files that you have used to compile the kernel.

Otherwise: this is the true beauty of compiling entire systems from source. It's also how I learned to love packaging systems.

Linux Archive

Last edited by salter; 12-20-2008 at 12:00 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LabVIEW error cluster/structure issues on RHE linux 4 htmlsucks Linux - Software 0 12-07-2007 10:36 AM
Installing tarballs with dir structure smudge|lala Linux - Software 4 09-15-2005 03:25 PM
Error in compile Garnome!! Neda Linux - Newbie 10 07-24-2005 12:45 AM
How to compile Garnome-2.10.1 Neda Linux - Software 2 05-23-2005 10:40 PM
file/dir structure xemous Linux - Newbie 3 10-04-2004 01:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:24 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