Closed Dxhs closed 7 years ago
What version of python are you using?
Python 3.6.1
so the tools haven't yet been ported to python3 (see https://github.com/dell/libsmbios/issues/7 being open). @prabhakarpujeri hasn't made any progress on that yet. If you would like to help, pull requests are welcome.
After building with from a git checkout, I can't get any smbios commands to run. For instance:
> smbios-thermal-ctl
ReturnsFile "/usr/local/sbin/smbios-thermal-ctl", line 73
return ((num >> (byte_pos*8)) & 0xFF)
^
SyntaxError: invalid syntax
Different commands yield errors in different files.
I wanted to try the recommended build method, but when executing ./configure.ac I get another syntax error.
./configure.ac: line 14: syntax error near unexpected token [release_major_version],'
./configure.ac: line 14: m4_define([release_major_version], [2])'
Any help is appreciated, thanks.