Problem in ./ltib installation for MPC 8313 ERDB Board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problem in ./ltib installation for MPC 8313 ERDB Board

5,176件の閲覧回数
BMN
Contributor I

Hello All,

I have been trying to install the Linux Board support package for the MPC 8313 ERDB board. 

I have successfully completed the installation of the Board support package. The issue now i am facing is in regard to the ltib installation. When i run "./ltib" from the ltib directory i get the following message in the command window.

 

--------------------------------------------------------------------------------------------------

Installation complete, your ltib installation has been placed in
/MPCLTIB/ltib-mpc8313erdb-20070824, to complete the installation:

cd /MPCLTIB/ltib-mpc8313erdb-20070824
./ltib

[ltib@localhost 8313e_070831]$ cd /MPCLTIB/ltib-mpc8313erdb-20070824
[ltib@localhost ltib-mpc8313erdb-20070824]$ ./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:


We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for ltib:

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:

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


Started: Wed Jul 29 16:18:31 2009
Ended:   Wed Jul 29 16:18:34 2009
Elapsed: 3 seconds

Build Failed

Exiting on error or interrupt
[ltib@localhost ltib-mpc8313erdb-20070824]$

--------------------------------------------------------------------------------------------------

 

From the above information the following steps were followed and the "./ltib" was issued.

--------------------------------------------------------------------------------------------------

To configure this, as root using the command "/usr/sbin/visudo",
and add the following line in the User privilege section:

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

 

Now the installiation was started and ran for about 3 minutes,before prompting the following error 

 

--------------------------------------------------------------------------------------------------

sudo rpm --dbpath /tmp/rpm-ltib/rpmdb -e --allmatches --nodeps rpm-fs 2>/dev/null
sudo rpm --dbpath /tmp/rpm-ltib/rpmdb --ignorearch -ivh --force --nodeps --excludedocs /tmp/rpm-ltib/RPMS/i686/rpm-fs-4.0.4-1.i686.rpm
ERROR: /tmp/rpm-ltib/RPMS/i686/rpm-fs-4.0.4-1.i686.rpm
would clobber reescale/ltib

Started: Wed Jul 29 20:35:39 2009
Ended:   Wed Jul 29 20:38:31 2009
Elapsed: 172 seconds

Build Failed

--------------------------------------------------------------------------------------------------

 

From the above error information, please help me what steps to be followed in order to run the ./ltib command successfuly. I am totally confused as the error information seems to be bit weird.

 

Thanks in advance.

 

BMN

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,782件の閲覧回数
Runin
Contributor I
Hi all,
 
I've been trying to build the LTIB on both Fedora 11 and Ubuntu 9.10 f with very little success.
I've installed the LTIB and when running ./ltib I ran into many different problems (most of them are already reported in different posts).
 
I've introduced the following changes as suggested:
  1. remark rpm-build (ltib line 94) 
  2. added CFLAGS=-O0 to make at dist/lfs-5.1/bison/bison.spec 
  3. remarked lines at the byteswap files (I've remarked them both at the patch file and the include file. The reason for that is that the /opt/freescale directory is only created during the ltib execution and by then it is already too late to change the patch as the h file is already patched)
I was able to get the ltib to run for about 30 minutes before stopping at:
    /opt/freescale/ltib/usr/bin/rpm has gone missing at ./ltib line 1308.
 
for some reason, the ltib/usr/bin directory is not created at all (ltib/usr/src was created).
I've tried creating it manually and soft linked /usr/bin/rpm to /opt/freescale/ltib/usr/bin.
resuming the ltib execution generated the following error:
    spoofing is not set up at ./ltib line 2279.
 
Any idea on how to proceed from here? 
0 件の賞賛
返信

1,782件の閲覧回数
Juliano
Contributor I

I have the same problem. Anyone can help me?

0 件の賞賛
返信