Answer the question
In order to leave comments, you need to log in
./configure samba?
Good day.
I decided to install samba and it turned out that only version 4,7,6 is installed from the repository. I decided to download and configure, but after the ./configure command, errors fly out. Tell me how to solve them or how to exclude them:
[email protected]:/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'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question