LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-01-2005, 01:38 PM   #1
red118a
Member
 
Registered: Nov 2003
Location: Decatur, Georgia
Distribution: Oracle Solaris 10, Fedora 14
Posts: 39

Rep: Reputation: 15
glibc complie problem.


I can not get glibc to 'make check' without errors! please help I have been searching but I cannot find the answer. Maybe I am not performing an effective search. If i run 'make install' it tells me that glibc installed ok but if I try to move on to compiling gcc it errors out during make -k.


My hardware is a gateway with 758ram and a 550mhz p3 I am hosting LFS on a fedora 3 install with all the development tools installed

If more information is needed please let me know


Here is the output from the Glibc 'make check'

Code:
GCONV_PATH=/sources/glibc-build/iconvdata LC_ALL=C   /sources/glibc-build/elf/ld-linux.so.2 --library-path /sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/nptl /sources/glibc-build/iconvdata/bug-iconv3  > /sources/glibc-build/iconvdata/bug-iconv3.out
/bin/sh -e run-iconv-test.sh /sources/glibc-build > /sources/glibc-build/iconvdata/iconv-test.out
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
make[2]: *** [/sources/glibc-build/iconvdata/iconv-test.out] Error 1
make[2]: Leaving directory `/sources/glibc-2.3.4-20040701/iconvdata'
make[1]: *** [iconvdata/tests] Error 2
make[1]: Leaving directory `/sources/glibc-2.3.4-20040701'
make: *** [check] Error 2
GCONV_PATH=/sources/glibc-build/iconvdata LC_ALL=C   /sources/glibc-build/elf/ld-linux.so.2 --library-path /sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/nptl /sources/glibc-build/iconvdata/bug-iconv3  > /sources/glibc-build/iconvdata/bug-iconv3.out
/bin/sh -e run-iconv-test.sh /sources/glibc-build > /sources/glibc-build/iconvdata/iconv-test.out
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
run-iconv-test.sh: line 138: cmp: command not found
make[2]: *** [/sources/glibc-build/iconvdata/iconv-test.out] Error 1
make[2]: Leaving directory `/sources/glibc-2.3.4-20040701/iconvdata'
make[1]: *** [iconvdata/tests] Error 2
make[1]: Leaving directory `/sources/glibc-2.3.4-20040701'
make: *** [check] Error 2
root:/sources/glibc-build#
 
Old 04-01-2005, 02:01 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
It looks like you forgot to install diffutils when you did chapter 5. cmp should be in /mnt/lfs/tools/bin
If there is a cmp there but it's not functional it probably means that it's linked to the things on your host system which means that you didn't set up the environment properly when you compiled the stuff in /mnt/lfs/tools. Next time, do it properly
 
Old 04-01-2005, 08:23 PM   #3
red118a
Member
 
Registered: Nov 2003
Location: Decatur, Georgia
Distribution: Oracle Solaris 10, Fedora 14
Posts: 39

Original Poster
Rep: Reputation: 15
thanks

Thank you so much I am going to give this a try monday. I will get back to you with the results.
 
  


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
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
how to complie php with imap shitoryu Linux - Software 0 08-16-2005 09:02 AM
QT3,use from CD or complie myself? ngan_yine Mandriva 0 01-14-2004 08:13 AM
complie under qt macro-linux Programming 10 11-06-2003 05:18 AM
I had a error during kernel complie.. what should I do..?? HeyJude Linux - General 2 09-09-2003 05:21 AM

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

All times are GMT -5. The time now is 02:58 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