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
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
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.
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,
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?
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