View previous topic :: View next topic |
Author |
Message |
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2021
|
Posted: Fri Jun 23, 2017 8:56 am Post subject: Broken C compiler emerging dev-libs/expat-2.2.1 [SOLVED] |
|
|
Last night I ran "emerge --update --blah blah world" and it failed at dev-libs/expat. Looking at the build logs, there was a horrible message configure: error: C compiler cannot create executables. There are lots of explanations of what to do when you have a broken C compiler in Gentoo, but I could see I'd successfully compiled stuff recently.
I looked for any relevant Gentoo bugs. There is one: dev-libs/expat-2.2.1 configure failure with app-shells/dash as /bin/sh. And yes, I am using dash. So the bypass is to
Code: | eselect sh list
eselect sh set n ## for appropriate n to get bash
emerge -1 dev-libs/expat
eselect sh set m ## to go back to dash, if you so wish
|
to use bash to handle expat.
Just posting this to save anyone else going down the rabbit hole of broken C compilers. _________________ Greybeard |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 791 Location: over here
|
Posted: Fri Jun 23, 2017 9:22 am Post subject: |
|
|
Thanks, that hit me as well. |
|
Back to top |
|
|
|
|
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
|
|