LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-11-2004, 10:56 AM   #1
JusCrzn
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
LFS chapter 5 adjusting the tool chain


Hello,
I'm having a problem in chapter 5 "adjusting the toolchain",
The LFS I'm using is 5.1.1(stable) and my host is Slackware 10.
When amending the GCC specs file with,

SPECFILE=/tools/lib/gcc-lib/*/*/specs &&
sed -e 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2@g' \
$SPECFILE > tempspecfile &&
mv -f tempspecfile $SPECFILE &&
unset SPECFILE
The output is,
bash tempspecfile: permission denied

I have cut and pasted it and typed it in and the output is the same in either case,also I have traced my steps up to that point several times.

Is something from the host finding it's way in?....if so how can I correct this.

Thanks
 
Old 12-20-2004, 06:32 PM   #2
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 121

Rep: Reputation: 15
Have you got write permissions to the directory you are doing this in? (should be owned by LFS user)
 
  


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 Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
chapter 6.3 of LFS 6.1 Stamp Linux From Scratch 2 07-22-2005 07:10 AM
I want to build mips-ecoff-gcc tool chain under Cygwin. keyboard Programming 4 05-31-2005 03:22 AM
what is tool chain? blackzone Linux - Hardware 1 09-23-2004 04:30 AM
LFS 5.0 Chapter 5 cuco76 Linux From Scratch 1 11-23-2003 10:28 PM


All times are GMT -5. The time now is 09:57 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