ubuntu18.04源码编译python3.7.0, 报错error: unknown type name ‘uuid_t‘
首次执行sudo./configure--enable-optimizations--prefix=/usr/python3.7.0,成功执行。然后执行sudomake&&makeinstall时,报错,错误大致为:error:unknowntypename‘uuid_t’解决办法:修改文件Python3.7.0/Modules/_uuidmodule.c,删除第6行,并将第7行修改为:#elif