﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1858	"Missing ""make"" in Module-init-tools testsuite ?"	Seb	lfs-book@…	"Hello,

I don't know if it's revelant, but I experienced a problem with the
module-init-tools testsuite (LFS 6.1.1).

When I entered all the commands as they were given in the book
(just modified according to the errata), I obtained this result :

{{{
tar -xvf /sources/module-init-tools-testsuite-3.1.tar.bz2
--strip-components=1 && 
./configure && 
make check

[...]

make  check-TESTS
make[1]: Entering directory `/dev/shm/module-init-tools-3.1'
Building with --enable-zlib...
insmod.o(.text+0x5bf): In function `modtest_gzopen':
/tmp/module-init-tools-3.1/testing.h:196: undefined reference to
`gzopen' collect2: ld returned 1 exit status
make[2]: *** [insmod.static] Error 1
FAIL: tests/runtests
===================
1 of 1 tests failed
===================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/dev/shm/module-init-tools-3.1'
make: *** [check-am] Error 2
}}}

I think a ''make'' is missing here, because when I had it, the test was
successful :


{{{
tar -xvf /sources/module-init-tools-testsuite-3.1.tar.bz2
--strip-components=1 && 
./configure &&
'''make &&'''
make check

[...]

make  check-TESTS
make[1]: Entering directory `/dev/shm/module-init-tools-3.1'
Building with --enable-zlib...
Testing with --enable-zlib...
Running tests for tests/test-depmod...............
Running tests for tests/test-generate-modprobe.conf......
Running tests for tests/test-insmod.....
Running tests for tests/test-lsmod.....
Running tests for tests/test-modinfo.....
Running tests for tests/test-modprobe...........................
Running tests for tests/test-rmmod.......
Building with --disable-zlib...
Testing with --disable-zlib...
Running tests for tests/test-depmod...............
Running tests for tests/test-generate-modprobe.conf......
Running tests for tests/test-insmod.....
Running tests for tests/test-lsmod.....
Running tests for tests/test-modinfo.....
Running tests for tests/test-modprobe...........................
Running tests for tests/test-rmmod.......
PASS: tests/runtests
==================
All 1 tests passed
==================
make[1]: Leaving directory `/dev/shm/module-init-tools-3.1'
}}}

I hope it will be useful for you.

Take care,
Seb."	defect	closed	normal		Book	6.1.1	trivial	worksforme	module-init-tools	
