LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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
 
LinkBack Search this Thread
Old 03-24-2008, 08: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, 07: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, 07: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: 120Reputation: 120
It's probably worth you posting the fix just in case someone else looks up your post
 
Old 03-26-2008, 08: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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 07:02 AM
glibc chapter 6.9 error jol123 Linux From Scratch 1 03-28-2007 04:03 PM
Possible Error in Book -- Adjusting Toolchain suma17 Linux From Scratch 9 10-13-2005 04:06 AM
5.9. Adjusting the Toolchain - Error Spudds Linux From Scratch 6 02-23-2005 09:22 AM
LFS chapter 5 adjusting the tool chain JusCrzn Linux From Scratch 1 12-20-2004 06:32 PM


All times are GMT -5. The time now is 02:49 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration