其間會出現(xiàn)很多錯誤,一般是找不到文件,,把錯誤粘到google上查找解決方法。
(1)cannot find -lltdl 解決方法:安裝libltdl
(2)X11/Xlib.h: No such file or directory 解決方法:安裝xorg-dev
(3)/usr/bin/ld: cannot find -liconv 解決方法:下載libiconv安裝包,,使用 ./configure –prefix=/usr/local , make ,, make install安裝,。 make可能出現(xiàn)錯誤: ./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function) 解決方法:sed -i ‘/gets is a security
hole/d’ scrlib/stdio.h
(4)fatal error: gtk/gtk.h: No such file or directory 解決方法:sudo apt-get install libgtk2.0-dev
(5)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/ (64位系統(tǒng))
(6)fatal error: cairo.h: No such file or directory 解決方法:cp /usr/include/cairo/* /usr/include/
(7)fatal error: pango/pango.h: No such file or directory 解決方法:cp -r /usr/include/pango-1.0/pango/ /usr/include/
(8)fatal error: gdkconfig.h: No such file or directory 解決方法:cp /usr/lib/x86_64-linux-gnu/gtk-2.0/include/gdkconfig.h /usr/include/ (64位系統(tǒng))
(9)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/
(10)fatal error: atk/atk.h: No such file or directory 解決方法:cp -r /usr/include/atk-1.0/atk/ /usr/include/
(11)fatal error: Python.h: No such file or directory 解決方法:sudo aptitude install python-dev
(12)安裝以后運行skyeye出錯:ImportError: /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so: undefined symbol: PyFloat_Type
ImportError: /usr/local/lib/python2.7/lib-dynload/_ctypes.so undefined symbol: PyUnicodeUCS2_FromUnicode
解決方法:下載python2.7解壓,使用以下命令安裝:
./configure --enable-shared --enable-unicode=ucs4
還有一些錯誤可以在這個網(wǎng)站查找http://www./wiki/Error_messages_and_their_solutions