[lfs-support] Error in 'make install' of Util-linux-ng-2.16 LFS 6.5

Ken Moffat zarniwhoop at ntlworld.com
Sun Oct 28 08:35:19 PDT 2012


On Sun, Oct 28, 2012 at 01:18:09PM +0530, Veena K Vinayan wrote:
> Host system : Ubuntu 11.10
> 
> LFS book version 6.5
> 
> Chapter 6.19
> 
> make install of Util-linux-ng-2.16 fails with the following error.
> 
> 
> 
> ----------------------------------------------------------------------
> make install-exec-hook
> make[5]: Entering directory `/sources/util-linux-ng-2.16/shlibs/uuid/src'
> if test "/usr/lib" != "/lib"; then \
> mkdir -p /lib; \
> mv /usr/lib/libuuid.so.* /lib; \
> so_img_name=$(readlink /usr/lib/libuuid.so); \
> so_img_rel_target=$(echo /usr/lib | sed 's,\(^/\|\)[^/][^/]*,..,g'); \
> (cd /usr/lib && \
> rm -f libuuid.so && \
> ln -s $so_img_rel_target/lib/$so_img_name libuuid.so); \
> fi
> /bin/sh: command substitution: line 4: syntax error near unexpected token
> `)'
> /bin/sh: command substitution: line 4: `readlink /usr/lib/libuuid.so)'
> make[5]: *** [install-exec-hook] Error 1

 What is it with you people trying to build such an old version of
LFS using a fairly-recent host system ?

 This looks as if you are using an inadequate shell - I suspect that
your host system has /bin/sh pointing to dash.  I'm surprised that
you seem to have ended up with an inadequate build of
/tools/bin/bash, so I wonder if there is some other error too.  But
it isn't worth raking over the details.  I very much doubt that
anyone here has built LFS-6.5 in the last 18 months.  Using 7.2, and
paying attention to the host system requirements, will be a better
use of your time.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-support mailing list