Re: [LTP] 2010-01-20 cvs build failed

Garrett Cooper
2010-01-20T13:25:43Z

On Tue, Jan 19, 2010 at 8:37 PM, Mitani <mitani@ryobi.co.jp> wrote:
> Thank you for your great effort for "make3.80" supporting.
>
> But in my system, there are several problems.
>
> Because it is necessary to report about them hastily, I report them
> without investigation first of all.
>
> I tried to make with 2010-01-20 version cvs in my several systems.
>  - RHEL5.4 x86
>  - RHEL5.4 x86_64
>  - RHEL5.4 ia64
>  - RHEL4.8 x86 (using make3.80/3.81)
>  - RHEL4.8 x86_64 (using make3.80/3.81)
>
> I show below the results.
>
>
> 1) <RHEL5.4 x86>
> "make" succeeded, but "make install" failed as follows:
> ------------
> mkdir -m 00755 -p "//opt/ltp"
> mkdir -m 00755 -p "//opt/ltp/bin"
> make -C "doc" \
>                -f "/home/LTP/ltp-2010-01-20/doc/Makefile" install
> make[1]: Entering directory `/home/LTP/ltp-2010-01-20/doc'
> make[2]: Entering directory `/home/LTP/ltp-2010-01-20/doc/man1'
> make[2]: *** No rule to make target `/opt/ltp/share/man/man1', needed by
> `/opt/ltp/share/man/man1/doio.1'.  Stop.
> make[2]: Leaving directory `/home/LTP/ltp-2010-01-20/doc/man1'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/LTP/ltp-2010-01-20/doc'
> make: *** [doc-install] Error 2
> ------------

Solved. Typo that I didn't pick up earlier..

> 2) <RHEL5.4 x86_64>
> 3) <RHEL5.4 ia64>
> 4) <RHEL4.8 x86> (using make3.81)
> 5) <RHEL4.8 x86_64> (using make3.81)
> In above systems, results were same as <RHEL5.4 x86>.
>
>
> 6) <RHEL4.8 x86> (using make3.80)
> Strangely, the "make" command returned immediately.
> "echo $?" was 0. But log was only several lines as follows:

You have to use make all when compiling `all' with make instead of
just specifying `make' with 3.81 because make 3.80 doesn't have a
concept of default goals/targets.

> ------------
> make -C testcases/realtime autotools
> make[1]: Entering directory `/home/LTP/ltp-2010-01-20/testcases/realtime'
> autoheader
> make[1]: Leaving directory `/home/LTP/ltp-2010-01-20/testcases/realtime'
> ------------
>
> Is this message same as what is written in the "INSTALL" file?
>
> Just in case, I tried "make install".
> But the result was as follows:
>
> ------------
> make -C "pan" \
>        -f "/home/LTP/ltp-2010-01-20/pan/Makefile" install
> make[1]: Entering directory `/home/LTP/ltp-2010-01-20/pan'
> test -d "/opt/ltp/bin" || mkdir -p "/opt/ltp/bin"
> install -m 00775 "/home/LTP/ltp-2010-01-20/pan/ltp-bump"
> "/opt/ltp/bin/ltp-bump"
> install: cannot stat `/home/LTP/ltp-2010-01-20/pan/ltp-bump': No such file
> or directory
> make[1]: *** [/opt/ltp/bin/ltp-bump] Error 1
> make[1]: Leaving directory `/home/LTP/ltp-2010-01-20/pan'
> make: *** [pan-install] Error 2
> ------------
>
>
> 7) <RHEL4.8 x86_64> (using make3.80)
> Results were same as <RHEL4.8 x86> (using make3.80).

HTH,