Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't 'make'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tant0c1b0
n00b
n00b


Joined: 01 Aug 2013
Posts: 59

PostPosted: Wed Oct 16, 2013 2:26 pm    Post subject: Can't 'make' Reply with quote

Hi,
I have problems when emerging/building packages from source. I can't do any of these actions because I always get errors. For example, trying to emerge java:
Code:
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-libs/giflib-4.1.6-r2/work/giflib-4.1.6/config.log
 * ERROR: media-libs/giflib-4.1.6-r2::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2560:  Called econf '--disable-gl' '--disable-static' '--enable-x11' '--disable-rle'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *            die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=media-libs/giflib-4.1.6-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/giflib-4.1.6-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/giflib-4.1.6-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/giflib-4.1.6-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/giflib-4.1.6-r2/work/giflib-4.1.6'
 * S: '/var/tmp/portage/media-libs/giflib-4.1.6-r2/work/giflib-4.1.6'

>>> Failed to emerge media-libs/giflib-4.1.6-r2, Log file:

>>>  '/var/tmp/portage/media-libs/giflib-4.1.6-r2/temp/build.log'

 * Messages for package media-libs/giflib-4.1.6-r2:

 * ERROR: media-libs/giflib-4.1.6-r2::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2560:  Called econf '--disable-gl' '--disable-static' '--enable-x11' '--disable-rle'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *            die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=media-libs/giflib-4.1.6-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/giflib-4.1.6-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/giflib-4.1.6-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/giflib-4.1.6-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/giflib-4.1.6-r2/work/giflib-4.1.6'
 * S: '/var/tmp/portage/media-libs/giflib-4.1.6-r2/work/giflib-4.1.6'

Or when emerging gdb (GNU Debugger):
Code:
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-devel/gdb-7.5.1/work/gdb-7.5.1/config.log
 * ERROR: sys-devel/gdb-7.5.1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2514:  Called econf '--with-pkgversion=Gentoo 7.5.1 p2' '--with-bugurl=http://bugs.gentoo.org/' '--disable-werror' '--enable-gdbserver=auto' '--enable-64-bit-bfd' '--disable-install-libbfd' '--disable-install-libiberty' '--with-system-readline' '--with-separate-debug-dir=/usr/lib/debug' '--without-expat' '--enable-nls' '--with-python=/usr/bin/python2' '--with-zlib'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *            die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gdb-7.5.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gdb-7.5.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/gdb-7.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gdb-7.5.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/gdb-7.5.1/work/gdb-7.5.1'
 * S: '/var/tmp/portage/sys-devel/gdb-7.5.1/work/gdb-7.5.1'

>>> Failed to emerge sys-devel/gdb-7.5.1, Log file:

>>>  '/var/tmp/portage/sys-devel/gdb-7.5.1/temp/build.log'

 * Messages for package sys-devel/gdb-7.5.1:

 * ERROR: sys-devel/gdb-7.5.1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2514:  Called econf '--with-pkgversion=Gentoo 7.5.1 p2' '--with-bugurl=http://bugs.gentoo.org/' '--disable-werror' '--enable-gdbserver=auto' '--enable-64-bit-bfd' '--disable-install-libbfd' '--disable-install-libiberty' '--with-system-readline' '--with-separate-debug-dir=/usr/lib/debug' '--without-expat' '--enable-nls' '--with-python=/usr/bin/python2' '--with-zlib'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *            die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gdb-7.5.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gdb-7.5.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/gdb-7.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gdb-7.5.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/gdb-7.5.1/work/gdb-7.5.1'
 * S: '/var/tmp/portage/sys-devel/gdb-7.5.1/work/gdb-7.5.1'

Do you think doing 'emerge -e' could solve? Thanks
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3598
Location: USA

PostPosted: Wed Oct 16, 2013 3:09 pm    Post subject: Reply with quote

Your build system looks pretty broken. Is your C compiler still working, it claims it's not... Did you unmerge something recently?

Try logging into the machine again using the window and see if it works through a sublogin if you haven't rebooted the machine yet. If you already rebooted then ignore this step and try again. If you haven't rebooted, don't reboot unless you have some other reason to.

If it still fails likely you'll need to use recovery methods, either getting a binary package of the compiler tools and use binpkg, or use a recovery boot disk and re-emerge them (a bit more tricky).
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8592

PostPosted: Wed Oct 16, 2013 6:57 pm    Post subject: Reply with quote

Before doing anything drastic, please follow the instructions in the output you posted.
Code:
configure: error: C compiler cannot create executables
See `config.log' for more details.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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