编译 sane-backends 时这些消息意味着什么?

编译 sane-backends 时这些消息意味着什么?

我尝试从源代码编译 sane-backends,但在运行后收到以下消息make,为了进行配置,我运行./configure --enable-avahi BACKENDS='canon genesys test'

make[1]: Leaving directory /home/.../sane-backends/po'
Making all in testsuite
make[1]: Entering directory/home/.../sane-backends/testsuite' Making all in sanei make[2]: Entering directory /home/.../sane-backends/testsuite/sanei'
run 'make check' to run tests
make[2]: Leaving directory/home/.../sane-backends/testsuite/sanei' Making all in tools make[2]: Entering directory /home/.../sane-backends/testsuite/tools'
Use 'make check' to run the tests.
run 'make check' to run tests
make[2]: Leaving directory/home/..../sane-backends/testsuite/tools' make[2]: Entering directory /home/.../sane-backends/testsuite'
make[2]: Nothing to be done for all-am'. make[2]: Leaving directory /home/..../sane-backends/testsuite'
Use 'make test' to run the tests.
make[1]: Leaving directory/home/.../sane-backends/testsuite' make[1]: Entering directory /home/.../sane-backends'
make[1]: Nothing to be done for all-am'. make[1]: Leaving directory `/home/.../sane-backends'

all-am 有何问题?

答案1

你似乎搞错了什么是程序的错误条件make。“无事可做”是指不是错误;这意味着什么都没有左边因为该作业在之前的调用中已经完成,所以要执行。如果您随后运行,make还可以查看调用的退出状态。“0”表示“未遇到错误,一切都按您的要求完成”。makeecho $?

有时“无事可做”是由于 Makefile 错误(又称“工作描述”)未反映预期操作而导致的。您应将此作为错误报告给 Makefile 的作者/维护者。

相关内容