HAL为硬件抽象层的意思,D表示daemon,所以hald就是硬件抽象层的daemon程序[luther.gliethttp]
1.首先需要编译util-linux-ng,否则将一直提示:
Requested 'blkid >= 1.43' but version of blkid is 1.41.3
luther@gliethttp:~$ wget
luther@gliethttp:~/util-linux-ng-2.15$ ./configure --with-fsprobe=builtin
luther@gliethttp:~/util-linux-ng-2.15$ make
luther@gliethttp:~/util-linux-ng-2.15$ sudo make install
2.安装其他必需的包
luther@gliethttp:~$ sudo apt-get install libck-connector-dev
luther@gliethttp:~$ sudo apt-get install libpolkit-dbus-dev
luther@gliethttp:~$ sudo apt-get install libdbus-glib-1-dev
luther@gliethttp:~$ sudo apt-get install libblkid-dev
luther@gliethttp:~$ sudo apt-get install uuid-dev
3.下载hald源码
luther@gliethttp:~$ sudo apt-get install git-core
luther@gliethttp:~$ git clone git://git.freedesktop.org/git/hal
4.开始编译
luther@gliethttp:~/hal$ ./autogen.sh
luther@gliethttp:~/hal$ make
阅读(2283) | 评论(0) | 转发(0) |