ltib安装

操作系统使用Fedora 7

 

 

1.
===============================================================================
使用root用户
mount /work/PxxxxRDB_xxxxxxxx-ltib.iso /work/ltibiso/ -o loop


2.
===============================================================================
使用普通用户执行安装
$ /work/ltibiso/install
根据提示输入安装路径


3.
===============================================================================
安装结束提示信息
Copying packages to /work/ltibinstall/ltib-pxxxxrdb-xxxxxxxx/pkgs

Installation complete, your ltib installation has been placed in
/work/ltibinstall/ltib-pxxxxrdb-xxxxxxxx, to complete the installation:

cd /work/ltibinstall/ltib-pxxxxrdb-xxxxxxxx
./ltib


4.
===============================================================================
$ ./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:

Password:

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:

username ALL = NOPASSWD: /bin/rpm, /opt/freescale/ltib/usr/bin/rpm

traceback:
 main::check_sudo_setup:2443
  main::host_checks:1401
   main:542


Started: Fri May 10 20:42:21 2013
Ended:   Fri May 10 20:42:26 2013
Elapsed: 5 seconds


Build Failed

Exiting on error or interrupt


5.
===============================================================================
使用root用户

# visudo
在最后加入
username ALL = NOPASSWD: /bin/rpm, /opt/freescale/ltib/usr/bin/rpm


6.
===============================================================================
再次执行

$ ./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

Installing host support packages.

This only needs to be done once per host, but may take up to
an hour to complete ...

If an error occurs, a log file with the full output may be found in:
/work/ltibinstall/ltib-pxxxxrdb-xxxxxxxx/host_config.log


7.
===============================================================================
执行./ltib -m shell
Entering ltib shell mode, type 'exit' to quit
LTIB>

LTIB> cd /work/source
LTIB> make

===============================================================================


 

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值