raspberry pi安装mentohust
来源:互联网 发布:ubuntu var tmp 编辑:程序博客网 时间:2024/05/21 16:22
转至:http://ju.outofmemory.cn/entry/56023
首先感谢华中科技大学的同学们的贡献,这篇文章没有什么技术含量,大部分内容MentoHUST的主页上都有介绍,详细可以点击这里。我这里主要介绍一下我在Raspberry Pi树莓派上手动编译以及编译过程中遇到的问题,算是做个备忘。
首先我们需要安装svn工具以便于checkout项目代码:
sudo apt-get install subversion-tools
下一步便是从代码库中Check out,然后运行autogen.sh
配置脚本:
svn checkout http://mentohust.googlecode.com/svn/trunk/ mentohustcd mentohustsh autogen.sh
值得注意的是这边会出现失败的情况,所以在执行sh autogen.sh
这条命令前请安装必须的配置或者编译工具:
sudo apt-get install build-essentialsudo apt-get install autopointsudo apt-get install automakesudo apt-get install autoconfsudo apt-get install gettext-base gettext liblocale-gettext-perl
上述工具缺一不可,否则autogen.sh
配置脚本会报错,例如缺少gettext相关包导致的错误:
macro `AM_GNU_GETTEXT' not found in librarymacro `AM_GNU_GETTEXT_VERSION' not found in library
接着,我们需要configure,为下一步编译做准备:
./configure --prefix=/usr
然后经典的make
和make install
上场了:
sudo makesudo make install
最后设置权限:
sudo chmod u+s /usr/bin/mentohust
当然先别急着运行mentohust,因为有些系统上缺少libpcap或者libnotify会导致程序出错,下面安装这两个库文件:
sudo apt-get install libpcap-dev libnotify-dev
好了,下面可以直接运行mentohust了,Enjoy it!
0 0
- raspberry pi安装mentohust
- Raspberry Pi安装OpenELEC
- 安装树莓派 Raspberry PI
- Raspberry Pi 安装Sensor驱动
- raspberry pi 入门 ---- 安装系统
- 安装VNC,远程管理Raspberry Pi
- Raspberry PI上安装OpenWRT
- Raspberry pi 2 OSMC 安装
- Raspberry pi 2 安装GTK
- 树莓派raspberry pi 安装mysql
- 树莓派(raspberry pi)学习16: 安装VNC,远程管理Raspberry Pi
- Raspberry Pi上成功安装Redmine
- 树莓派(raspberry pi) 系统安装WiFi网卡
- Raspberry Pi上源码安装FusionPBX
- Raspberry Pi上源码安装FreeSwitch
- 在Raspberry Pi上安装ArchLinux
- raspberry pi 媒体中心(安装)
- 【智能家居】Raspberry Pi 系统安装篇
- 数据挖掘之降维
- HDU2033 时间加法
- Android 系统时间自动更新机制
- HDU2034
- OpenGL ES入门
- raspberry pi安装mentohust
- Android动画小结
- HDU2035 次方某位数字
- HDU2036多边形面积
- 什么是数据挖掘
- 套接字
- 提高代码复用的方法
- ida 2016插件大赛获奖作品
- 汉化CodeBlock