LinuxQuestions.org
Help answer threads with 0 replies.
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 04-13-2004, 05:35 PM   #1
Zero-0-Effect
Member
 
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.

Code:
[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..

Code:
[root@lfs /usr/src/linux-2.6.5]# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/X11R6/bin:
/usr/X11R6/sbin:/opt/gnome/bin:/usr/local/bin:/usr/local/sbin
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 06:10 PM.
 
Old 04-16-2004, 12:19 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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, 04:46 PM   #3
Zero-0-Effect
Member
 
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.
 
  


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
bash: /usr/bin/localedef: No such file or directory satimis Linux From Scratch 2 07-28-2005 02:53 AM
sh: line 1: /usr/bin/(swapd): No such file or directory QtCoder Linux - General 4 04-11-2005 06: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 03:30 AM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 08:18 AM


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