2014-04-02 12 views
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軟件庫爲nihlibnih,甚至NIH。我試圖在x86-64 Ubuntu 12.04 LTS上使用內核3.10.5來做到這一點,以便現在更容易成功。我錯過了什麼?

回答

1

NIH Utility Library in Launchpad

要安裝:

sudo apt-get install libnih1 

開發包名爲libnih-dev的您可能還需要libnih-DBUS1libnih-的dbus-dev的包。

+0

感謝您的回覆。我做了'$ sudo apt-get install libnih-dev'並進入下一個障礙:'沒有找到'libnih-dbus'包'found'。我試圖安裝'libnih-dbus',但它不知道任何這樣的軟件包。 – wallyk

+0

以上解決了安裝'libnih-dbus-dev'。之後的障礙是'沒有包'dbus-1'found'.' – wallyk

+0

而上面的問題已經通過'sudo apt-get install libdbus-1'解決了。 – wallyk