LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-27-2012, 11:54 PM   #1
Veena_Gecw
LQ Newbie
 
Registered: Oct 2012
Posts: 13

Rep: Reputation: Disabled
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..

Last edited by Veena_Gecw; 10-28-2012 at 02:54 AM.
 
Old 10-29-2012, 02:19 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS 6.5 : Step 6.7 Installing Linux API headers : make headers_check/install error tsong99 Linux From Scratch 12 12-25-2012 04:26 PM
LFS 6.7 6.20 Util-Linux-ng-2.18 Error on make. SoupFlies Linux From Scratch 9 01-13-2011 08:28 AM
lfs:/mnt/lfs/sources/util-linux-2.12r$ cp -v mount/{,u}mount text-utils/more /tools/b arougen02 Linux From Scratch 5 03-19-2008 01:15 PM
lfs:/mnt/lfs/sources/util-linux-2.12r$ cp -v mount/{,u}mount text-utils/more /tools/b arougen02 Linux - Newbie 2 03-16-2008 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration