View previous topic :: View next topic |
Author |
Message |
oddle n00b
Joined: 11 May 2004 Posts: 24
|
Posted: Tue Jun 14, 2005 3:01 pm Post subject: C compiler cannot create executables |
|
|
All,
I started a process that I had HOPED would be quick and painless but so far has been very difficult (at least for me). What I am trying to do is do an upgrade of gnome on my E250. So far I have had MD5SUM failures on packages in portage, I ran into a dependencies problem with evolution-data-server and libsoup.2.2.so vs libsoup.2.3.so. Now I'm running into another problem.
during my
I get another error that says
Code: |
checking cache ./config.cache
checking host system type. . . sparc-unknown-linux-gnu
checking target system type. . . sparc-unknown-linux-gnu
checking build system type. . . sparc-unknown-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 -02 -pipe -mcpu-ultrasparc ) works. . . no
configure: error: installation or configuration problem: C compiler cannot create executables.
!!! ERROR: sys-devel/binutils-2.16.1 failed.
!!! Function toolchain-binutils_src_compile, Line 126, Exitcode 1
!!! configure failed
!!! If you need support, post the topmost build error, NOT this status message.
|
Any help on this??
Thanks
Oddle |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
oddle n00b
Joined: 11 May 2004 Posts: 24
|
Posted: Tue Jun 14, 2005 5:51 pm Post subject: Thanks... will let you know how it goes from here |
|
|
tomk,
I went to the FAQ link and I had either tried each solution or the proposed solution did not work, UNTIL I got to nearly the bottom of page 3 and found toddles13 post about binutils-config. While the solution to my problem was not exactly what he proposed (there isn't a --sparc option), his post did point me to a solution. The solution that worked for me is as follows:
which shows current configuration
shows available configurations
I found that my binutils-config current configuration was pointing to a profile that didn't exist. To fix this I used the following
Code: |
binutils-config sparc-unknown-linux-gnu-X.X.X
|
where sparc-unknown-linux-gnu-X.X.X was the latest available version from the binutils-config -l command
and finally
Code: |
source /etc/profile
|
when running the source /etc/profile, I did get an error about an IF Statement... but it all seems to be working now... will update more later.
Thanks
Oddle |
|
Back to top |
|
|
equi-NoX Apprentice
Joined: 17 Feb 2004 Posts: 172 Location: Paris, France
|
Posted: Tue Jun 14, 2005 6:20 pm Post subject: |
|
|
I had the same problem and it just works now, thanks ! |
|
Back to top |
|
|
oddle n00b
Joined: 11 May 2004 Posts: 24
|
Posted: Tue Jun 14, 2005 7:42 pm Post subject: update on my emerge |
|
|
Well I have emerged about half of the packages required when performing a
and so far no errors. I hate to change the main topic to [SOLVED] but I'm thinking it will be going that way soon!
Glad this helped equi-Nox
Thanks All
Oddle |
|
Back to top |
|
|
ktech Guru
Joined: 12 Apr 2003 Posts: 340
|
Posted: Tue Jun 14, 2005 8:01 pm Post subject: |
|
|
binutils package should be modified to acomplish this, as I have had the same problem... |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Tue Jun 14, 2005 9:38 pm Post subject: |
|
|
binutils-2.16.1? That sounds terribly like a blanket ACCEPT_KEYWORDS=~sparc somewhere.
People, you should know that doing ~arch isn't for the faint of heart.
~arch is testing - things can break, and they do.
If you just want some ~arch package or stuff please use /etc/portage/package.* (man 5 portage) for that.
It's not fun getting hit by core or toolchain stuff breaking, and when you realize it may be a real PITA to roll back. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
rsborn Tux's lil' helper
Joined: 10 Feb 2004 Posts: 105 Location: Webster, NY
|
Posted: Tue Jun 14, 2005 11:29 pm Post subject: |
|
|
I agree with you Gustavo, the problem is there is not as many of us sparc guys and the packages tend to stay ~ longer than most of us like. I for one keep ~sparc as a default but won't do an emerge world until a day or so after my sync, let the real daring ones wring out the really weird problems
Rick |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Wed Jun 15, 2005 12:58 am Post subject: |
|
|
For ebuilds that have been ~sparc forever with no stable version and are known to work you can report them on https://bugs.gentoo.org (assigned to sparc@).
Same applies for ebuilds that are not even keyworded ~sparc.
There are plans to make kind of a testing team for sparc (like amd64 has), not official devs, to help on keywording/testing.
But please, only stuff you use, not just go plain testing anything nobody cares about and reporting to score points since they later take time out of devels hands to maintain. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
rsborn Tux's lil' helper
Joined: 10 Feb 2004 Posts: 105 Location: Webster, NY
|
Posted: Wed Jun 15, 2005 4:00 am Post subject: |
|
|
Yep, I completely agree, a few months ago I needed Plone for a little project I was doing and it was masked (missing keyword), this forced me to setup a portage overlay and set all of the keywords, tested and then wrote bugs on the missing keywords. Hopefully everyone that needs a package does this sort of thing. |
|
Back to top |
|
|
|