首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >polkit-0.113-r0 do_configure:函数失败: do_configure

polkit-0.113-r0 do_configure:函数失败: do_configure
EN

Stack Overflow用户
提问于 2019-12-27 15:27:53
回答 1查看 312关注 0票数 2

使用yocto构建策略工具包(polkit :存在于meta-openembedded分支:pyro),并在构建过程中获得以下错误:

代码语言:javascript
复制
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_configure
| cp: cannot stat '/home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/recipe-sysroot//usr/share/aclocal/introspection.m4': No such file or directory
| WARNING: /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/temp/run.do_configure.4300:1 exit 1 from 'cp /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/recipe-sysroot/usr/share/aclocal/introspection.m4 /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/polkit-0.113/m4'
| ERROR: Function failed: do_configure (log file is located at /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/temp/log.do_configure.4300)

请告诉我,如何解决这个问题?

EN

回答 1

Stack Overflow用户

发布于 2020-01-07 04:02:19

你看到一个额外的斜杠(/)在我们之前?

代码语言:javascript
复制
...recipe-sysroot//usr/share/aclocal...

这造成了问题,并说没有这样的目录。

修复此问题,检查您设置的任何前缀路径,否则可能是错误。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59502805

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档