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
 
LinkBack Search this Thread
Old 07-30-2003, 02:38 PM   #1
Terra
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
linux-2.4.19,hlep


t:/static/src/linux-2.4.19# chown -R root /bin
root:/static/src/linux-2.4.19# ln -s /static/bin/pwd /bin/pwd && make mrproper && make include/linux/version.h && make symlinks && cp -HR include/asm /usr/include && cp -R include/asm-generic /usr/include && cp -R include/linux /usr/include && touch /usr/include/linux/autoconf.h && rm /bin/pwd
ln: `/bin/pwd': File exists
 
Old 07-30-2003, 03:04 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,049
Blog Entries: 4

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
And?

What are you trying to do, how are you trying to do it and what is it doing that you don't like?

Collectively we are all helpful and able to help, but until Linus Torvalds codes a telepathy module for the kernel you have to give a lot more information.
 
Old 07-30-2003, 03:32 PM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Distribution: Debian 6.0.3, Ubuntu Server 10.04
Posts: 2,587

Rep: Reputation: 266Reputation: 266Reputation: 266
#1) I'm not sure why you "chown -R root /bin"; Root can read/write anything it wants at anytime, and I don't remember that being a part of the LFS book. It doesn't affect your problem, but it's an unnecessary step.

#2) The error is saying you alrady have a /bin/pwd (I know: "No $@&! Sherlock!"), so you need to do some research. Find out if the /bin/pwd is a legitimate executable. If it is, then you can skip that part of the command (and you'll want to take off the rm at the end too). That's doubtful because you should have chroot'ed into your LFS system at this point, and /bin/pwd should not exist at that point.

If /bin/pwd is a symlink, that suggests you tried the command earlier and it failed before it got to "rm /bin/pwd". So, you can either "rm /bin/pwd" and issue the command again, change "ln -s" to "ln -sf", or skip that portion of the command entirely.

P.S. I would also be helpful to mention you're using a previous version of the LFS book and, like XavierP mentioned, to clarify what the problem is, even if it might seem obvious. I couldn't tell at first until I squinted to see the "ln: `/bin/pwd': File exists" in that long glob of a command (a couple newlines wouldn't hurt either... )
 
  


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
Slackware 10.1 network hlep caulfiek Slackware 6 08-04-2005 03:06 AM
Hlep installing gtk-gnutella mike8994 Linux - Newbie 8 05-25-2004 02:58 PM
apache hlep Lawful Linux - Networking 4 05-08-2004 02:09 PM
hlep with samba monkeymartin Linux - Networking 1 04-03-2003 06:12 AM
3com 3cr990 and Redhat 8 - need hlep installing FiniteState Linux - Networking 5 02-03-2003 11:05 AM


All times are GMT -5. The time now is 08:56 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
Open Source Consulting | Domain Registration