HLFS-uClibc, module-init-tools is installing in /usr/local

Robert Connolly robert at linuxfromscratch.org
Tue Jan 17 21:39:00 PST 2006

I'm not reproducing it. When I follow the instructions in 
chapter06/module-init-tools.html, it tries to install "lsmod" to "//bin".

Please also report any modifications of the instructions of the hlfs-book, 
additional packages, and libc type and version.

Also, after running ./configure (and maybe make), run:

grep -m 1 -n "prefix =" Makefile

and check if "prefix = /".


On January 18, 2006 12:05 am, Dermot Bradley wrote:
> > LFS-unstable is using the same module-init-tools version, and same
> > ./configure command. It doesn't make sense if they're installing to
> > different places.
> I've had a look at LFS-SVN and yes they also do:
>    ./configure --prefix=/ --enable-zlib
> however they do this *AFTER* the "make check" (which I do in my HLFS
> build) and the LFS document says:
>    "note that the make distclean command is required to clean up
>     the source tree, as the source gets recompiled as part of the
>     testing process"
> So they do 2 configures whereas HLFS-uClibc-SVN does just the 1 configure
> before the (optional) "make check".
> So I guess the "make check" may be screwing things up......

More information about the hlfs-dev mailing list