Код: Выделить всё
cat /var/tmp/portage/www-apache/mod_wsgi-4.4.21/temp/build.log
* Package: www-apache/mod_wsgi-4.4.21
* Repository: gentoo
* Maintainer: djc@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_single_target_python2_7 python_targets_python2_7 python_targets_python3_4 userland_GNU
* FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking mod_wsgi-4.4.21.tar.gz to /var/tmp/portage/www-apache/mod_wsgi-4.4.21/work
>>> Source unpacked in /var/tmp/portage/www-apache/mod_wsgi-4.4.21/work
>>> Preparing source in /var/tmp/portage/www-apache/mod_wsgi-4.4.21/work/mod_wsgi-4.4.21 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-apache/mod_wsgi-4.4.21/work/mod_wsgi-4.4.21 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-apxs=/usr/sbin/apxs2 --with-python=/usr/bin/python2.7
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/www-apache/mod_wsgi-4.4.21/work/mod_wsgi-4.4.21':
configure: error: C compiler cannot create executables
See `config.log' for more details
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/www-apache/mod_wsgi-4.4.21/work/mod_wsgi-4.4.21/config.log
* ERROR: www-apache/mod_wsgi-4.4.21::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 115: Called src_configure
* environment, line 3137: Called econf '--with-apxs=/usr/sbin/apxs2' '--with-python=/usr/bin/python2.7'
* phase-helpers.sh, line 662: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 117: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=www-apache/mod_wsgi-4.4.21::gentoo'`,
* the complete build log and the output of `emerge -pqv '=www-apache/mod_wsgi-4.4.21::gentoo'`.
* The complete build log is located at '/var/tmp/portage/www-apache/mod_wsgi-4.4.21/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-apache/mod_wsgi-4.4.21/temp/environment'.
* Working directory: '/var/tmp/portage/www-apache/mod_wsgi-4.4.21/work/mod_wsgi-4.4.21'
* S: '/var/tmp/portage/www-apache/mod_wsgi-4.4.21/work/mod_wsgi-4.4.21'
Разобрался. Сменился gcc
gcc-config -l
* gcc-config: Active gcc profile is invalid!
[1] x86_64-pc-linux-gnu-4.9.3
Решается gcc-config 1