您的位置:首页 > 其它

Ubuntu 12.04下安装SkyEye 1.3.5

2013-05-14 11:44 302 查看
1. apt-get install python-dev libltdl-dev

2. 下载libiconv,然后:

tar zxvf libiconv-1.14.tar.gz

cd libiconv-1.14

./configure -prefix=/usr/local

make && sudo make install

3. 参考Ubuntu 10.04下安装SkyEye 1.3.2进行安装,注意:

第6步增加的函数中需要对strtoul进行显示申明:

unsigned long strtoul(const char *nptr,char **endptr,int base);

第8步已经不需要了,貌似skyeye源码已经做了修正。

4. 此时仍然不能正确运行skyeye,原因是Ubuntu自带的python编译配置不合要求。此时需要下载python2.7.3的源码,然后编译:

./configure --prefix=/opt/python2.7.3 --enable-shared --enable-unicode=ucs4

make

sudo make install

然后gedit ~/.bashrc,alias skyeye='PATH=/opt/python2.7.3/bin:$PATH skyeye'

成功运行后的提示信息如下:

SkyEye 1.3.5

SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should not remove or modify the annoucement of SkyEye copyright.

Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.

(skyeye)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: