FSL_TICS_imx 发表于 2014-2-17 11:24 
楼主你好,具体步骤如下:
1、首先你要获取i.mx-test源码,进入ltib目录:
./ltib -p imx-test -m prep
在安装完所需要的包后执行 ./ltib
错误信息如下,
Don't have HTTP::Request::Common
Don't have LWP::UserAgent
Cannot test proxies, or remote file availability without both
HTTP::Request::Common and LWP::UserAgent
I ran the command: sudo -S -l which returned:
[sudo] password for linz: Sorry, try again.
[sudo] password for linz: Sorry, try again.
[sudo] password for linz: Sorry, try again.
sudo: 3 incorrect password attempts
This means you don't have sudo permission to execute rpm commands as root
without a password. This is needed for this build script to operate correctly.
To configure this, as root using the command "/usr/sbin/visudo",
and add the following line in the User privilege section:
linz ALL = NOPASSWD: /usr/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
traceback:
main::check_sudo_setup:2467
main::host_checks:1413
main:554
Started: Mon Feb 17 14:40:54 2014
Ended: Mon Feb 17 14:41:01 2014
Elapsed: 7 seconds
Build Failed
Exiting on error or interrupt
这个应该怎么改呢,我在网上搜了下说是改权限,打开/etc/sudoers文件在最后一行添加
usrname ALL = NOPASSWD:/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
按这样的修改试了下还是这个错误,怎么回事呢?
|