Trying to build Samba 4.14rc2 on a CentOS8.0 system without development tools installed produces a weird error

Richard Sharpe realrichardsharpe at gmail.com
Fri Feb 12 02:35:47 UTC 2021


Hi folks,

I just created a CentOS 8.0 VM and had not installed the development tools yet.

When I ran configure I got the following:
----------------------
Setting top to                           : /home/rsharpe/src/samba-official
Setting out to                           : /home/rsharpe/src/samba-official/bin
Checking for 'gcc' (C compiler)          : Traceback (most recent call last):
  File "/home/rsharpe/src/samba-official/third_party/waf/waflib/Utils.py",
line 828, in wrap
    return cache[k]
KeyError: (<samba_waf18.ConfigurationContext object at 0x7fe8a08d3cf8>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rsharpe/src/samba-official/third_party/waf/waflib/Utils.py",
line 828, in wrap
    return cache[k]
KeyError: (<samba_waf18.ConfigurationContext object at 0x7fe8a08d3cf8>,)

During handling of the above exception, another exception occurred:
----------------------

Would it be possible to check that gcc and the other development tools
are installed and give a better error message?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)



More information about the samba-technical mailing list