在 Debian 上构建 sane-backend 时出错

在 Debian 上构建 sane-backend 时出错

我尝试在 Debian 8 Testing i686 机器上构建 sane-backend。

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var  --enable-avahi

make

make[1]: Entering directory '/home/share/private/src/mf8030/sane-backends/doc'
TEXINPUTS=".:.:$TEXINPUTS" no ./sane.tex
/bin/bash: no: command not found
Makefile:992: recipe for target 'sane-html' failed
make[1]: *** [sane-html] Error 127
make[1]: Leaving directory '/home/share/private/src/mf8030/sane-backends/doc'
Makefile:542: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

一开始 make 失败,因为 fid2eml 没有安装,变量为“no”。现在它在下面几个语句中失败,因为 TEXINPUTS 为“no”。

到目前为止,我既没有发现 fid2eml 的问题,也没有发现下一个错误。

我不关心任何本地文档,我只想构建 Debian 中似乎缺少的后端“pixma”。

答案1

发生错误的原因是您的机器缺少雙性腺,一个 LaTeX 到 HTML 转换器。sane configure-backends 的脚本包含一个针对 dlh 的错误测试;如果它无法检测到它,那么它会错误地将 dlh 命令路径设置为no

顺便说一句,我认为你原来的问题可能有拼写错误。你写道你的系统中缺少“fid2eml”,但我认为你的意思是“fig2dev”(它是变形工具套件)。对 fig2dev 的测试同样存在错误,如果找不到 fig2dev,configure也会导致 Makefile 执行不存在的命令。no

更新:该问题已于 2016 年 9 月 18 日在 sane-backend 源存储库的主分支中修复。

相关内容