Build ltib error......

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

Build ltib error......

1,080 Views
sangjinhong
Contributor III

I'm sure that I was successful to build ltib for i.MX 6 previous week.

I don't know why???

Please help me !!!

However, I tried to build ltib this monday, but I couldn't do that.

There was build error.

I referenced i.MX_6Dual6Quad_SABRE-SD_Linux_User's_Guide.pdf document.

I ran the following commands:

$ tar zxvf L3.0.35_4.1.0_130816_source.tar.gz

$ ./L3.0.35_4.1.0_130816_source/install

$ cd <LTIB directory>

$ ./ltib -m config

there was a error like the following:

*****************************************************************************************************************************

$ ./ltib -m config

Installing host support packages.

This only needs to be done once per host, but may take up to

an hour to complete ...

If an error occurs, a log file with the full output may be found in:

/home/istech/dev/freescale/dev_env/ltib/host_config.log

Exiting on error or interrupt

Please see >> /home/istech/dev/freescale/dev_env/ltib/host_config.log for details

*****************************************************************************************************************************

host_config is like the following:

*****************************************************************************************************************************

Processing platform: Host support packages

============================================

using /home/istech/dev/freescale/dev_env/ltib/config/platform/host/ltib.preconfig

Processing: fake-provides

===========================

Processing: mkspooflinks

==========================

Processing: distcc

====================

Processing: ccache

====================

Processing: m4

================

Processing: bison

===================

Processing: flex

==================

Build path taken because: directory build, no prebuilt rpm,

Cowardly refusing to clobber existing directory:

/opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37

Remove this by hand if you really want to rebuild this package from scratch

Died at ./ltib line 1392.

traceback:

main::build_host_rpms:1392

  main::host_checks:1447

   main:554

*****************************************************************************************************************************

Labels (1)
4 Replies

784 Views
sangjinhong
Contributor III

I resolved the problem after I installed texinfo package.

$ sudo apt-get install texinfo

I don't exactly know why???

0 Kudos

784 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi sangjin,

When you build the newest BSP, the packages texinfo and texlive are required by LTIB. Details are  "Setting_Up_LTIB_host.pdf" you can have a look.

And you can also take Re: Linux build issue (L3.0.35_4.0.0) for reference.Hope this can help you ~~

Best Regards

Dan

0 Kudos

784 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi sangjin,

When you rebuild BSP in ltib, make sure that Remove all previously-installed packages from /opt/freescale/pkgs/.

As Leo said above. You can have a try:smileyhappy:~~

Best Regards

Dan

784 Views
LeonardoSandova
Specialist I

have you done the suggestion on the log?

/opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37

Remove this by hand if you really want to rebuild this package from scratch