LinuxQuestions.org
Visit Jeremy's Blog.
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 09-07-2004, 01:57 PM   #1
Divos
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Rep: Reputation: 0
LFS issues - minor bugs - Unmask and locate


This isn't really an issue with LFS but most likely something I am doing wrong.

I am using a livecd edition of gentoo as my host system so I can keep my hard drive totally dedicated to LFS

First issue I have is the following.

when logging in as lfs I get the error message
Quote:
bash: unmask: command not found
I am assuming this is a result of of the line
Quote:
unmask 022
this would be from following instructions on page 37 of the PDF document.

This I assume will affect me to some degree later on.


Also my locate command is not functioning, this could be a result of using a livecd copy of gentoo. Is there a way to make this work?

If this has all been covered I apologize, my searches did not net me what i was looking for.

Couple of other notes when trying to install binutils I get compiler errors, specifically this.
Quote:
../binutils-2.14/configure --prefix=/tools --disable-nls
I get this error address.
Quote:
Could not run/locate "gcc"
Quote:
*** The command 'gcc -o conftest -O2 conftest.c' failed.
Quote:
*** You must set the environment variable CC to a working compiler.
Is this an issue with using LiveCD or did I miss a step?

Last edited by Divos; 09-07-2004 at 02:16 PM.
 
Old 09-07-2004, 02:29 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
you need to have a linux physically installed in order to do LFS!!!

a liveCD won't cut it.
 
Old 09-07-2004, 02:31 PM   #3
Divos
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0
ahh, ok, good enough, someone advised I do it that way Guess I know better now.
 
Old 09-07-2004, 02:51 PM   #4
Not now, John!
Member
 
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161

Rep: Reputation: 30
Quote:
Originally posted by 320mb
you need to have a linux physically installed in order to do LFS!!!

a liveCD won't cut it.
I didn't know that. Can you please explain why?
 
Old 09-08-2004, 05:36 AM   #5
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Quote:
Originally posted by 320mb
you need to have a linux physically installed in order to do LFS!!!

a liveCD won't cut it.
I don't think this is correct. While I've never built a system using a liveCD for the build, there are several posters to this forum who claim to have done it with Knoppix.

Divos, the reason that you can't find a command 'unmask' is because it is 'umask', without an 'n'.

As for your other error:
Quote:
Could not run/locate "gcc"
This is not a problem with locate, it is telling you that the 'gcc' compiler can not be located. Apparently the liveCD you're using doesn't have the gcc compiler installed. You'll need to use another LiveCD, which has a compiler, devel tools, and kernel source. Take a look at this thread.

Enjoy!
--- Cerbere
 
Old 09-24-2004, 07:07 PM   #6
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Rep: Reputation: 30
Quote:
Originally posted by Cerbere


Divos, the reason that you can't find a command 'unmask' is because it is 'umask', without an 'n'.-- Cerbere
Well, I didn't ask the question but I had the same problem, lol. I did it twice and it told me the same thing; bash: Unmask: Command not found. Now I know. umask, not unmask, lol. Damn typos get me everytime



Webwolf
 
Old 10-23-2004, 01:08 AM   #7
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
this is all itneresting to me, as the LFS team has already created a livecd to install their latest LFS Development versions on the 2.6 kernal... which proves that LiveCD's do work (at least for the 2.6 kernel)

the problem may be in the specific live-cd distro your using..
 
  


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
Unmask IwantLINUX Linux - Newbie 2 06-02-2005 09:30 AM
Minor FireFox issues with Gentoo vharishankar Linux - Software 9 04-26-2005 11:35 PM
A few minor KDE issues DaBlade Linux - General 15 12-21-2004 07:19 AM
Minor Mozilla issues...... CaptainInsane Linux - Software 2 12-08-2003 07:58 PM
gnome2 - several minor issues timorei Linux - Software 0 03-11-2003 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:16 PM.

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
Open Source Consulting | Domain Registration