Hi,

I ran "make" in RHEL5.4 (Kernel release : 2.6.18-164.el5) with
ltp-2009-11-24.tar.gz.
But it failed with following error message.
./configure has been done before make.
I use "make 3.81", "autoconf 2.61", "automake 1.10.2", and "m4 1.4.7".

------------
make[3]: Entering directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls'
make[3]: *** No rule to make target
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/li
bevent/test/Makefile', needed by `libevent-all'.  Stop.
make[3]: Leaving directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/LTP/ltp-2009-11-24/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/LTP/ltp-2009-11-24/testcases'
make: *** [testcases-all] Error 2
------------

Similar failure occurred in RHEL5.4 and ltp-2009-11-20.tar.gz too.


I confirmed in "${LTPROOT}/testcases/kernel/syscalls/libevent/test"
directory.
As a result, there wasn't "Makefile" in this directory.
I think that the following command in
"${LTPROOT}/testcases/kernel/syscalls/Makefile"
failed by this reason.

------------
libevent-all: $(abs_srcdir)/libevent/test/Makefile libevent/test
        $(MAKE) -C libevent/test -f "$(firstword $^)" $(LIBEVENT_APPS)
------------

I judged that "${LTPROOT}/testcases/kernel/syscalls/libevent/configure"
made "${LTPROOT}/testcases/kernel/syscalls/libevent/test/Makefile".
After execute this configure,
"${LTPROOT}/testcases/kernel/syscalls/libevent/test/Makefile"
was made.


I executed "make" command in "${LTPROOT}" directory again.
Then, this time, it failed in the following error message.

------------
make[3]: Entering directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls'
make -C libevent/test -f
"/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent/test/Makefile"
regress test-eof test-init test-time test-weof
make[4]: Entering directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent/test'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I../compat -Wall -g -O2 -c regress.c
make[4]: *** No rule to make target `../libevent.a', needed by `regress'.
Stop.
make[4]: Leaving directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent/test'
make[3]: *** [libevent-all] Error 2
make[3]: Leaving directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/LTP/ltp-2009-11-24/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/LTP/ltp-2009-11-24/testcases'
make: *** [testcases-all] Error 2
------------


This time's failure seems to be caused by the fact that there is not
"${LTPROOT}/testcases/kernel/syscalls/libevent/libevent.a", I think.


"libevent.a" file was made after I executed "make" command in 
"${LTPROOT}/testcases/kernel/syscalls/libevent" directory.
But, following failure occurred when I executed this "make" command.

------------
Making all in test
make[2]: Entering directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent/test'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I../compat -Wall -g -O2 -c test-init.c
gcc  -I../compat -Wall -g -O2  -o test-init  test-init.o -L.. -levent
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I../compat -Wall -g -O2 -c test-eof.c
gcc  -I../compat -Wall -g -O2  -o test-eof  test-eof.o -L.. -levent
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I../compat -Wall -g -O2 -c test-weof.c
gcc  -I../compat -Wall -g -O2  -o test-weof  test-weof.o -L.. -levent
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I../compat -Wall -g -O2 -c test-time.c
gcc  -I../compat -Wall -g -O2  -o test-time  test-time.o -L.. -levent
gcc  -I../compat -Wall -g -O2  -o regress  regress.o -L.. -levent
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I../compat -Wall -g -O2 -c bench.c
gcc  -I../compat -Wall -g -O2  -o bench  bench.o -L.. -levent
make[2]: ./test.sh: Command not found
make[2]: *** [test] Error 127
make[2]: Leaving directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent'
make: *** [all-recursive-am] Error 2
------------


This failure depends on there not being "$ LTPROOT
/testcases/kernel/syscalls/libevent/test.sh".
I cannot make "test.sh", because I don't know what this "test.sh" do.
But, "${LTPROOT}/testcases/kernel/syscalls/libevent/libevent.a", was made, 
then, first of all, I executed "make" command in "${LTPROOT}" directory 
once again.
Then "make" succeeded.
After that, "make install" succeeded too.


>From the above, I think that there may be three following problems.

(1) "${LTPROOT}/testcases/kernel/syscalls/libevent/test/Makefile" does not
exist.
    For this measure, this "Makefile" should be made when
"${LTPROOT}/configure"
    executed or this is offered as standard equipment, I think.

(2) "${LTPROOT}/testcases/kernel/syscalls/libevent/libevent.a" does not
exist.
    For this measure, this "libevent.a" may be necessary to be made when
    "make" executed in "${LTPROOT}" directory.

(3) "${LTPROOT}/testcases/kernel/syscalls/libevent/test/test.sh" does not
exist.
    For this measure, this "test.sh" may be necessary to be offered as
standard
    equipment.


Can I get some advice whether my thought above is right?


Regards--

-Tomonori Mitani




------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to