错误:无法构建 PhantomJS!构建Qt基地失败



我在VirtualBox中有Debian Linux(64位(。

Ram: 8Gb (for Debian 4Gb)
CPU: i5-3470

如果需要任何其他详细信息,请告诉我。

我按照此处编写的说明进行操作,您可以在此处查看控制台日志。

由于某种原因,我无法构建 phantomjs,我不明白为什么它不起作用......搜索了很多,但找不到任何关于此错误的线程。

---编辑---

当我执行此命令时:

./configure --with-openssl-includes=/usr/include/openssl-1.0/ --with-openssl-libraries=/usr/lib/openssl-1.0/

输出是这样的:

--with-openssl-includes=/usr/include/openssl-1.0/: invalid command-line switch
--with-openssl-libraries=/usr/lib/openssl-1.0/: invalid command-line switch

控制台的输出已更改,但我仍然收到错误:https://pastebin.com/wbgi8syg

看起来您正处于拉伸状态(或以后(,并且您已经知道 libssl 与 libssl1.0 的情况。

因此,如果您没有安装 libssl-dev,这一行将使您更进一步:

python build.py --qt-config "-I /usr/include/openssl-1.0/ -L /usr/lib/openssl-1.0/"

如果您已经安装了它并且我的建议不起作用,您可以暂时卸载 libssl-dev 以构建 phantomjs,这可能会避免进一步使用与配置相关的变量。

最新更新