From: Vincenzo Ciaglia <vin@netwosix.org>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: SELinux@tycho.nsa.gov
Subject: Re: installation from scratch problems
Date: Fri, 19 Jan 2007 22:48:20 +0100 [thread overview]
Message-ID: <1169243300.26086.5.camel@zeroKnowledge> (raw)
In-Reply-To: <1169210930.22731.478.camel@moss-spartans.epoch.ncsc.mil>
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 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
**********************************************
What is going wrong ?
Thank you very much!
--
Vincenzo Ciaglia, <vin(at)netwosix(dot)org>
Linux Netwosix - <www.netwosix.org>
--
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 21:48 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 [this message]
2007-01-19 22:02 ` Karl MacMillan
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=1169243300.26086.5.camel@zeroKnowledge \
--to=vin@netwosix.org \
--cc=SELinux@tycho.nsa.gov \
--cc=sds@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.