skyeye1.3.0在ubuntu 9.10 下的编译安装

1.下载 skyeye-1.3.0_rc1.tar,下载地址为 http://nchc.dl.sourceforge.net/project/skyeye/skyeye/skyeye-1.3.0_rc1.tar.gz
 
2.执行准备工作,由于ubuntu里面库文件严重不全所以在编译前先进行如下工作
sudo apt-get install libgtk2.0-dev pkg-config libatk1.0-dev libpango1.0-dev libfreetype6-dev libglib2.0-dev libx11-dev binutils-dev  libncurses5-dev  libxpm-dev

3.在ubuntu9.10中 解压,进入目录

依次执行如下命令
./configure
make lib
make
make install
make install_lib
安装成功
输入命令skyeye,就出现下面的提示符

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 note 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.
 In SKY_load_module, file not found
In SKY_load_all_modules, Can not load module from file libdisasm.so.
(skyeye)

ps:可能出现的错误

 
1.
其中执行make时候若出现如下错误:
   gui/x.cc: In member function ‘virtual void bx_x_gui_c::specific_init(int,      char**, unsigned int, unsigned int, unsigned int)’:
   gui/x.cc:485: error: ‘XCreatePixmapFromData’ was not declared in this    scope
 
那么 执行此命令即可 sudo aptitude install libxpm-dev
如果还有其他错误,你可以把下面这些依赖包安装上

2.
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `PC'

/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetflag'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetent'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `UP'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tputs'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgoto'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetnum'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `BC'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[2]: *** [skyeye] 错误 1
make[2]:正在离开目录 `/home/andy/skyeye-1.3.0_rc1'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/andy/skyeye-1.3.0_rc1'
make: *** [all] 错误 2


主要是缺少termcap库文件,在终端里执行sudo apt-get install libncurses5-dev安装,然后重新编译出错的文
PS:如果各位在编译中还遇到其他麻烦可以留言给我,我会尽力帮你解决的。

你可能感兴趣的:(skyeye1.3.0在ubuntu 9.10 下的编译安装)