Ubuntu13 + skyeye1.3.5
1 Preparation
Install necessary tools
$ Sudo apt-Get install automake Autoconf libtool g ++ libxft-dev libx11-dev libxpm-dev texi2html
2. Install Skyeye
Skyeye-1.3.5_rc1/CD downloads/
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;
Error records
<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
Solution:
Sudo apt-Get install x11proto-xext-dev
Sudo apt-Get install Xorg-Dev
<2>/usr/bin/ld: cannot find-liconv
Solution: Download libiconv http://ftp.gnu.org/gnu/libiconv/
$ Tar xvf libiconv-1.14.tar.gz
$ Libiconv-1.14 CD
$./Configure-Prefix =/usr/local
$ Make;
Error records
<2.1>./stdio. h: 1010: 1: Error: 'gets' undeclared here (not in a function)
Solution: see examples/
Modify srclib/stdio. In. h 695th rows
As follows:
// _ 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_89c6410/touchscreen_initi6410.h: 4: 21: Fatal error: GTK/GTK. h: no such file or directory
Solution: 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
Solution:
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
Solution:
Sudo CP/usr/include/Cairo/*/usr/include/
<6> fatal error: pango/pango. h: no such file or directory
Solution: CP-r/usr/include/pango-1.0/pango/usr/include/
<7> fatal error: gdkconfig. h: no such file or directory
Solution: 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.
Solution:
Sudo CP-r/usr/including/gdk-pixbuf-2.0/gdk-pixbuf/usr/include/
<9> fatal error: ATK/ATK. h: no such file or directory
Solution: 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
Solution: sudo apt-Get install Python-Dev
$ Sodo make install
$ Sudo make install_lib
After the installation is complete, set the environment variable.
Running error:
Importerror:/usr/lib/python2.7/lib-dynload/_ ctypes. x86_64-linux-gnu.so: Undefined Symbol: pyfloat_type
Solution:
Install 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 shocould 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. Test the Skyeye-test package 1.3.4
Error <1>:
$./Test_all.sh
./Test_all.sh: 44: Exit: Illegal number:-1
Add the Skyeye installation path as a parameter or modify test_all.sh to add prefixdir
That is:./test_all.sh/usr/local/Skyeye
Error <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: Except CT: not found
./Test_all.sh: 54:./test_all.sh: Except CT: not found
./Test_all.sh: 60:./test_all.sh: Except CT: not found
Solution: sudo apt-Get install expect
Ubuntu13 + skyeye1.3.5