rpm-build package missing and halted LTIB build under Ubuntu 10.04 [MPC8313E RDB]

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

rpm-build package missing and halted LTIB build under Ubuntu 10.04 [MPC8313E RDB]

8,462 次查看
v_slauer
Contributor I

 

I am trying to build LTIB under Ubuntu 10.04, and I have installed the following packages:

apt-get install m4

apt-get install bison

apt-get install patch

apt-get install build-essential

apt-get install libncurses5-dev

apt-get install zlib1g-dev

apt-get install rpm

 

But I still have this problem message saying I missed rpm-build package when I tried to build:

ltib cannot be run because one or more of the host packages needed
to run it are either missing or out of date.

Please install/upgrade these packages and then re-try.

Package                Minimum ver   Installed info
-------                -----------   ---------------
rpm-build              0             not installed
Died at ./ltib line 1241.
traceback:
 main::host_checks:1241
  main:489


Started: Fri Jul 23 16:53:26 2010
Ended:   Fri Jul 23 16:53:26 2010
Elapsed: 0 seconds


Build Failed

Exiting on error or interrupt

 

Could anyone help me to solve this please?

 

Thanks,

Vslauer

0 项奖励
回复
8 回复数

1,846 次查看
Habitant
NXP Employee
NXP Employee

I never tried to install MPC8313 BSP to Ubuntu 10.04; but we had problems with some other BSPs on 10.04. Apparently, dependency verification procedure is broken on newer (k)Ubuntu.

 

If you have already installed rpm-build (use command "apt-file search rpmbuild " to double-check) then as a dirty hack, please try commenting out line 94 in ./ltib script - replace line

 

rpm-build 0

 with

 

 

# rpm-build 0

 

 

0 项奖励
回复

1,846 次查看
v_slauer
Contributor I

Thanks for your help Habitant, but it still doesn't solve the problem.

I commented out the rpm-build line, then LTIB doesn't report any more error in checking packages, but it gave me error during build.

 

I found out the cause of previous problem was that the LTIB doesn't
support the latest version of RPM 4.7.0 which is what you get when you run apt-get under ubuntu 10.04, so I have installed the downgrade
version 4.4.2.3, and now the LTIB doesn't report rpm-build package missing
error, however I still can not build LTIB which gives me the error message
in
host_config.log file. I have attached this file in this email. I also
downgraded my ubuntu to 9.10 version. Please help me to solve this
problem. Thank you.

0 项奖励
回复

1,846 次查看
rafamarca
Contributor I

Hello,

 

I am running through the same problem, I managed to install ltib from the bishrine.org site in Ubuntu 10.04 following some posts but when I try to install the ltib of the imx27PDK BSP, I have the same rpm-build. I tried to downgrade to rpm-4.4.2.3 but I could not do it. May I ask you how to downgrade the rpm package?

I guess the error you had after the rpm dowgrad was solved using the wiki....

 

Thanks to all in advance and best regards,

0 项奖励
回复

1,846 次查看
dsp2020
Contributor I

notice the rpmbuild assignment in $cf ={ . . . .}  block.  just change it appropriately to reflect rpm-build or just retype it as rpmbuild on line 94. you do't have to comment it out.

 

Bob

0 项奖励
回复

1,846 次查看
santiagozhu
Contributor I

I use the mx21ads site and get the same issue, modify the "rpm-build" of pre_install_deps to "rpmbuild". It will work well.

But, wihle implement the " ./ltib --configure " and rebuild the kernel, the kernel build is failed. Does anybody encounters this problem?

0 项奖励
回复

1,846 次查看
mahmoudbt
Contributor I

Hi all,

try to remove existant rpmbuld version over ubuntu1.04 and download & install rpmbuild-4.4.2.3 and its dependancies such as libeecrypt6.

I try it and it works perfectly.

 

Best Regards,

Mahmoud

0 项奖励
回复

1,846 次查看
rans
Senior Contributor I

Hello,

Did anyone solve this issue.

I've been working on it for some time, it's really a trouble.

I also couldn't updgrade back to the older rpm version.... :smileysad:

Regards,

Ran

0 项奖励
回复

1,846 次查看
rans
Senior Contributor I

Is there any other alternative SDK install without the LTIB ?

Regards,

Ran

0 项奖励
回复