From: Karl MacMillan <kmacmillan@mentalrootkit.com>
To: vin@netwosix.org
Cc: Stephen Smalley <sds@tycho.nsa.gov>, SELinux@tycho.nsa.gov
Subject: Re: installation from scratch problems
Date: Fri, 19 Jan 2007 17:02:55 -0500 [thread overview]
Message-ID: <45B1400F.2010908@mentalrootkit.com> (raw)
In-Reply-To: <1169243300.26086.5.camel@zeroKnowledge>
Vincenzo Ciaglia wrote:
> Il giorno ven, 19/01/2007 alle 07.48 -0500, Stephen Smalley ha scritto:
>
>> The current libselinux depends on thread local storage (tls) support,
>> which exists in glibc 2.4. See the link below for a workaround patch
>> used by the Debian folks:
>> http://marc.theaimsgroup.com/?l=selinux&m=115807948020898&w=2
>>
>> Also, I would tend to suggest updating to stable branch that we just
>> created in the sourceforge svn repo, as that will be the basis for the
>> next nsa.gov/selinux stable release. But that won't change the
>> situation wrt to tls support.
>>
>> $ svn co https://selinux.svn.sourceforge.net/svnroot/selinux/branches/stable/1_0 selinux-stable
>
> Thank you! I solved the problems. I used the debian's patch, recompiled
> gcc and glibc with tls support
Only one of these is necessary - not both. Doesn't hurt, of course, but
it may be easier to not have to worry with the patch if you have tls
support.
and i used the userland packages from the
> svn repo.
>
> Now i can install libselinux, libsemanage, libsepol and checkpolicy but
> i get this error with the latest package to compile: policycoreutils
>
> Here the output:
>
> **********************************************
> # cd policycoreutils/
> # make
> make[1]: Entering directory
> `/root/selinux-stable/policycoreutils/setfiles'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/root/selinux-stable/policycoreutils/setfiles'
> make[1]: Entering directory
> `/root/selinux-stable/policycoreutils/semanage'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/root/selinux-stable/policycoreutils/semanage'
> make[1]: Entering directory
> `/root/selinux-stable/policycoreutils/load_policy'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/root/selinux-stable/policycoreutils/load_policy'
> make[1]: Entering directory
> `/root/selinux-stable/policycoreutils/newrole'
> cc -Werror -Wall -W -DVERSION=\"1.34.0\" -I/usr/include -DUSE_NLS
> -DLOCALEDIR="\"/usr/share/locale\"" -DPACKAGE="\"policycoreutils\""
> -D_XOPEN_SOURCE=500 newrole.c -lselinux -lsepol -L/usr/lib -lcrypt
> -o newrole
> cc1: warnings being treated as errors
> newrole.c: In function 'main':
> newrole.c:947: warning: unused variable 'rc'
> make[1]: *** [newrole] Error 1
> make[1]: Leaving directory
> `/root/selinux-stable/policycoreutils/newrole'
> make: *** [all] Error 1
> **********************************************
>
Just a warning. Upstream selinux doesn't treat warnings as errors so
occasionally they creep in. You should back out whatever caused -Werror
to be added to your compile flags.
Karl
--
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.
next prev parent reply other threads:[~2007-01-19 22:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-19 11:59 installation from scratch problems Vincenzo Ciaglia
2007-01-19 12:13 ` Antoine Martin
2007-01-19 12:48 ` Stephen Smalley
2007-01-19 21:48 ` Vincenzo Ciaglia
2007-01-19 22:02 ` Karl MacMillan [this message]
2007-01-19 22:15 ` Vincenzo Ciaglia
2007-01-19 22:16 ` Karl MacMillan
2007-01-19 22:23 ` Vincenzo Ciaglia
2007-01-22 13:39 ` Stephen Smalley
2007-01-22 13:38 ` Stephen Smalley
2007-01-22 13:36 ` Stephen Smalley
2007-01-22 16:41 ` Stephen Smalley
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=45B1400F.2010908@mentalrootkit.com \
--to=kmacmillan@mentalrootkit.com \
--cc=SELinux@tycho.nsa.gov \
--cc=sds@tycho.nsa.gov \
--cc=vin@netwosix.org \
/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.