LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 07-11-2005, 09:55 AM   #1
dupree
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Rep: Reputation: 0
5.3 Binutils problem


Hi, I am trying to compile binutils-2.15.94.0.2.2 in Red Hat 9. I tried what it says in the manual:
../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls

except I had it inside another dir called builds so I tried:


Code:
lfs:~$ /builds/binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
but as you can see I got an error. Anyone help me with this problem? I am logged in as user lfs like in the manual.
 
Old 07-20-2005, 05:55 PM   #2
sundialsvcs
Senior Member
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 4,551

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
What I suggest is that you look inside the configure file, e.g. with "less," and search for this message. Probably what is going wrong here is some kind of a permissions-problem: no write-access is granted to the directory where the configure file is trying to work. (Configure does a lot of stuff by writing little c-programs on the fly and compiling them.)

See also if there's any kind of "--verbose" option...
 
Old 07-20-2005, 07:36 PM   #3
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
Also, there should be a config.log, see where it stops in there, it usually says what test program it was trying to compile and such.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS-5.0 GCC problem with binutils-2.14 pass 1 NCappaZoo Linux From Scratch 6 06-14-2009 03:47 AM
Startup Problem: Binutils rvijay Linux From Scratch 10 06-15-2007 08:54 AM
binutils problem?? alaios Linux From Scratch 4 01-17-2005 09:17 AM
Installation of binutils....can't mkdir...../binutils-build hmonster Linux From Scratch 6 08-22-2004 04:07 AM
LFS 5.1.1: another problem after binutils pass 2 7.e.Q Linux From Scratch 1 07-12-2004 04:37 AM


All times are GMT -5. The time now is 05:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration