LINUX.ORG.RU
решено ФорумAdmin

Не емерджица uwsgi

 ,


0

1

Здравствуйте. Прошу помощи собрать uwsgi, ума не приложу что ему нужно. Заранее благодарен.

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) www-servers/uwsgi-2.0.9::gentoo
>>> Failed to emerge www-servers/uwsgi-2.0.9, Log file:
>>>  '/var/tmp/portage/www-servers/uwsgi-2.0.9/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.09, 0.12, 0.13
 * Package:    www-servers/uwsgi-2.0.9
 * Repository: gentoo
 * Maintainer: ultrabug@gentoo.org python@gentoo.org
 * USE:        abi_x86_32 elibc_glibc kernel_linux python python_targets_python2_7 python_targets_python3_4 userland_GNU uwsgi_plugins_cache uwsgi_plugins_carbon uwsgi_plugins_cheaper_busyness uwsgi_plugins_corerouter uwsgi_plugins_fastrouter uwsgi_plugins_http uwsgi_plugins_logfile uwsgi_plugins_logsocket uwsgi_plugins_mongodblog uwsgi_plugins_nagios uwsgi_plugins_ping uwsgi_plugins_rawrouter uwsgi_plugins_redislog uwsgi_plugins_router_basicauth uwsgi_plugins_router_cache uwsgi_plugins_router_expires uwsgi_plugins_router_hash uwsgi_plugins_router_http uwsgi_plugins_router_memcached uwsgi_plugins_router_metrics uwsgi_plugins_router_redirect uwsgi_plugins_router_redis uwsgi_plugins_router_rewrite uwsgi_plugins_router_static uwsgi_plugins_router_uwsgi uwsgi_plugins_rpc uwsgi_plugins_signal uwsgi_plugins_spooler uwsgi_plugins_symcall uwsgi_plugins_syslog uwsgi_plugins_transformation_chunked uwsgi_plugins_transformation_gzip uwsgi_plugins_transformation_offload uwsgi_plugins_transformation_tofile uwsgi_plugins_ugreen uwsgi_plugins_zergpool x86
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
>>> cfg-update-1.8.2-r1: Skipping checksum index updating...
>>> Unpacking source...
>>> Unpacking uwsgi-2.0.9.tar.gz to /var/tmp/portage/www-servers/uwsgi-2.0.9/work
>>> Source unpacked in /var/tmp/portage/www-servers/uwsgi-2.0.9/work
>>> Preparing source in /var/tmp/portage/www-servers/uwsgi-2.0.9/work/uwsgi-2.0.9 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-servers/uwsgi-2.0.9/work/uwsgi-2.0.9 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-servers/uwsgi-2.0.9/work/uwsgi-2.0.9 ...
using profile: buildconf/gentoo.ini
detected include path: ['/usr/include', '/usr/local/include']
Traceback (most recent call last):
  File "uwsgiconfig.py", line 692, in __init__
    gcc_major = int(gcc_version.split('.')[0])
AttributeError: 'NoneType' object has no attribute 'split'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "uwsgiconfig.py", line 1550, in <module>
    uc = uConf(bconf, is_cflags)
  File "uwsgiconfig.py", line 695, in __init__
    raise Exception("you need a C compiler to build uWSGI")
Exception: you need a C compiler to build uWSGI
 * ERROR: www-servers/uwsgi-2.0.9::gentoo failed (compile phase):
 *   building uwsgi failed
 * 
 * Call stack:
 *     ebuild.sh, line 133:  Called src_compile
 *   environment, line 7461:  Called die
 * The specific snippet of code:
 *       python uwsgiconfig.py --build gentoo || die "building uwsgi failed";
 * 
 * If you need support, post the output of `emerge --info '=www-servers/uwsgi-2.0.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-servers/uwsgi-2.0.9::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =uwsgi-2.0.9
 * The complete build log is located at '/var/tmp/portage/www-servers/uwsgi-2.0.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/uwsgi-2.0.9/temp/environment'.
 * Working directory: '/var/tmp/portage/www-servers/uwsgi-2.0.9/work/uwsgi-2.0.9'
 * S: '/var/tmp/portage/www-servers/uwsgi-2.0.9/work/uwsgi-2.0.9'

 * Messages for package www-servers/uwsgi-2.0.9:

 * ERROR: www-servers/uwsgi-2.0.9::gentoo failed (compile phase):
 *   building uwsgi failed
 * 
 * Call stack:
 *     ebuild.sh, line 133:  Called src_compile
 *   environment, line 7461:  Called die
 * The specific snippet of code:
 *       python uwsgiconfig.py --build gentoo || die "building uwsgi failed";
 * 
 * If you need support, post the output of `emerge --info '=www-servers/uwsgi-2.0.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-servers/uwsgi-2.0.9::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-servers/uwsgi-2.0.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/uwsgi-2.0.9/temp/environment'.
 * Working directory: '/var/tmp/portage/www-servers/uwsgi-2.0.9/work/uwsgi-2.0.9'
 * S: '/var/tmp/portage/www-servers/uwsgi-2.0.9/work/uwsgi-2.0.9'

★★★

File «uwsgiconfig.py», line 695, in __init__
raise Exception(«you need a C compiler to build uWSGI»)

Занимательно :)

Just for sure – gcc установлен и работает?

Stil ★★★★★
()
Ответ на: комментарий от Stil

Вчера буквально обновил на версию 4.9.3

xaTa ★★★
() автор топика
Ответ на: комментарий от Stil

Остальные версии говорят тоже самое, так что думаю тут дело не в 2.0.9

xaTa ★★★
() автор топика
Ответ на: комментарий от deterok

Нет. Выяснил: Оказывается вчера обновил версию gcc, снес старую, но не переключился на новую. Все беды от дурной головы.

xaTa ★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.