UBUNTU13 + Skyeye1.3.5
来源:互联网 发布:python量化论坛 编辑:程序博客网 时间:2024/05/29 18:24
1准备
安装必要的工具
$sudo apt-get install automake autoconf libtool g++libxft-dev libx11-dev libxpm-dev texi2html
2.安装skyeye
cd Downloads/skyeye-1.3.5_rc1/
Downloads/skyeye-1.3.5_rc1$ ls
aclocal.m4 config.h.in install-sh missing
android config.h.in~ libltdl NEWS
arch config.sub LICENSE pyshell
AUTHORS configure ltdlconf.h.in README
autogen.sh configure.in ltmain.sh REPORTING-BUGS
autom4te.cache COPYING m4 soc
bochs_config.h.in depcomp MAINTAINERS testsuite
ChangeLog device Makefile.am third-party
common Doxyfile Makefile.android TODO
conf gui Makefile.in utils
config.guess INSTALL misc
$ ./autogen.sh;automake;
$./configure;make lib;make;
错误记录
<1>
In file included from../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11dyn.c:26:0:
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11dyn.h:39:33:fatal error: X11/extensions/XShm.h: No such file or directory
compilation terminated.
make[2]: *** [SDL_x11dyn.lo] Error 1
解决:
sudo apt-get install x11proto-xext-dev
sudo apt-get install xorg-dev
<2>/usr/bin/ld: cannot find–liconv
解决:下载 libiconv http://ftp.gnu.org/gnu/libiconv/
$tar xvf libiconv-1.14.tar.gz
$cd libiconv-1.14
$./configure –prefix=/usr/local
$make;
错误记录
<2.1>./stdio.h:1010:1: error:'gets' undeclared here (not in a function)
解决:参见http://forum.z27315.com/topic/15662-解决编译libiconv时的gets-undeclared-here错误/
修改srclib/stdio.in.h 第695行
如下:
//_GL_WARN_ON_USE (gets, "gets is a securityhole - use fgets instead");
#if defined(__GLIBC__) &&!defined(__UCLIBC__) &&!__GLIBC_PREREQ(2, 16)
_GL_WARN_ON_USE (gets, "gets is a security hole -use fgets instead");
#endif
<3>touchscreen_s3c6410/touchscreen_s3c6410.h:4:21:fatal error: gtk/gtk.h: No such file or directory
解决:sudo apt-get install libgtk2.0-dev
<4>/usr/include/glib-2.0/glib/gtypes.h:34:24:fatal error: glibconfig.h: No such file or directory
解决:
sudo cp/usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h /usr/include/
<5>
/usr/include/gtk-2.0/gdk/gdkscreen.h:31:19: fatal error:cairo.h: No such file or directory
解决:
sudo cp /usr/include/cairo/* /usr/include/
<6>fatal error: pango/pango.h: Nosuch file or directory
解决:cp -r /usr/include/pango-1.0/pango/ /usr/include/
<7>fatal error: gdkconfig.h: Nosuch file or directory
解决:cp /usr/lib/x86_64-linux-gnu/gtk-2.0/include/gdkconfig.h/usr/include/
<8>)fatal error:gdk-pixbuf/gdk-pixbuf.h: No such file or directory compilationterminated.
解决:
sudo cp -r /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/usr/include/
<9>fatal error: atk/atk.h: No suchfile or directory
解决:cp -r /usr/include/atk-1.0/atk/ /usr/include/
<10>pycli/pycli.c:1:20: fatalerror: Python.h: No such file or directory
解决:sudo apt-get install python-dev
$sodo make install
$sudo make install_lib
安装完成,然后设置环境变量.
运行出错:
ImportError:/usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so:undefined symbol: PyFloat_Type
解决:
安装python2.7
$tar xvf Python-2.7.5.tar.gz
$cd Python-2.7.5
$./configure –enable-shared –enable-unicode-ucs4
$make
$sudo make install
/usr/local/skyeye/bin# ./skyeye
SkyEye 1.3.5
SkyEye is an Open Source project under GPL. All rights of differentparts or modules are reserved by their author. Any modification orredistributions of SkyEye should not remove or modify theannoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get commandlist.
(skyeye) help
SkyEye command list
====================
cov-off delete-bp list-modules read-configure show-map
cov-on help list-options remote-gdb show-pref
cov-state list-bp load-conf reverse-to show-step
create-uart-16550 list-machines log-bus set-bookmark write-configure
3.测试skyeye-test 包1.3.4
错误<1>:
$./test_all.sh
./test_all.sh: 44: exit: Illegal number: –1
添加skyeye 安装路径作为参数 或修改test_all.sh 添加PREFIXDIR
即:./test_all.sh /usr/local/skyeye
错误<2>
./test_all.sh /usr/local/skyeye/
We will use /usr/local/skyeye/bin/skyeye to run testsuite.
./test_all.sh: 50: ./test_all.sh: expect: not found
./test_all.sh: 54: ./test_all.sh: expect: not found
./test_all.sh: 60: ./test_all.sh: expect: not found
解决:sudo apt-get install expect
转自:http://blog.sina.com.cn/s/blog_4c02ba150101mpq8.html
- UBUNTU13 + Skyeye1.3.5
- fedora 17 安装 skyeye1.3.5
- debian 7 amd64 kde安装 skyeye1.3.5
- Ubuntu12.10上安装Skyeye1.3.5
- skyeye1.3.5在ubuntu12.04上的安装
- ubuntu 14.04 x86_64编译安装Skyeye1.3.5RC1的心得
- skyeye1.2.9 编译
- 编译skyeye1.2.4
- skyeye1.2.6安装
- ubuntu server 12.04上的skyeye1.3.5安装和使用(打造最精确的安装步骤和注意事项)
- redhat9+skyeye1.2.4 运行成功
- skyeye1.3.2安装过程记录
- ubuntu下安装skyeye1.3.3
- ubuntu13.04
- skyeye1.2.6+u-boot1.1.6的测试
- skyeye1.2.8rc1的安装问题
- Ubuntu 10.04下安装SkyEye1.3.1
- ubuntu13.04安装openyoudao
- OpenGL基础图形编程
- eclipse导出jar文件再将它转换成exe可执行文件详解
- [暖手][学习阶段-各路杂题][HDU-1163]Eddy's digital Roots
- hdu-5167 Fibonacci
- Assetbundle创建与加载
- UBUNTU13 + Skyeye1.3.5
- Event-driven programming for Android
- win10下wamp环境搭建(包括整套软件、安装DOC讲解、数据库清理等)
- JPDA#1:使用JDI写一个调试器
- PSAM卡相关知识整理
- What is Reactive Programming?
- Java 透明和不规则 Swing 窗口
- SpringMVC4.0.3 @ResponseBody JSON 中文乱码问题
- 积分图 源码