LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-30-2009, 09:22 AM   #1
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Rep: Reputation: 15
lfs 6.5 glibc script error


Hi.


Earlier i was facing error with gcc install....
So i had to start chapter 6 gain from the beginning.But this time i am facing problem not with gcc but with glibc.

I untared glibc-libidn while in source directory AS

tar -xvf glibc-libidn-2.10.1.tar.bz2

mv -v glibc-libidn-2.10.1 libidn

BUt book says to do it as

tar -xvf ../glibc-libidn-2.10.1.tar.bz2
mv -v glibc-libidn-2.10.1 libidn

I tried the above command by the book but got this


Code:
root:/sources# tar -xvf ../glibc-libidn-2.10.1.tar.bz2
tar: ../glibc-libidn-2.10.1.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
.


now when i try :


Code:
DL=$(readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|" \
         scripts/test-installation.pl
unset DL
i get following error:
Code:
root:/sources# sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|" \
>          scripts/test-installation.pl
sed: can't read scripts/test-installation.pl: No such file or directory

PLease Help......

Last edited by aahiqmir; 10-30-2009 at 09:29 AM. Reason: solved
 
Old 10-30-2009, 09:39 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

Did you untar glibc first, enter the glibc directory and then execute the libidn related commands? Or did you do that from the source dir?

You need to be inside the untarred glibc directory.

Something like:
tar xf glibc.<version>.tar.gz
cd glibc.<version>
tar jxf ../glibc-libidn-2.10.1.tar.bz2
mv ... ....
etc


Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 error in building glibc-2.10.1 bucovaina78 Linux From Scratch 2 01-11-2011 09:02 AM
LFS 6.3- 6.9. Glibc-2.5.1 compilation error Vxplus Linux From Scratch 14 11-22-2008 04:46 PM
glibc-2.3.3-lfs-5.1 error Zamochit Linux From Scratch 8 01-13-2005 06:00 AM
make glibc error (LFS) gatblast45 Linux - Software 3 12-21-2004 11:30 AM
LFS 3.3 - chapter 6 - glibc error fend88 Linux From Scratch 5 04-28-2002 11:06 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration