SPHERE 官方下载地址 https://www.nist.gov/itl/iad/mig/tools
1 按照指示说明,采用了推荐平台之一cygwin
This version of SPHERE has been tested on the following platforms:
Mac OS X (10.6)
Linux (Ubuntu 11.04)
Cygwin (1.7 under Windows XP)
2 出现了找不到依赖头文件 cannot find 某某 .h 专门下载gcc,用 which gcc 命令查看用的什么gcc,如果是bin/gcc,则有这个错误,如果usr/bin/gcc则没这个错误
http://perlmonks.org/?node_id=1073113
https://superuser.com/questions/647400/gcc-not-finding-header-file-though-its-path-has-been-included-with-i
OK... seem to be a couple of problems here.
First, ‘gcc‘ appears in both /bin and /usr/bin. (the directories are actually the same inode -- presumably junctions). However, if /bin precedes /usr/bin in the PATH, then I get the above error message. If /usr/bin, comes first, then it fails with a more understandable error:
/usr/lib/perl5/5.14/x86_64-cygwin-threads/CORE/reentr.h:109:26: fatal
+error: crypt.h: No such file or directory
# include <crypt.h>
This was fixed by installing libcrypt-devel. Then everything worked just fine... So problem solved!
3 用64位的cygwin不行,需要用32位的cygwin。
cygwin下载地址 https://www.cygwin.com/
4 出现了 bash ./program permission denied
用chmod +x ./program