LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-27-2009, 01:11 PM   #1
kingkashif
Member
 
Registered: May 2009
Posts: 94

Rep: Reputation: 16
Glibc installation error


Hello...
I have successfully compiled Binutils 2.18 and now when i issue "make install" command then i get the following error. I don't know why
Code:
test -z "/tools/info" || mkdir -p -- "/tools/info"
 /usr/bin/install -c -m 644 './binutils.info' '/tools/info/binutils.info'
test -z "/tools/man/man1" || mkdir -p -- "/tools/man/man1"
 /usr/bin/install -c -m 644 '../.././binutils/doc/addr2line.1' '/tools/man/man1/addr2line.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/ar.1' '/tools/man/man1/ar.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/dlltool.1' '/tools/man/man1/dlltool.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/nlmconv.1' '/tools/man/man1/nlmconv.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/nm.1' '/tools/man/man1/nm.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/objcopy.1' '/tools/man/man1/objcopy.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/objdump.1' '/tools/man/man1/objdump.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/ranlib.1' '/tools/man/man1/ranlib.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/readelf.1' '/tools/man/man1/readelf.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/size.1' '/tools/man/man1/size.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/strings.1' '/tools/man/man1/strings.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/strip.1' '/tools/man/man1/strip.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/windres.1' '/tools/man/man1/windres.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/windmc.1' '/tools/man/man1/windmc.1'
 /usr/bin/install -c -m 644 '../.././binutils/doc/c++filt.1' '/tools/man/man1/c++filt.1'
make[4]: Leaving directory `/mnt/lfs/binutils-build/binutils-2.18/binutils/doc'
make[3]: Leaving directory `/mnt/lfs/binutils-build/binutils-2.18/binutils/doc'
Making install in po
make[3]: Entering directory `/mnt/lfs/binutils-build/binutils-2.18/binutils/po'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/mnt/lfs/binutils-build/binutils-2.18/binutils/po'
make[3]: Entering directory `/mnt/lfs/binutils-build/binutils-2.18/binutils'
make[4]: Entering directory `/mnt/lfs/binutils-build/binutils-2.18/binutils'
test -z "/tools/bin" || mkdir -p -- "/tools/bin"
mkdir: cannot create directory `/tools/bin': File exists
make[4]: *** [install-binPROGRAMS] Error 1
make[4]: Leaving directory `/mnt/lfs/binutils-build/binutils-2.18/binutils'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/mnt/lfs/binutils-build/binutils-2.18/binutils'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/mnt/lfs/binutils-build/binutils-2.18/binutils'
make[1]: *** [install-binutils] Error 2
make[1]: Leaving directory `/mnt/lfs/binutils-build/binutils-2.18'
make: *** [install] Error 2
any help would be appreciated greatly.

Last edited by kingkashif; 06-27-2009 at 04:17 PM.
 
Old 06-27-2009, 02:40 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Are you installing glibc or binutils? If you're trying to install glibc, you're in the wrong directory (and you didn't follow the instructions). Also, try reading section 1.5 of the book.
 
Old 06-27-2009, 04:18 PM   #3
kingkashif
Member
 
Registered: May 2009
Posts: 94

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by weibullguy View Post
Are you installing glibc or binutils? If you're trying to install glibc, you're in the wrong directory (and you didn't follow the instructions). Also, try reading section 1.5 of the book.
Ahhh sorryy ... Yeah it is Binutils and not Glibc..

So please now tell me it's solution.
 
Old 06-27-2009, 05:34 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
I take it you still haven't read section 1.5 of the LFS book. What is the output of the following
Code:
file /tools/bin
 
Old 06-28-2009, 02:46 AM   #5
kingkashif
Member
 
Registered: May 2009
Posts: 94

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by weibullguy View Post
I take it you still haven't read section 1.5 of the LFS book. What is the output of the following
Code:
file /tools/bin
well i read section 1.5 again which is a help section but i am unable to get a clue from it

the output of of file /tools/bin is

Code:
/tools/bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
 
Old 06-28-2009, 03:04 AM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by kingkashif View Post
well i read section 1.5 again which is a help section but i am unable to get a clue from it
I recommend you read it again to see if you can figure out what you forgot to do when you asked for help.

You made a mistake somewhere. /tools/bin should be a directory. You could delete /tools/bin and try to execute make install again to see if it completes. I wouldn't recommend continuing because you don't know what else is borked up. Plus, /tools/bin is some app that should be named something else.
 
  


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
Need help with glibc installation meo_beo Linux - Software 3 01-16-2009 02:44 AM
GLIBC Error when attempting installation of software dmckenna Linux - Server 1 12-26-2008 11:16 AM
i have an error when i try to install Glibc(5.7. Glibc-2.8-20080929, Version 6.4) robineecc1 Linux From Scratch 0 12-14-2008 12:45 PM
glibc installation error newcomer4 Linux - Software 1 02-03-2006 05:33 PM

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

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