LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 10-30-2009, 10:22 AM   #1
aahiqmir
LQ Newbie
 
Registered: Apr 2008
Posts: 27
Thanked: 0
lfs 6.5 glibc script error


[Log in to get rid of this advertisement]
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 10:29 AM.. Reason: solved
linux aahiqmir is offline     Reply With Quote
Old 10-30-2009, 10:39 AM   #2
druuna
Senior Member
 
Registered: Sep 2003
Location: netherlands
Distribution: lfs
Posts: 3,269
Thanked: 78
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.
druuna is offline     Reply With Quote
Thanked by:

Reply

Bookmarks


Thread Tools

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 wannessmet Linux From Scratch 0 10-16-2009 09:44 PM
LFS 6.3- 6.9. Glibc-2.5.1 compilation error Vxplus Linux From Scratch 14 11-22-2008 05:46 PM
glibc-2.3.3-lfs-5.1 error Zamochit Linux From Scratch 8 01-13-2005 07:00 AM
make glibc error (LFS) gatblast45 Linux - Software 3 12-21-2004 12:30 PM
LFS 3.3 - chapter 6 - glibc error fend88 Linux From Scratch 5 04-29-2002 12:06 AM


All times are GMT -5. The time now is 09:27 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration