LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS issues - minor bugs - Unmask and locate (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-issues-minor-bugs-unmask-and-locate-227803/)

Divos 09-07-2004 01:57 PM

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?

320mb 09-07-2004 02:29 PM

you need to have a linux physically installed in order to do LFS!!!

a liveCD won't cut it.

Divos 09-07-2004 02:31 PM

ahh, ok, good enough, someone advised I do it that way :) Guess I know better now.

Not now, John! 09-07-2004 02:51 PM

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?

Cerbere 09-08-2004 05:36 AM

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

webwolf70 09-24-2004 07:07 PM

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 :scratch:



Webwolf

Yerp 10-23-2004 01:08 AM

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..


All times are GMT -5. The time now is 04:18 AM.