首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在RarArchive上安装“MacbookPro”?

如何在RarArchive上安装“MacbookPro”?
EN

Stack Overflow用户
提问于 2022-12-04 01:12:40
回答 1查看 26关注 0票数 -4

有人试着安装“

代码语言:javascript
复制
RarArchive

在他们的笔记本上?我试过安装,但遇到了这个错误。

代码语言:javascript
复制
.1.13/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -DRARDLL -DSILENT -Wno-write-strings -Wall -fvisibility=hidden -I/private/tmp/pear/temp/rar/unrar -DZEND_COMPILE_DL_EXT=1 -c /private/tmp/pear/temp/rar/rar_stream.c -MMD -MF rar_stream.dep -MT rar_stream.lo  -fno-common -DPIC -o .libs/rar_stream.o
/private/tmp/pear/temp/rar/rar_stream.c:170:23: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat]
                                        self->file_size, self->cursor);
                                                         ^~~~~~~~~~~~
/private/tmp/pear/temp/rar/rar_stream.c:787:58: error: too many arguments to function call, expected 1, have 2
                        zend_string *arc_str = zend_resolve_path(tmp_archive, tmp_arch_len);
                                               ~~~~~~~~~~~~~~~~~              ^~~~~~~~~~~~
1 warning and 1 error generated.
make: *** [rar_stream.lo] Error 1
rolling back 454 file operations
ERROR: `make' failed

因为我试图在我的PHP警告中解决这个警告。

谢谢!

我试着通过pecl安装,但没有成功。

EN

回答 1

Stack Overflow用户

发布于 2022-12-04 10:39:00

我通过将PHP版本从8.1降到8来修正了这个问题,所有的错误都消失了。

希望这也能帮助到其他人。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/74672146

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档