OwlCyberDefense / setools

setools has moved to https://github.com/SELinuxProject/setools
Other
91 stars 34 forks source link

Install setools4.1.0-rc on ubuntu16.04 #161

Closed xinlong-song closed 7 years ago

xinlong-song commented 7 years ago

Please tell me how to install setools4.1.0-rc on ubuntu16.04,someone can write a detailed record?Thanks ! When i install setools4.1.0-rc on ubuntu16.04,some errors always happen.

$python setup.py build libqpol/policy_scan.c: In function ‘yy_get_next_buffer’: libqpol/policy_scan.c:2785:44: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_s ^ cc1: all warnings being treated as errors error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

How to slove this problem?Anyone can tell me please?

iamantony commented 7 years ago
xinlong-song commented 7 years ago

Thank you very much,I hava builld and installed setools successfully.