Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error: C compiler cannot create executables nothing emerges
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
guinness.stout
Apprentice
Apprentice


Joined: 26 Aug 2006
Posts: 237
Location: Maryland

PostPosted: Wed May 06, 2009 11:23 pm    Post subject: error: C compiler cannot create executables nothing emerges Reply with quote

Everything I try to emerge I get the error

Code:
error: C compiler cannot create executables


When I try gcc-config -l I get
Code:

/usr/bin/gcc-config: line 9: /etc/init.d/functions.sh: No such file or directory
gcc-config: Could not source /etc/init.d/functions.sh!
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu May 07, 2009 12:01 am    Post subject: Reply with quote

For me that file belongs to sys-apps/openrc (not sure on baselayout 1 systems).
Perhaps an unfinished upgrade, etc-update ?
Back to top
View user's profile Send private message
guinness.stout
Apprentice
Apprentice


Joined: 26 Aug 2006
Posts: 237
Location: Maryland

PostPosted: Thu May 07, 2009 12:06 am    Post subject: Reply with quote

I tired etc-update then doing emerge again, same problem.

# emerge -s openrc
Code:

Searching...
[ Results for search key : openrc ]
[ Applications found : 1 ]

*  sys-apps/openrc [ Masked ]
      Latest version available: 9999
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:      http://roy.marples.name/openrc
      Description:   OpenRC manages the services, startup and shutdown of a host
      License:       BSD-2
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu May 07, 2009 12:25 am    Post subject: Reply with quote

See the FAQ: GF20: C compiler cannot create executables.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Thu May 07, 2009 1:57 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum