How to build BSP for FreeScale MPC8548e

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

How to build BSP for FreeScale MPC8548e

跳至解决方案
1,129 次查看
s153022
Contributor III

Hi,

 

I am trying to build the ltib-mpc8548cds-20071214 BSP. 

I used the ubuntu 12.04 machine. 

 

I installed the ltib and tried to run `ltib` binary in the install folder. then I got the below errors. 

 

Don't have LWP::UserAgent
Cannot test proxies, or remote file availability without both
HTTP::Request::Common and LWP::UserAgent
sh: 2: g++: not found

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
------- ----------- ---------------
glibc-devel 0 not installed
libstdc++ 0 not installed
gcc-c++ 2.96 not installed
zlib 0 not installed
zlib-devel 0 not installed
rpm 0 not installed
rpm-build 0 not installed
ncurses-devel 0 not installed
m4 0 not installed
bison 0 not installed
Died at ./ltib line 1210.

Started: Thu May 20 11:10:22 2021
Ended: Thu May 20 11:10:22 2021
Elapsed: 0 seconds

Build Failed

 

Is there any way to build this on ubuntu 12.04 or later?

 

 

 

Best Regards

Sami

0 项奖励
回复
1 解答
1,119 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following script to install necessary packages on Ubuntu machine to run ltib.

#/bin/bash
# Install LTIB dependant packages
sudo apt-get install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev
sudo apt-get install libdbus-glib-1-dev liborbit2-dev intltool
sudo apt-get install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool
sudo apt-get install uuid-dev liblzo2-dev
sudo apt-get install tcl dpkg
# Packages required for 64-bit Ubuntu
# Do "uname -a" and see if the word "x86_64" shows up.
if uname -a|grep -sq 'x86_64'; then
sudo apt-get install ia32-libs libc6-dev-i386 lib32z1
fi

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,120 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following script to install necessary packages on Ubuntu machine to run ltib.

#/bin/bash
# Install LTIB dependant packages
sudo apt-get install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev
sudo apt-get install libdbus-glib-1-dev liborbit2-dev intltool
sudo apt-get install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool
sudo apt-get install uuid-dev liblzo2-dev
sudo apt-get install tcl dpkg
# Packages required for 64-bit Ubuntu
# Do "uname -a" and see if the word "x86_64" shows up.
if uname -a|grep -sq 'x86_64'; then
sudo apt-get install ia32-libs libc6-dev-i386 lib32z1
fi

0 项奖励
回复