perl - 在 MacOS catalina 中安装 Tk 模块 perl 时出现问题
问题描述
在 MacOS catalina 10.15.6 中从 perl 安装 Tk 模块时出现以下错误
cpan install Tk
我得到的错误
Cannot find '/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE/perl.h' have you installed /usr/bin/perl?
Compilation failed in require at Makefile.PL line 37.
BEGIN failed--compilation aborted at Makefile.PL line 39.
Warning: No success on command[/usr/bin/perl Makefile.PL]
SREZIC/Tk-804.035.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites
你能帮我知道这里发生了什么吗?
解决方案
推荐阅读
- angular - Rxjs,Angular 订阅获取“ObjectUnsubscribedError”
- google-play - 发布应用后如何进行预注册
- reactjs - 如何从json端点axios将单个对象保存到状态
- python - 生存分析生命线包中审查事件的持续时间
- javascript - 使用 nodeJS 和 express 接收松弛模态提交时出现 404
- google-apps-script - 如何在 Google Apps 脚本中的导出库中传递项目授权
- html - Muli 字体未正确渲染
- laravel - 带有连接查询的 Laravel Scope
- python - Python Logger 记录两次
- oracle - 在 WHERE 子句中使用 CASE 语句 - PL/SQL