Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Error during installing glibc-2.2.5 as follow:
loading cache ./config_cache
checking host system type : i686-pc-linux-gnu
checking sysdep dir .........
checking for a bsd comp inst .... /bin/install -c
checking ln - s ... yes
check pwd ... /bin/pwd
check system type i686.....
check gcc .... no
check cc ..... no
check gnumake ..... no
check gmake ..... no
check make .... no
configure: error:
*** These critical programs are missing or too old: gcc make
*** Check the INSTALL file for required versions.
I have no name!:/usr/src/glibc-build#
Please help me to rectify these problems ....
Thanks in advance.
BTW: I'm installing from Mandrake 8.0. $LFS is in hdb1.
The same problems occur after re-install gcc & make.
I think I must be miss something, gcc & make from / can run but in /usr/bin cannot.
configure: error:
*** These critical programs are missing or too old:gcc make
*** Check the INSTALL file for required versions.
I have no name!:/usr/src/glibc-build#gcc
bash: gcc: command not found
I have no name!:/usr/src/glibc-build#cd /usr/bin
I have no name!:/usr/bin#gcc
bash: gcc: command not found
I have no name!:/usr/bin#ls
addr2line cksum factor gzexe make pathchk sdiff texindex yes
ar cmp fmt hostid makeinfo pgawk seq tr zcat
as comm fold i686-pc-linux-gnu-gcc md5sum pinky size tsort zcmp
awk cpp g++ id nice pr sort tty zdiff
bzcmp csplit gasp igawk nl printenv split unexpand zforce
bzdiff cut gawk info nm printf strings uniq zgrep
bzegrep diff gawk-3.1.0 infokey nohup protoize strip unprotoize zmore
bzfgrep diff3 gcc install objcopy ptx sum uptime znew
bzgrep dirname gcov install-info objdump pwcat tac users
c++ env gprof join od ranlib tail wc
c++filt expand grcat ld paste readelf tee who
cc expr groups logname patch rmt texi2dvi whoami
I have no name!:/usr/bin#cd /
I have no name!:/#gcc
gcc: No input files
I have no name!:/#make
make: *** No targets specified and no makefile found. Stop.
I have no name!:/#cd /usr/bin
I have no name!:/usr/bin#make
bash: usr/bin/make: No such file or directory
It looks like your $PATH isn't set properly. I'm guessing it contains "usr/bin" instead of "/usr/bin" that's why when you run from the / directory usr/bin/gcc exists, but when you run from any other directory there's no usr/bin directory under the directory you are at.
So, check $LFS/root/.bash_profile and fix it if that's the case.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.