please check...

when im building the selinx-tests using "make" command i'm getting following
error

these are the files presented in selinux-testsuite.
/home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite
# ls
ChangeLog  Makefile  /policy  README  /refpolicy  /tests

this is the error i'm getting when building the tests.

/home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite
# make
make[1]: Entering directory
`/home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite/tests'
make[2]: Entering directory
`/home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite/tests/domain_trans'

make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite/tests/domain_trans'
/bin/sh: chcon: command not found
make[1]: *** [all] Error 127
make[1]: Leaving directory
`/home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite/tests'

make: *** [all] Error 2

i had seen the patch file presented by Sergei, but i didnt find
misc/check_sbin_deprecated.pl
in selinux tests directory.

i'm sorry if my view is wrong.

* I'm using SuSE linux.*

- Naveen P

On Jan 2, 2008 5:37 PM, Subrata Modak <[EMAIL PROTECTED]> wrote:

> Well, just few minutes back, i have updated selinux by one patch
> submitted by Sergei. Just check whether that patch solves your problem.
>
> --Subrata
>
> On Wed, 2008-01-02 at 17:28 +0530, naveen penumala wrote:
> > subrata,
> >
> > i tried with the latest version of LTP, even though i'm getting same
> > problem for selinux tests.
> > lemme knw one thing, is their any package we need to install for
> > chcon. cause "chcon" executable in not creating in /bin directory at
> > testcases. here we are using SuSE linux.
> >
> > -Naveen
> >
> > On Jan 2, 2008 3:57 PM, Subrata Modak <[EMAIL PROTECTED]>
> > wrote:
> >         On Wed, 2008-01-02 at 15:53 +0530, naveen penumala wrote:
> >         > Hi,
> >         >
> >         > When i tried to compile the selinux-testsuite i faced the
> >         following
> >         > problem.
> >         >
> >         >
> >
> ltp-full-20071130/testcases/kernel/security/selinux-testsuite/tests #
> >         > make
> >         >
> >
> >
> >         I would say that you are using an unstable se-linux in LTP. We
> >         have
> >         ported some stable patches already which is available on
> >         ltp-full-20071231 and not in ltp-full-20071130. Please use the
> >         latest
> >         one to work.
> >
> >         --Subrata
> >
> >         > make[1]: Leaving directory
> >         >
> >
> `/home/penuman/New_tests/ltp/ltp-full-20071130/testcases/kernel/security/selinux-testsuite/tests/
> domain_trans'
> >         > /bin/sh: chcon: command not found
> >         > make: *** [all] Error 127
> >         >
> >         >
> >         >
> >
> ltp-full-20071130/testcases/kernel/security/selinux-testsuite/tests/domain_trans
> # vi Makefile
> >         >
> >         > ln -f selinux_domain_trans.sh ../../../../../bin/
> >         >
> >         > but i didn't find the "chcon" executable in the bin
> >         > (/ltp-full-20071130/testcases/bin) directory.
> >         >
> >         > how chcon executable will create.
> >         >
> >         > and I'm using SuSE Linux.
> >         >
> >         >
> >         > Thanks,
> >         > Naveen P
> >         >
> >         >
> >
> >         >
> >
> -------------------------------------------------------------------------
> >         > This SF.net email is sponsored by: Microsoft
> >         > Defy all challenges. Microsoft(R) Visual Studio 2005.
> >         > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >         > _______________________________________________ Ltp-list
> >         mailing list [email protected]
> >         https://lists.sourceforge.net/lists/listinfo/ltp-list
> >
> >
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to