本帖最后由 FSL_TICS_A 于 2014-2-6 23:11 编辑
在编译LTIB时,出现如下错误:
~/imax6q/source/ltib$ ./ltib -m config
ltib cannot be run because one or more of the host packages needed to run it
are either missing or out of date or not in ltib's standard path. Please
install/upgrade these packages on your host. If you have your own utilities
in non-standard paths, please add an entry into the .ltibrc file for example:
%path_std
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/my/own/exes
Package Minimum ver Installed info
------- ----------- ---------------
zlib 0 not installed
Died at ./ltib line 1409.
traceback:
main::host_checks:1409
main:554
Exiting on error or interrupt
按照信息,应该是找不到zlib库。确认了一下几项:
在.ltibrc文件中添加了
%path_std
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/lib/i386-linux-gnu/
路径/usr/lib/i386-linux-gnu/是我的zlib库路径
sudo visudo
我添加了
lxglxt ALL = NOPASSWD: /usr/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
为了确认zlib已经安装,我写了一个测试程序,测试成功。
但问题依旧。
有人说zlib要手动下载安装,好吧,下载最新源码,编译安装。
再次编译LTIB,问题依旧。
我的系统是ubuntu 12.0.4LTS,再次确认,我已经安装了必需的包,如下:
sudo apt-get install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev
sudo apt-get install libdbus-glib-1-dev liborbit2-dev intltool
sudo apt-get install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool
sudo apt-get install uuid-dev liblzo2-dev
sudo apt-get install tcl dpkg
sudo apt-get install gparted emacs22-nox openssh-server
sudo apt-get install nfs-common nfs-kernel-server lintian
sudo apt-get install git-core git-doc git-email git-gui gitk
sudo apt-get install diffstat indent tofrodos fakeroot doxygen uboot-mkimage
sudo apt-get install sendmail mailutils meld atftpd sharutils
sudo apt-get install manpages-dev manpages-posix manpages-posix-dev linux-doc
sudo apt-get install vnc4server xvnc4viewer
sudo apt-get install atftpd
sudo apt-get install nfs-common nfs-kernel-server
sudo apt-get install samba
sudo apt-get install vnc4server
sudo apt-get install xvnc4viewer
请问,有什么测试或者解决得办法?
|