UBUNTU13 + Skyeye1.3.5

UBUNTU13 + Skyeye1.3.5

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 security hole - 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: No such file or directory

解决:cp -r /usr/include/pango-1.0/pango/ /usr/include/

<7>fatal error: gdkconfig.h: No such 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 compilation terminated.

解决:

sudo cp -r /usr/include/gdk-pixbuf-2.0/gdk-pixbuf /usr/include/

<9>fatal error: atk/atk.h: No such file or directory

解决:cp -r /usr/include/atk-1.0/atk/ /usr/include/

<10>pycli/pycli.c:1:20: fatal error: 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 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) 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

时间: 2024-08-06 10:00:03

UBUNTU13 + Skyeye1.3.5的相关文章

Ubuntu13.10:[3]如何开启SSH SERVER服务

作为最新版本的UBUNTU系统而言,开源,升级全部都不在话下.传说XP已经停止补丁更新了,使用UBUNTU也是一个很好的选择.ubuntu默认安装完成后只有ssh-agent(客户端模式),宾哥百度经验首发教您如何开启Ubuntu13.10中SSH-SERVER服务. 工具/原料 Ubuntu13.10操作系统 方法/步骤 在管理员模式#下运行 apt-get install openssh-server   安装完成后如下显示   检查ssh服务开启状态 ps -s | grep ssh 坑爹

ubuntu13.04修改默认启动内核

ubuntu下面的启动内核选项跟其他操作系统不一样,有个子菜单,比如我在默认的ubuntu13.04上安装了一个新的内核3.14.5,那么默认的第一项是3.14.5内核,第二项是一个子菜单,第二项里面的第一项是3.14.5,第二项是3.14.5 recovery 模式 第三项是3.8.0,第四项是3.8.0(recover) 那么应该修改 /boot/grub/grub.cfg 中的 GRUB_DEFAULT=0为  GRUB_DEFAULT="1>2" 然后update-gru

[Linux]Ubuntu13.04-Windows8HyperV虚拟安装前须知

1. ubuntu如何分区 1./swap交换分区,一般为你机器内存的两倍,少于这个容量,系统无法进入休眠. 实质是硬盘上的交换空间而非分区,所以没有格式,默认休眠将数据储存于此 可以取消(如不用swap必须再设定方可休眠)--多数有1GB内存的桌面用户只要1.5GB swap即可.2GB以上内存的很多用户实际并不需要它--注意,大量处理音频.视频.图片需要3GB以上的交换空间. 2./ 根分区,一般选择15G即可,默认ext4,如不独立划分以下介绍的分区,则其都归于此分区,即使最最新的新手也可

ubuntu13.04下ftp的简单搭建过程

本文主要介绍一下ubuntu13.04下ftp的简单搭建过程: 主要实现基本的功能: l 实现匿名用户访问 l 上传资料 l 实现对特定ip或ip段开放服务 l 等等... 下面介绍一下安装过程: Ubuntu自带的FTP服务器是vsftpd. 1.安装vsftpd 对于ubuntu下相对简单只需要一条 sudo apt-get install vsftpd 安装默认在/src下建立一个ftp目录. 应该可以看到一个空白内容的ftp 文件. 默认状态下是可以匿名下载,但不能写入或是上传 2.设置

ubuntu13.10更新源

事情要从ubuntu下ZMQ的安装说起…… 初衷是为了安装python的zmq模块,但是下载好了,安装时报错: configure: error: Unable to find a working C++ compiler 缺c++编译器,那就安装一个呗,不曾想,又出现了问题: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系 听说有个东西可以解决依赖问题: 先更新: sudo apt-get update && sudo apt-get dist-upgrad

ubuntu13.04下eclipse3.8配置C++开发环境

1:安装eclipse(不介绍) 2:打开eclipse,然后  HELP->INSTALL NEW SOFTWARE->Add->LOCATION    输入以下网址: http://download.eclipse.org/tools/cdt/releases/galileopending后,把两个都打勾,安装----------插件安装成功. 3:遇到的问题 A:launch failed.Binary not found------ 这个问题解决方法:(参考http://blog

安装Windows7+Ubuntu13.04+Centos7三系统

安装Windows7+Ubuntu13.04+Centos7三系统 (说明一点,在用U盘制作centos7的启动盘后,不需要删除包什么的,也不需要拷贝镜像文件什么的,刻录完就是可以直接使用的,我测试了两台台式的和一个笔记本安装都没有问题,不过在安装的时候,要修改下U盘的位置,如下:) .在用u盘安装过程中,在进入安装界面,按tab键修改或者直接按e键:(直接安装是不能成功的,需要修改) vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x

Hadoop 0.20.2+Ubuntu13.04配置和WordCount測试

事实上这篇博客写的有些晚了.之前做过一些总结后来学校的事给忘了,这几天想又一次拿来玩玩发现有的东西记不住了.翻博客发现居然没有.好吧,所以赶紧写一份留着自己用吧.这东西网上有非常多,只是也不是全然适用.所以还是自己留一份吧,废话完成. 由于之前留的资料室写在记事本上的.所以没有图片= = Full name: MyHadoop User name: uit Password: 000 系统:ubuntu13.04 Hadoop版本号:0.20.2 虚拟机: 这个我感觉是最主要的了.应该不用多说什

ubuntu13.4安装openssh-server

在ubuntu13.4上,不知道为什么使用sudo apt-get install openssh-server一直不能使用.找了很多资料,这篇文章(http://my.oschina.net/u/734592/blog/135045)给的方法可用,但文章中所给的地址无法下载openssh-server,而且使用命令行执行也不正常.最后在如下网址中http://www.filewatcher.com/m/openssh-server_6.1p1-4_i386.deb.345268-0.html下