[DSE-Dev] new libselinux

Russell Coker russell at coker.com.au
Sat Dec 15 04:31:16 UTC 2012


http://userspace.selinuxproject.org/trac/wiki/Releases

I'm working on the new SE Linux userspace release from 2012-09-24 at the above 
URL.  I've got a problem building libselinux with Ruby support.

http://www.coker.com.au/selinux/unstable/

The above has my current work.  It fails with the below error.  While looking 
for the solution to this I noticed that we are building support for Ruby 1.8 
and 1.9.1, do we still need both?

x86_64-linux-gnu-gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -
Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -I../include -
I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -Wno-error -Wno-unused-
variable -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-shadow -Wno-
uninitialized -Wno-missing-prototypes -Wno-missing-declarations 
/usr/lib/ruby/1.8/x86_64-linux -fPIC -DSHARED -c -o selinuxswig_ruby_wrap.lo 
selinuxswig_ruby_wrap.c
selinuxswig_ruby_wrap.c:832:18: fatal error: ruby.h: No such file or directory
compilation terminated.
make[4]: *** [selinuxswig_ruby_wrap.lo] Error 1
make[4]: Leaving directory `/tmp/s/t/libselinux-2.1.12/src'
make[3]: *** [install-rubywrap] Error 2

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/



More information about the SELinux-devel mailing list