LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-27-2002, 02:23 AM   #1
fend88
LQ Newbie
 
Registered: Apr 2002
Posts: 19

Rep: Reputation: 0
Question LFS 3.3 - chapter 6 - glibc error


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.
 
Old 04-27-2002, 06:21 AM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Check if those missing files /usr/bin/gcc and /usr/bin/make exist. If so they are most likely not statically linked.

Exit chroot, reinstall those packages and try again.
 
Old 04-27-2002, 09:12 PM   #3
fend88
LQ Newbie
 
Registered: Apr 2002
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks.
gcc and make are inside $LFS/usr/bin.
Now I'm reinstalling gcc and make packages.
I'll post the result as soon as the installation completed.
 
Old 04-27-2002, 09:43 PM   #4
fend88
LQ Newbie
 
Registered: Apr 2002
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 04-28-2002, 11:01 AM   #5
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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.
 
Old 04-28-2002, 11:06 PM   #6
fend88
LQ Newbie
 
Registered: Apr 2002
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks a lot.
It's true that I type usr/bin instead of /usr/bin in the $LFS/root/.bash_profile.
Now I'm working on glibc.
 
  


Reply



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
LFS 6.0 Chapter 6: compiling glibc problem Sakur Linux From Scratch 3 08-13-2005 11:39 PM
LFS 6-1: Glibc Test Suite Fails at end with 2 errors in Chapter 6 TGWDNGHN Linux From Scratch 1 07-26-2005 12:23 PM
LFS 6, chapter 6.11; Glibc 'make check' error Zamochit Linux From Scratch 5 05-31-2005 12:54 PM
Error in Glibc Chapter-6 LFS ver-6..Help pls?? chakkaradeepcc Linux From Scratch 10 05-23-2005 12:33 PM
glibc-2.3.3 in chapter 6 error znif Linux From Scratch 11 06-28-2004 07:15 AM

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

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