LTIB on Ubuntu 12.04

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

LTIB on Ubuntu 12.04

48,784 Views
rheine
Contributor I

Hello, I was trying to install an the LTIB on Ubuntu 12.04. I have got through all of the package installs and changed the Ltibutils.pm to find the glibc-devel and zlib. I am stuck when running it errors with a host_config.log that contains only this:

rpmdb: --force-debian: unknown option
Died at ./ltib line 2337.
traceback:
 main::setup_rpmdb:2337
  main::check_rpm_setup:2400
   main::host_checks:1423
    main:542


Started: Tue Aug  7 11:15:31 2012
Ended:   Tue Aug  7 11:15:31 2012
Elapsed: 0 seconds


Build Failed

47 Replies

1,410 Views
Nich
Contributor III

My colleague has solved problem with installing LTIB to Kubuntu 12.04 with set of scripts that he found here. Also he has added couple of new scripts. Now it works fine for our BSP 20100413 for MPC8308ERDB and Ubuntu/Kubuntu 12.04. Zipped tarball with scripts is attached to this post and there is an original readme file inside.

0 Kudos
Reply

1,410 Views
williamxu
Contributor I

can you tell me how to patch them. I can not run LTIB on Ubuntu 12.04 LTS. thanks in advanced.

0 Kudos
Reply

1,410 Views
kostya253
Contributor I

Hi,

 

I had the same issue: there is a workaround editing the ltib script and adding --force-debian inside the script (at 2337+).

 

Try building on CentOS 6 - Use virtualbox for virtualization.

Tried Debian sqeeze and Ubuntu 12.04 and failed.

CentOS builds fine.

 

Good luck

0 Kudos
Reply

1,410 Views
Nich
Contributor III

I had similar problem with installing LTIB on Ubuntu 11 and 12. Recently my colleague has managed to solve that problem but then he found next serious problem and he haven't solved it yet... So I would recommend to take Ubuntu 10 or Debian 6 (that we are currently using for MPC8308).

0 Kudos
Reply

1,410 Views
TomE
Specialist II

> So I would recommend to take Ubuntu 10

 

That will only work until April 2013 at which point "Ubuntu 10.4 LTS (Long Term Support)" goes to "unsupported".

 

The problem is that all of the Ubuntu packages disappear (or are moved), so if you find you need an extra package in order to support the build system , Synaptics (or "apt-get") can't find it any more. So if you need things like we did for another build system (gawk texinfo bison flex libmpfr-dev libgmp-dev libmpc-dev fakeroot automake autoconf gperf) they're hard to get.

 

This is where "just get everything from the Internet" simply doesn't work any more.

 

It is almost essential to set up a virtual machine to host the build so you can run it on any machine if your main machine dies, needs upgrading or you need to set up another programmer.

 

Tom

 

0 Kudos
Reply

1,410 Views
gal_afel
Contributor I

Hi,

 

I had a similar problem trying to build the Linux kernel with LTIB in Ubuntu 12.04 for my TWR-MPC8309 board. Try installing LTIB in Ubuntu 10.10 or 10.04, which are more stable and compatible versions for LTIB. It worked fine for me with those versions. There is a .txt file in the LTIB documentation specifying which Linux versions are compatible.

 

I hope this solves your problem.

 

Regards,

Gal

0 Kudos
Reply