On Sat, 30 Jul 2011 03:35:51 +0530 sandip sitapara <[email protected]> wrote:
> But I got following error while compiling glibc while compilint > > In file included from nscd.c:46:0: > selinux.h:26:29: fatal error: sys/capability.h: No such file or directory > compilation terminated. > > > I have tried to find the sys/capability.h but there is no folder like sys. > There is a capability.h but in linux directory. > > So anybody please tell me what is the problem here? You've not given us much to go on but it looks like glibc is trying to compile support for selinux. We used to configure glibc --without-selinux http://www.linuxfromscratch.org/lfs/view/6.4/chapter05/glibc.html But that was dropped in LFS-6.5. Does it work does it work if you add --without-selinux to glibc's configure options? Delete the glibc-build directory and make a new one to make sure you start fresh. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
