1
在嵌入式ARM设备上,Linux 3.12.8在某些配置中启动缓慢。从引出的消息中可以明显看出upstart
正在等待的东西。但是,很难找出系统未启动之后发生的事情,并且登录后发出initctl
以查明它所做的功能不可用。修改upstart以提供更多调试信息,但无法配置新手
构建它看起来应该很简单,但./configure
不起作用。它显示的最后一位是:
checking for gcc option to accept ISO C99... -std=gnu99
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for nih-dbus-tool... no
checking for NIH... no
configure: error: Package requirements (libnih >= 1.0.2) were not met:
No package 'libnih' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables NIH_CFLAGS
and NIH_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
我已经找遍了Ubuntu软件库为nih
,libnih
,甚至NIH
。我试图在x86-64 Ubuntu 12.04 LTS上使用内核3.10.5来做到这一点,以便现在更容易成功。我错过了什么?
感谢您的回复。我做了'$ sudo apt-get install libnih-dev'并进入下一个障碍:'没有找到'libnih-dbus'包'found'。我试图安装'libnih-dbus',但它不知道任何这样的软件包。 – wallyk
以上解决了安装'libnih-dbus-dev'。之后的障碍是'没有包'dbus-1'found'.' – wallyk
而上面的问题已经通过'sudo apt-get install libdbus-1'解决了。 – wallyk