source_sink'library(process)'不存在

时间:2017-05-07 20:09:23

标签: prolog swi-prolog

我想在swipl中安装一些第三方软件(7.5.5版;完全安装,没有来自github repo的投诉)。

现在,我收到以下错误:

  

错误:/usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:52:     source_sink library(process)' does not exist Warning: /usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:52: Goal (directive) failed: prolog_pack:use_module(library(process)) ERROR: /usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:56: source_sink库(filesex)'不存在   警告:/usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:56:     目标(指令)失败:prolog_pack:use_module(library(filesex))   错误:/usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:57:     source_sink library(xpath)' does not exist Warning: /usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:57: Goal (directive) failed: prolog_pack:use_module(library(xpath)) ERROR: /usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:59: source_sink库(uri)'不存在   警告:/usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:59:     目标(指令)失败:prolog_pack:use_module(library(uri))   错误:/usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:60:     source_sink library(http/http_open)' does not exist Warning: /usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:60: Goal (directive) failed: prolog_pack:use_module(library(http/http_open)) ERROR: /usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:61: source_sink库(http / http_client)'不存在   警告:/usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:61:     目标(指令)失败:prolog_pack:use_module(library(http / http_client),[])   错误:/usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:1822:16:语法错误:运算符预期   错误:未定义的过程:prolog_pack:uri_components / 2   错误:在:   错误:[11] prolog_pack:uri_components(cplint,_928)   错误:[10] prolog_pack:git_url(cplint,_960)/usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:1428   错误:[9] prolog_pack:pack_default_options(cplint,_992,[],_ 996)/usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:467   错误:[8] prolog_pack:pack_install(cplint)位于/usr/local/lib/swipl-7.5.5/library/prolog_pack.pl:431   错误:[7]      例外:(11)prolog_pack:uri_components(cplint,_1086)?   爬行      例外:(9)prolog_pack:pack_default_options(cplint,_1086,[],_1090)?   蠕变

现在,这不是特定第三方软件的问题;我也得到了另外两个包的错误。

我错了什么?我的安装不完整吗?

我很欣赏任何提示。 THX!

1 个答案:

答案 0 :(得分:3)

从源代码构建时,请注意您必须采取其他步骤来构建位于swipl-devel/packages软件包

swipl-devel目录中,执行:

$ cd packages
$ ./configure
$ make
$ sudo make install

有关这些软件包的详细信息,另请参阅README中的swipl-devel/packages文件。

例如,library(process)clib包的一部分,只有在您从源代码构建时执行这些步骤或等效步骤时才会安装。