LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-24-2008, 09:32 AM   #1
speedbird889
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 0
Chapter 5.7 Adjusting Toolchains... Find error


Hi all,

I am at chapter 5.7

I am typing the following command:

Code:
GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include &&
find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rvf '{}' \; &&
rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` &&
unset GCC_INCLUDEDIR
I get the following error:

Quote:
find: paths must precede expression
I am not able to solve this problem.

Any help will be appreciated.


Thanks.

Kurt
 
Old 03-24-2008, 08:40 PM   #2
speedbird889
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I have found and corrected the error.

Thank you.
 
Old 03-24-2008, 08:46 PM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It's probably worth you posting the fix just in case someone else looks up your post
 
Old 03-26-2008, 09:44 PM   #4
speedbird889
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Sorry about that.

My problem was a typo. I did not include the && in the command.

Thanks.

Kurt
 
  


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
error in adjusting tool chain in LFS 6.3 chandra123 Linux From Scratch 6 03-19-2008 08:02 AM
glibc chapter 6.9 error jol123 Linux From Scratch 1 03-28-2007 05:03 PM
Possible Error in Book -- Adjusting Toolchain suma17 Linux From Scratch 9 10-13-2005 05:06 AM
5.9. Adjusting the Toolchain - Error Spudds Linux From Scratch 6 02-23-2005 10:22 AM
LFS chapter 5 adjusting the tool chain JusCrzn Linux From Scratch 1 12-20-2004 07:32 PM


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

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