From: Budanov Eugene <eugene.budanov@rosalab.ru>
To: SELinux Upstream <selinux@tycho.nsa.gov>
Subject: Compiler cannot find ruby.h
Date: Thu, 26 Jan 2012 12:37:25 +0400 [thread overview]
Message-ID: <4F2110C5.5060100@rosalab.ru> (raw)
[-- 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 --]
next reply other threads:[~2012-01-26 8:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-26 8:37 Budanov Eugene [this message]
[not found] ` <CACLa4pu-R8SQr-_3yzAVeQ8Ebz=gzVbn7tetDC-LjE95OS1jpg@mail.gmail.com>
2012-01-26 14:27 ` Compiler cannot find ruby.h Budanov Eugene
2012-01-26 14:49 ` Budanov Eugene
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F2110C5.5060100@rosalab.ru \
--to=eugene.budanov@rosalab.ru \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.