Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 04-13-2004, 04:35 PM   #1
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
/usr/bin/find :No such file or Directory errors while trying to compile kernel.

While trying to recompile my kernel to include cdrom writer support I kept gettin errors so I decided to just use the 2.6.5 kernel since I would have to recompile the alsa sound modules as well.
Im getting the same errros with the 2.6.5 kernel as well.

[root@lfs /usr/src/linux-2.6.5]# make mrproper
/bin/sh: line 1: /usr/bin/find: No such file or directory
/bin/sh: line 1: /usr/bin/xargs: No such file or directory
make: *** [clean] Error 127
/usr/bin/find and /usr/bin/xargs are there. They are also in my path. Some are in there twice... need to fix that..

[root@lfs /usr/src/linux-2.6.5]# echo $PATH
Why is it showing them as not found?

( EDIT )

Another interesting thing that might be of some use. I went into /usr/bin directory and did ls to see if it was there and showed it was, then did find and got bash: /usr/bin/find: No such file or directory (tried /usr/bin/find as well with same results)

Some programs that work that are in /usr/bin are xterm, aterm, xmms
Some programs that Dont work in /usr/bin are find, locate

I deleted the /tools directory recently. Seems to be just base system programs not working .. and there not links to /tools but I feel this is prob my prob....

Last edited by Zero-0-Effect; 04-13-2004 at 05:10 PM.
Old 04-16-2004, 11:19 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Create your symlink called linux to 2.6.5 directory like this:

ln -s /usr/src/linux-2.5.6 /usr/src/linux

And then cd into the linux directory to start compilation, etc.
Old 05-29-2004, 03:46 PM   #3
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
Reinstalled the finduntils package and seemed to clear things up, must of got linked to my main system or otherwise screwed up. Thx for the tip trickykid, didnt directly help me but got me thinking of they tools symlink.


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
bash: /usr/bin/localedef: No such file or directory satimis Linux From Scratch 2 07-28-2005 01:53 AM
sh: line 1: /usr/bin/(swapd): No such file or directory QtCoder Linux - General 4 04-11-2005 05:33 PM
Xawtv - Wont compile - /usr/bin/ld: cannot find -lXpm Bubba256 Linux - Software 0 10-26-2003 01:38 AM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 02:30 AM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 07:18 AM

All times are GMT -5. The time now is 05:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration