All of lore.kernel.org
 help / color / mirror / Atom feed
* Compiler cannot find ruby.h
@ 2012-01-26  8:37 Budanov Eugene
       [not found] ` <CACLa4pu-R8SQr-_3yzAVeQ8Ebz=gzVbn7tetDC-LjE95OS1jpg@mail.gmail.com>
  2012-01-26 14:49 ` Budanov Eugene
  0 siblings, 2 replies; 3+ messages in thread
From: Budanov Eugene @ 2012-01-26  8:37 UTC (permalink / raw)
  To: SELinux Upstream

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

Hi all!

I'm trying to build libselinux-2.1.9-2.fc17.src.rpm from FC17.

But the compilation causes of an error type:

../include/selinux/selinux.h:348: Warning 451: Setting a const char * 
variable may leak memory.
cc -g -O2 -Wa,--compress-debug-sections -gdwarf-4 
-fvar-tracking-assignments -frecord-gcc-switches -Wstrict-aliasing=2 
-pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-fstack-protector --param=ssp-buffer-size=4 -fPIC -I../include 
-I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/lib64/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[1]: *** [selinuxswig_ruby_wrap.lo] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/libselinux-2.1.9/src'
make: *** [rubywrap] Error 2

File ruby.h into ../include/selinux/ directory really absent.

----
Best regards,
Budanov Eugene ROSA Lab.
Russia, Moscow.
e-mail : eugene.budanov@rosalab.ru
phone +79160674716 (UTC +4)

[-- Attachment #2: Type: text/html, Size: 2126 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-26 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-26  8:37 Compiler cannot find ruby.h Budanov Eugene
     [not found] ` <CACLa4pu-R8SQr-_3yzAVeQ8Ebz=gzVbn7tetDC-LjE95OS1jpg@mail.gmail.com>
2012-01-26 14:27   ` Budanov Eugene
2012-01-26 14:49 ` Budanov Eugene

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.