ubuntu10.04下编译安装skyeye

一、下载skyeye源代码

下载地址:http://sourceforge.net/projects/skyeye/files/skyeye/

我下载的是skyeye-1.3.2_rc1.tar.gz


二、解压源码包

$ tar xvzf skyeye-1.3.2_rc1.tar.gz

三、安装依赖的软件包

$ sudo apt-get install build-essential libx11-dev xorg-dev  -y

四、编译

进入解压目录,执行:

$ ./configure
$ make lib
$ make

五、安装

$ make install_lib
$ make install


六、下载交叉编译工具arm-elf-tools-20040427.sh

下载地址:http://opensrc.sec.samsung.com/download.html

$ chmod a+x arm-elf-tools-20040427.sh

$ sudo sh ./arm-elf-tools-20040427.sh

出现以下错误:

tail: cannot open '+43' for reading: No such file or directory

gzip: stdin: not in gzip format

tar: This does not look like a tar archive

tar: Error exit delayed from previous errors

解决方法:

打开/arm-elf-tools-20040427.sh,将第39行的代码:

tail +${SKIP} ${SCRIPT} | gnuzip | tar xvf -

改为如下:

tail -n +${SKIP} ${SCRIPT} | gnuzip | tar xvf -

在arm-elf-tools-20040427.sh 最后一行后面加入一空行,然后重新执行sudo sh ./arm-elf-tools-20040427.sh即可。可以执行arm-elf-gcc -v测试以下。


你可能感兴趣的:(ubuntu10.04下编译安装skyeye)