crushml
@crushml
I am

./configure samba?

Доброго времени суток.
Решил установить самбу и выяснилось , что с репозитория ставится версия только 4,7,6 . Решил скачать и сконфигурировать, но после команды ./configure вылетают ошибки. Подскажите как их решить или как их исключить:

root@samba:/home/samba-4.11.2# ./configure
Setting top to : /home/samba-4.11.2
Setting out to : /home/samba-4.11.2/bin
Checking for 'gcc' (C compiler) : Traceback (most recent call last):
File "/home/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap
return cache[k]
KeyError: (,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap
return cache[k]
KeyError: (,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/samba-4.11.2/third_party/waf/waflib/Scripting.py", line 159, in waf_entry_point
run_commands()
File "/home/samba-4.11.2/third_party/waf/waflib/Scripting.py", line 255, in run_commands
ctx = run_command(cmd_name)
File "/home/samba-4.11.2/third_party/waf/waflib/Scripting.py", line 239, in run_command
ctx.execute()
File "/home/samba-4.11.2/third_party/waf/waflib/Configure.py", line 159, in execute
super(ConfigurationContext, self).execute()
File "/home/samba-4.11.2/third_party/waf/waflib/Context.py", line 204, in execute
self.recurse([os.path.dirname(g_module.root_path)])
File "/home/samba-4.11.2/third_party/waf/waflib/Context.py", line 286, in recurse
user_function(self)
File "/home/samba-4.11.2/wscript", line 141, in configure
conf.RECURSE('lib/replace')
File "./buildtools/wafsamba/samba_utils.py", line 66, in fun
return f(*k, **kw)
File "./buildtools/wafsamba/samba_utils.py", line 481, in RECURSE
return ctx.recurse(relpath)
File "/home/samba-4.11.2/third_party/waf/waflib/Context.py", line 286, in recurse
user_function(self)
File "/home/samba-4.11.2/third_party/waf/waflib/Utils.py", line 830, in wrap
ret = fun(*k)
File "/home/samba-4.11.2/lib/replace/wscript", line 30, in configure
conf.RECURSE('buildtools/wafsamba')
File "./buildtools/wafsamba/samba_utils.py", line 66, in fun
return f(*k, **kw)
File "./buildtools/wafsamba/samba_utils.py", line 481, in RECURSE
return ctx.recurse(relpath)
File "/home/samba-4.11.2/third_party/waf/waflib/Context.py", line 286, in recurse
user_function(self)
File "/home/samba-4.11.2/third_party/waf/waflib/Utils.py", line 830, in wrap
ret = fun(*k)
File "/home/samba-4.11.2/buildtools/wafsamba/wscript", line 231, in configure
conf.load('compiler_c')
File "/home/samba-4.11.2/third_party/waf/waflib/Configure.py", line 271, in load
func(self)
File "/home/samba-4.11.2/third_party/waf/waflib/Tools/compiler_c.py", line 79, in configure
conf.load(compiler)
File "/home/samba-4.11.2/third_party/waf/waflib/Configure.py", line 271, in load
func(self)
File "/home/samba-4.11.2/third_party/waf/waflib/Tools/gcc.py", line 148, in configure
conf.find_gcc()
File "/home/samba-4.11.2/third_party/waf/waflib/Configure.py", line 317, in fun
return f(*k, **kw)
File "/home/samba-4.11.2/third_party/waf/waflib/Tools/gcc.py", line 20, in find_gcc
conf.get_cc_version(cc, gcc=True)
File "/home/samba-4.11.2/third_party/waf/waflib/Configure.py", line 317, in fun
return f(*k, **kw)
File "/home/samba-4.11.2/third_party/waf/waflib/Tools/c_config.py", line 1010, in get_cc_version
cmd = cc + ['-dM', '-E', '-']
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'
  • Вопрос задан
  • 69 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы