From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from goalie.tycho.ncsc.mil (goalie [144.51.3.250]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id q0Q8aAnb028814 for ; Thu, 26 Jan 2012 03:36:15 -0500 Received: from collab.rosalab.ru (localhost [127.0.0.1]) by msux-gh1-uea01.nsa.gov (8.12.10/8.12.10) with ESMTP id q0Q8a923023793 for ; Thu, 26 Jan 2012 08:36:09 GMT Received: from localhost (localhost.localdomain [127.0.0.1]) by collab.rosalab.ru (Postfix) with ESMTP id 1881229C1BE for ; Thu, 26 Jan 2012 12:36:06 +0400 (MSK) Received: from collab.rosalab.ru ([127.0.0.1]) by localhost (collab.rosalab.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pBVFqfjt-Cwb for ; Thu, 26 Jan 2012 12:36:05 +0400 (MSK) Received: from localhost.localdomain (unknown [192.168.20.123]) by collab.rosalab.ru (Postfix) with ESMTPSA id 50C6829C1BB for ; Thu, 26 Jan 2012 12:36:05 +0400 (MSK) Message-ID: <4F2110C5.5060100@rosalab.ru> Date: Thu, 26 Jan 2012 12:37:25 +0400 From: Budanov Eugene MIME-Version: 1.0 To: SELinux Upstream Subject: Compiler cannot find ruby.h Content-Type: multipart/alternative; boundary="------------070401040009070205010600" Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov This is a multi-part message in MIME format. --------------070401040009070205010600 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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) --------------070401040009070205010600 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit 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)
--------------070401040009070205010600-- -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.