Problems installing ltib-e500mc-20091218 for P4080

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems installing ltib-e500mc-20091218 for P4080

Jump to solution
3,562 Views
LeeS
Contributor II

I've been trying to run ./ltib from ltib-e500mc-20091218 on a number of different linux distributions, including an older distribution that Freescale recommended (Deb. 4.0r7), but also Ubuntu 9.10,Fedora 12 and currently Debian 5.04. I get to the point where I get the following error:   

Processing platform: host support
===================================

Processing: rpm-fs
====================
Build path taken because: no prebuilt rpm,
Try rpm-4.0.4.tar.gz.md5 from the GPP
Try rpm-4.0.4.tar.gz from the GPP
Can't get: rpm-4.0.4.tar.gz at ./ltib line 790.
could not glob rpm in: /tmp/rpm-ls/RPMS/i686/rpm-fs-* at ./ltib line 2405.
traceback:
 main::check_rpm_setup:2405
  main::host_checks:1423
   main:542


Started: Tue Mar  2 04:24:53 2010
Ended:   Tue Mar  2 04:24:53 2010
Elapsed: 0 seconds

These packages failed to build:
rpm-fs

Build Failed


Several comments

1) It looks like it can't access the GPP.  I am behind a proxy but I have set http_proxy.

2) I have manually downloaded rpm-4.0.4.tar.gz but when I attempt to run ./configure it dies.

Is there somewhere specific that I can put rpm-4.0.4.tar.gz so ltib can find it?

 

Also, on Debian I have been unable to install the rpm-build package.  Can someone tell me how to do that?

Here's what Aptitude says:

 

debianls:/home/ls# aptitude install rpm-build

Reading package lists... Done

Building dependency tree

Reading state information... Done

Reading extended state information

Initializing package states... Done

Writing extended state information... Done

Reading task descriptions... Done

No candidate version found for rpm-build

No candidate version found for rpm-build

No packages will be installed, upgraded, or removed.

0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Need to get 0B of archives. After unpacking 0B will be used.

Writing extended state information... Done

Reading package lists... Done

Building dependency tree

Reading state information... Done

Reading extended state information

Initializing package states... Done

Reading task descriptions... Done


"Aptitude install alien"  worked fine.

Thanks

 

Tags (1)
0 Kudos
1 Solution
970 Views
LeeS
Contributor II

First of all, the GPP issues turned out to be a red herring.  All of the required LTIB software packages are on the CD.  The problem I saw had to do with some distributions not correctly accessing the CD.  If you copy everything from the CD onto your hard disk and then run the build script, things will probably go much better.

Secondly, for Debian distributions you don't need the RPM packages, Debian has it's own package manager.

The first time to run the build script (as above) , it will identify some Linux packages that you need that are not currently in your distribution.  Use the Debian package manager or apt or apt-get or whatever you like to load those.  Once you get all of the required Linux packages in your host, the LTIB script should run to completion with no problems.

Good luck...

View solution in original post

0 Kudos
7 Replies
970 Views
lhjoanna
Contributor I

I've met the same problem with you    you got the solutions ???  Wish your reply    Thanks!!!

0 Kudos
971 Views
LeeS
Contributor II

First of all, the GPP issues turned out to be a red herring.  All of the required LTIB software packages are on the CD.  The problem I saw had to do with some distributions not correctly accessing the CD.  If you copy everything from the CD onto your hard disk and then run the build script, things will probably go much better.

Secondly, for Debian distributions you don't need the RPM packages, Debian has it's own package manager.

The first time to run the build script (as above) , it will identify some Linux packages that you need that are not currently in your distribution.  Use the Debian package manager or apt or apt-get or whatever you like to load those.  Once you get all of the required Linux packages in your host, the LTIB script should run to completion with no problems.

Good luck...

0 Kudos
970 Views
lhjoanna
Contributor I

Thanks for your reply.

 

I loaded all of the required packages in my host(Ubuntu 10.04),but problem still happened. The target board was brought by my senior fellow  apprentices who has graduated years ago and works in freescale now. And now just board here,no cd ,no manual.

 

Here is my Host_Configure.log 

 

Processing platform: host support
===================================

Processing: rpm-fs
====================
Build path taken because: no prebuilt rpm,
Testing network connectivity for gpp
OK GPP: is available
Try rpm-4.0.4.tar.gz.md5 from the GPP
2010-09-23 12:16:27 URL:http://bitshrine.org/gpp//rpm-4.0.4.tar.gz.md5 [50/50] -> "rpm-4.0.4.tar.gz.md5" [1]
Try rpm-4.0.4.tar.gz from the GPP
ERROR: md5sum mismatch, re-naming /tmp/rpm-root/rpm-4.0.4.tar.gz to /tmp/rpm-root/rpm-4.0.4.tar.gz.bad, please re-try
Can't get: rpm-4.0.4.tar.gz at ./ltib line 802.
Died at ./ltib line 2471.
traceback:
 main::check_rpm_setup:2471
  main::host_checks:1456
   main:548


Started: Thu Sep 23 12:16:20 2010
Ended:   Thu Sep 23 12:16:51 2010
Elapsed: 31 seconds

Use of uninitialized value in concatenation (.) or string at ./ltib line 2791.
Use of uninitialized value in concatenation (.) or string at ./ltib line 2791.
VERSION          : 10.1.1
CVS_VERSION      : $Revision: 1.71 $ (Savannah)
PLATFORM         : host
GNUTARCH         : i686
TOOLCHAIN        :
TOOLCHAIN_CFLAGS :

These packages failed to build:
rpm-fs

Build Failed

 

is my rpm package version too high?

someone say when met the md5 problem  ,just repeat the ./ltib again and again. But still not works.

 

Do you know how to solve that?

I don't know if i express my problem clearly.

Thank you very much!

0 Kudos
970 Views
LeeS
Contributor II

It sounds like you are missing the P4080 SDK distribution.  The most current is ltib-500mc-20100331.  You need to get it from Freescale.  It contains the package that the build is complaining about (rpm-4.0.4.tar.gz) and all of the other packages needed to build ltib.  

Once you get the CD, since you are using Ubuntu you may get away with running the ltib build script (./ltib) after doing the standard install, but with Debian and redhat and others, I found that the install did not copy all of the required packages from the CD.

Good luck.

0 Kudos
969 Views
ralph__
Contributor IV

Where do you get this CD from? Thanks.

0 Kudos
970 Views
lhjoanna
Contributor I

Thanks for your help!

I'll try to get a complete ltib from  freescale.com 

hope everyting is fine!

0 Kudos
970 Views
ralph__
Contributor IV

Hi, did you ever find out where to download the appropriate file from?

Thanks,
Ralph

0 Kudos