操作系统suse 11 sp3,编译时报错:
CBP81:/app/Python-3.8.2 # make CC='gcc -pthread' LDSHARED='gcc -pthread -shared ' OPT='-DNDEBUG -g -fwrapv -O3 -Wall' _TCLTK_INCLUDES='' _TCLTK_LIBS='' ./python -E ./setup.py build running build running build_ext INFO: Can't locate Tcl/Tk libs and/or headers INFO: Could not locate ffi libs and/or headers readline: /etc/inputrc: line 18: term: unknown variable name
Python build finished successfully! The necessary bits to build these optional modules were not found: _lzma _tkinter _uuid To find the necessary bits, look in setup.py in detect_modules() for the module's name.
The following modules found by detect_modules() in setup.py, have been built by the Makefile instead, as configured by the Setup files: _abc atexit pwd time
Failed to build these modules: _ctypes 网上查了相关资料,说需要装libffi-devel,但是系统实际已经安装。 CBP81:/app/Python-3.8.2 # zypper install libffi-devel* Loading repository data... Reading installed packages... 'libffi-devel' providing 'libffi-devel*' is already installed.
烦请大佬们帮忙解决下,python小白在此先行谢过。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。