Hello dear colleagues,
Does anybody know how to fix following issue or somebody already knows the easy way to get
LTIB up and running in Ubuntu virtual machine for VMware or some other virtual machine linux based?
Please see log beneath.
These instructions are from LPC3250 lINUX BSP manual. I did install them and when I typed to
start LTIB, it said build is failed ...
sudo passwd user
sudo visudo
user ALL=(ALL) NOPASSWD:/usr/bin/rpm, /opt/ltib /usr/bin/rpm
Press CTRL+X to exit the file. Choose to save the changes.
sudo apt-get install cvs
sudo apt-get install rpm
sudo apt-get install libncurses5-dev
sudo apt-get install m4
sudo apt-get install bison
sudo apt-get install tcl
sudo opt-get install openbsd-inetd
Setup a TFTP Server
sudo apt-get install tftpd
sudo gedit /etc/inetd.conf
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /home/user
sudo /etc/init.d/openbsd-inetd restart
Setup an NFS Server
sudo apt-get install portmap nfs-kernel-server
sudo gedit /etc/exports
/home/user/ltib/rootfs
192.168.0.0/255.255.0.0(rw,no_root_squash,no_subtree_check,sync)
sudo exportfs -ra
Install LTIB and Build the Images
1. Open a web browser and go to
http://ltib.org.
2. Click on the Download link in the left menu (below the Resources title).
3. In the section you will find a link to the netinstall.txt file. Right-click on this file
and save it in your home directory (/home/user).
4. Open up a terminal application and run the netinstall script.
cd /home/user
perl netinstall.txt
cd ltib
./ltib
***********************************************
address@hidden:~$ cd ltib
address@hidden:~/ltib$ ./ltib
sh: g++: not found
ltib cannot be run because one or more of the host packages needed to run it
are either missing, failing, out of date or not in ltib's standard path.
Current the PATH environment is set to:
/opt/ltib/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin
Please correct this problem (e.g. install/upgrade these packages on your host).
If you have your own utilities in non-standard paths, please add an entry
into the .ltibrc file for example:
%path_std
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/my/own/exes
Package Minimum ver Installed info
------- ----------- ---------------
libstdc++ 0 not installed or error
gcc-c++ 2.96 not installed or error
zlib-devel 0 not installed or error
patch 0 not installed or error
Died at ./ltib line 1431.
traceback:
main::host_checks:1431
main:548
Started: Sat Jan 29 13:32:08 2011
Ended: Sat Jan 29 13:32:08 2011
Elapsed: 0 seconds
Use of uninitialized value in concatenation (.) or string at ./ltib line 2792.
Use of uninitialized value in concatenation (.) or string at ./ltib line 2792.
Use of uninitialized value in concatenation (.) or string at ./ltib line 2792.
Use of uninitialized value in concatenation (.) or string at ./ltib line 2792.
VERSION : 10.1.1
CVS_VERSION : $Revision: 1.72 $ (Savannah)
PLATFORM :
GNUTARCH :
TOOLCHAIN :
TOOLCHAIN_CFLAGS :
Build Failed
Exiting on error or interrupt
address@hidden:~/ltib$