LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Error in 'make install' of Util-linux-ng-2.16 LFS 6.5 (http://www.linuxquestions.org/questions/linux-from-scratch-13/error-in-make-install-of-util-linux-ng-2-16-lfs-6-5-a-4175434440/)

Veena_Gecw 10-27-2012 11:54 PM

Error in 'make install' of Util-linux-ng-2.16 LFS 6.5
 
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
make[5]: Leaving directory `/sources/util-linux-ng-2.16/shlibs/uuid/src'
make[4]: *** [install-exec-am] Error 2
make[4]: Leaving directory `/sources/util-linux-ng-2.16/shlibs/uuid/src'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/sources/util-linux-ng-2.16/shlibs/uuid/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/sources/util-linux-ng-2.16/shlibs/uuid'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/sources/util-linux-ng-2.16/shlibs'
make: *** [install-recursive] Error 1



I tried 4 times after fully removing the Util-linux-ng-2.16 directory.


Should I post any more details ? Please help me..

EDDY1 10-29-2012 02:19 PM

Outside of the fact that lfs 6.5 is old or outdated did you do a version test of host utilities?


All times are GMT -5. The time now is 03:04 AM.