LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Installation of Binutils(configure:error:installation or configuration problem:C ...) (http://www.linuxquestions.org/questions/linux-from-scratch-13/installation-of-binutils-configure-error-installation-or-configuration-problem-c-551449/)

h_r0019 05-05-2007 04:32 AM

Installation of Binutils(configure:error:installation or configuration problem:C ...)
 
after run
../binutils-2.16.1/configure --prefix=/tools --disable-nls
I get

oading 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 In works... yes
checking whether In -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.

I check my hardware.It can handle LFS.
I remove the binutils-2.16.1 and binutils-build directory, unpack binutils-2.16.1.tar.bz2 again and start from ,but I have this problem yet.

jschiwal 05-05-2007 07:40 AM

Googling with that error message, there are a number of possible reasons that people have found, from trying to compile in a directory without full permissions, needing to install a package ( build-essentials, glibc, etc. ), wrong version of gcc or ld for the package you downloaded.

Post the config.log file around that area where the error occurred. It may provide clues.


All times are GMT -5. The time now is 07:14 PM.