ERROR: Failed to build PhantomJS! Building Qt Base failed
ERROR: Failed to build PhantomJS! Building Qt Base failed
我在 VirtualBox.
中有 Debian Linux(64 位)
Ram: 8Gb (for Debian 4Gb)
CPU: i5-3470
如果需要任何其他详细信息,请告诉我。
我已经按照说明写了here, and here你可以看到控制台日志。
出于某种原因,我无法构建 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,这可能会避免进一步使用与配置相关的变量。
我在 VirtualBox.
中有 Debian Linux(64 位)Ram: 8Gb (for Debian 4Gb)
CPU: i5-3470
如果需要任何其他详细信息,请告诉我。
我已经按照说明写了here, and here你可以看到控制台日志。
出于某种原因,我无法构建 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,这可能会避免进一步使用与配置相关的变量。