LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-15-2004, 01:42 PM   #1
pr3st0
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
"cannot exec `as': ..." AND "C compiler cannot create ..."


Hi there,
I have looked around how to fix this problem...

I got 3 different types of error.

~# emerge -a "<sys-devel/gcc-3.4.2-r2"

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] sys-devel/binutils-2.15.92.0.2-r1
[ebuild UD] sys-devel/gcc-3.4.1-r3 [3.4.2-r2]
.
.
.
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=pentium4 -fprefetch-loop-arrays -pipe ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! ERROR: sys-devel/binutils-2.15.92.0.2-r1 failed.
!!! Function src_compile, Line 78, Exitcode 1
!!! (no error message)


* Another ERROR

~# emerge -a "<sys-devel/gcc-config-1.3.7"
>>> emerge (1 of 1) sys-devel/gcc-config-1.3.6-r3 to /
.
.
.
>>> Install gcc-config-1.3.6-r3 into /var/tmp/portage/gcc-config-1.3.6-r3/image/ category sys-devel
* Compiling wrapper...
gcc: installation problem, cannot exec `as': No such file or directory



* another ERROR

~# emerge gcc

>>> emerge (1 of 3) sys-devel/binutils-2.15.92.0.2-r1 to /
>>> md5 src_uri ;-) binutils-2.15.92.0.2.tar.bz2
>>> md5 src_uri ;-) binutils-2.15.92.0.2-patches-1.1.tar.bz2
>>> Unpacking source...
>>> Unpacking binutils-2.15.92.0.2.tar.bz2 to /var/tmp/portage/binutils-2.15.92.0.2-r1/work

creating 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... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=pentium4 -fprefetch-loop-arrays -pipe ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

thank you.
[]'s
 
  


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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
error: "c compiler cannot create executables" when trying to run ./configure fedoraemu Linux - Software 2 04-24-2007 08:43 PM
No UTMPX entry, You must EXEC "login" for the lowest "shell" ooihc Solaris / OpenSolaris 7 03-12-2007 03:09 PM
snort compile errors "C compiler cannot create executables" RKris Linux - Software 2 11-07-2003 03:08 AM


All times are GMT -5. The time now is 09:56 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration