"../system.h :selinux/selinux.h:no such file or directory"
this is the error i encountered while building rpm from source version 4.2.2.
i have installed beecrypt,neon,zlib,db as its dependies. now i m struck here. |
Did you have kernel header under /usr/include ? If you dont have it, get kernel header source first same as your kernel version.
|
kernel header soruce
../system.h :selinux/selinux.h:no such file or directory"
this is the error i encountered while building rpm from source version 4.2.2. as u said it requires kernel header source ....can u suggest me where do i get kernel header source for red hat linux version 2.4.27-2-386 thanks |
Fix - Solution
I had the same problem and fixed it. Yes you'll need the kernel headers--I would suggest getting them from whatever your yum/apt-get/whatever package manager.
However on the make file, try including the direct path to your source as an include flag: make -I /usr/src/kernels/2.6.18/ See if that gets you anywhere. |
Had the same problem. But i need "rpm" only for rpm2cpio (what for else in LFS?) to unpack rpm's from different distro.
Found static rpm2cpio and cpio in here http://www.sfr-fresh.com/linux/misc/...static.tar.gz/ It works. |
All times are GMT -5. The time now is 03:37 AM. |