skyeye 1.3.4 rc1 安装

http://sourceforge.net/apps/trac/skyeye/wiki/uClinux



skyeye 1.3.4 rc1 安装

(2012-02-29 20:20:34)
转载
  分类:skyeye
系统:10.04 lts server 64Bit
下载skyeye 1.3.4 rc1版本
 
安装skyeye的依赖包:
sudo apt-get installlibgtk2.0-dev pkg-config libatk1.0-dev libpango1.0-devlibfreetype6-dev libglib2.0-dev libx11-devbinutils-dev  libncurses5-dev libxpm-dev
执行./autogen.sh.提示没有这个命令。
安装sudoapt-get install autoconf automake libtool 解决问题。
然后执行./configure&&makelib&&make
编译出错:
/bin/bash: python-config: command not found
libtool: compile:  gcc -g -O2-D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0-DSKYEYE_BIN=\"/opt/skyeye/bin/\"-Werror-implicit-function-declaration -I. -I..-I../third-party/include/ -I../third-party/bfd/-I../third-party/bfd/ -I../common -I../common/include -I./common/-g -O2 -MT pycli.lo -MD -MP -MF .deps/pycli.Tpo -cpycli/pycli.c  -fPIC -DPIC -o .libs/pycli.o
pycli/pycli.c:1:20: error: Python.h: No such file ordirectory
pycli/pycli.c: In function ‘cli’:
pycli/pycli.c:13: error: implicit declaration of function‘setenv’
pycli/pycli.c:14: error: implicit declaration of function‘Py_Initialize’
pycli/pycli.c:17: error: implicit declaration of function‘PyRun_SimpleString’
pycli/pycli.c:20: error: implicit declaration of function‘Py_Finalize’
make[2]: *** [pycli.lo] Error 1
make[2]: Leaving directory `/home/work_dir/temp/skyeye/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/work_dir/temp/skyeye'
make: *** [all] Error 2
尝试 sudo apt-get install python-dev
然后 sudo make clean
              sudo ./configure&&makelib&&make
编译完成没有报错.
            sudo make install_lib
            sudo make install
没有报错。完全ok
cd /opt/skyeye/bin
skyeye
SkyEye 1.3.4-rc1
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 homepagehttp://www.skyeye.org.
Type "help" to get command list.
  (skyeye) help

SkyEye command list
====================
cov-off                      delete-bp          list-modules  remote-gdb
cov-on                        help                    list-options  show-map 
cov-state                  list-bp              load-conf        show-pref
create-uart-16550  list-machines  log-bus            show-step

sudo ln -s /opt/skyeye/bin/skyeye /usr/bin/skyeye
到此,编译安装完成。

你可能感兴趣的:(skyeye 1.3.4 rc1 安装)