Build LTIB error in L3.0.35_4.1.0 on Ubuntu 13.10 64bit OS

cancel
Showing results for 
Search instead for 
Did you mean: 

Build LTIB error in L3.0.35_4.1.0 on Ubuntu 13.10 64bit OS

1,498 Views
Contributor III

Hi I got the error when building the LTIB BSP by ./ltib -c as following. I used L3.0.35_4.1.0 on Ubuntu 13.10 64bit OS. If someone can help. thanks advance.

checking pkg-config is at least version 0.9.0... yes

checking for STARTUP_NOTIFICATION... no

***** WARNING: Building without libstartup-notification

checking for EEL... configure: error: Package requirements (

    gail            >= 0.16

    gconf-2.0        >= 1.1.11

    gdk-pixbuf-2.0        >= 2

    glib-2.0        >= 2.15.0

    gio-2.0

    gthread-2.0        >= 2.15.0

    gtk+-2.0        >= 2.9.4

    libglade-2.0        >= 2.0.0

    libgnome-2.0        >= 2.23.0

    libgnomeui-2.0        >= 2.7.92

    gnome-desktop-2.0    >= 2.23.3

    libxml-2.0        >= 2.4.7

   

) were not met:

....

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables EEL_CFLAGS

and EEL_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more detail

Labels (1)
Tags (2)
13 Replies

58 Views
NXP TechSupport
NXP TechSupport

Hi Bill,

When you build L3.0.35_4.1.0 on Ubuntu 13.10 64bit OS, this steps are also necessary:

1) install patch-ltib-ubuntu12.04.sh from (https://community.freescale.com/docs/DOC-93455).

2) create a soft link under /usr/include.

     sudo ln -s i386-linux-gun/sys sys

3) install additional packages.

     sudo aptitude -y install asciidoc texlive-latex-base dblatex xutils-dev

     sudo apt-get install texinfo

4) modify ltib/dist/lfs-5.1/base_libs/base_libs.spec.

     ...

     perl -w -e '

     # @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;

     # exit (0) unless @ARGV;

Hope this can help you~~

Best Regards

Dan

58 Views
Contributor III

Hi Dan,

A couple of things.

Do I really need to install the patch-ltib-ubuntu12.04.sh? I so far only applied 0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_13.10_64bit_OS.patch. also I have tried apt-get install ia32-libs, but it is obsoleted, so it is not available. 

--Bill

0 Kudos

58 Views
NXP TechSupport
NXP TechSupport

Hi Bill,

Have you solved your problem?

Have a great day~~

Best Regards

Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

58 Views
Contributor III

Hi Dan,

I really need you help to figure out what is going on here for build a BSP. I have not success to build the LTIB BSP on my Ubunto 13.10 developing station so far. the error message always pop up as below.

checking for EEL... configure: error: Package requirements (
    gail            >= 0.16
    gconf-2.0        >= 1.1.11
    gdk-pixbuf-2.0        >= 2
    glib-2.0        >= 2.15.0
    gio-2.0
    gthread-2.0        >= 2.15.0
    gtk+-2.0        >= 2.9.4
    libglade-2.0        >= 2.0.0
    libgnome-2.0        >= 2.23.0
    libgnomeui-2.0        >= 2.7.92
    gnome-desktop-2.0    >= 2.23.3
    libxml-2.0        >= 2.4.7
) were not met:
No package 'gail' found
No package 'gconf-2.0' found
No package 'gdk-pixbuf-2.0' found
No package 'gtk+-2.0' found
No package 'libglade-2.0' found
No package 'libgnome-2.0' found
No package 'libgnomeui-2.0' found
No package 'gnome-desktop-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables EEL_CFLAGS
and EEL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I have no idea what this means since I am not familiar with LTIB. If you can help me to figure out this problem, it will be great appreciated. My project is tight reach to schedule, I need to fix this issue ASAP.

Thanks,

-Bill

0 Kudos

58 Views
NXP TechSupport
NXP TechSupport

Hi Bill,

When you execute ./ltib --select under ltib directory, in the option " Choose the packages profile "which profile have you selected?

FSL gnome release package or others?

Have a great day~~

Best Regards

Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

58 Views
Contributor III

Hi Dan,

It is selecting "Min profile". Do I need to change to FSL gnome release package? What is you recommend?

Thanks for your replying,

-Bill

0 Kudos

58 Views
NXP TechSupport
NXP TechSupport

Hi Bill,

Selecting "Min profile" is OK. From the error you met I can see that it's the old packages cause this error. Here I recommend you to download the newest linux BSP first then remove the direcctory /opt/freescale and ltib. Rebuild as you find Compile L3.0.35_4.1.0 on Ubuntu 13.10 64bit OS. If there is still problem, contact me~~

Have a great day~~

Best Regards

Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

58 Views
NXP TechSupport
NXP TechSupport

Hi Bill,

About the question you said above, yes, you are right ,there is no need to install the patch patch-ltib-ubuntu12.04.sh after you have applied 0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_13.10_64bit_OS.patch or install ia32-libs, they are for the same function. Sorry for no clearly speaking.

Best Regards

Dan

0 Kudos

58 Views
Contributor III

Dan,

Thank you for your detailed installation of L3.0.35_4.1.0. Actually, I have installed the LTIB followed the document from Compile L3.0.35_4.1.0 on Ubuntu 13.10 64bit OS, as listing below. The document looks covering every step as your described above. During that time, after the installation, I was able to compile it successful a couple times. Unfortunately, recently, I need to re-compile, it is suddenly broken and pop out the errors. I have checked these packages and found they all are under /opt/freescale/pkgs/ and the versions are correct. It seems PKG_CONFIG_PATH issue. If you have any other suggestions or views regarding this PKG_COMFIG_PATH issue. Actually, I am not familiar with LTIB a little bit. Otherwise, if it could not be fixed, I may have to do uninstalling whole LTIB and re-installing it again, which I really don't want to do.

A) Basic Requirement:

  • Set up the Linux Host PC using ubuntu-13.10-desktop-amd64.iso
  • Make sure the previous LTIB installation and the /opt/freescale have been removed

B) Installed the needed packages to the Linux Host PC

$ sudo apt-get update

$ 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

$ sudo apt-get install asciidoc texlive-latex-base dblatex xutils-dev

$ sudo apt-get install texlive texinfo

$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

$ sudo apt-get install libc6-dev-i386

$ sudo apt-get install u-boot-tools

$ sudo apt-get install scrollkeeper

$ sudo apt-get install gparted

$ sudo apt-get install nfs-common nfs-kernel-server

$ sudo apt-get install git-core git-doc git-email git-gui gitk

$ sudo apt-get install meld atftpd

$ sudo ln -s /usr/lib/x86_64-linux-gnu/librt.so   /usr/lib/librt.so

C) Unpack and install the LTIB source package and assume done on the home directory:

$ cd ~

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

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

     After that, you will find ~/ltib directory created

D) Apply the patch to make L3.0.35_4.1.0 could be installed and compiled on Ubuntu 13.10 64bit OS

$ cd ~/ltib

$ git apply 0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_13.10_64bit_OS.patch

What the patch is doing:

a) The patch modifies the following files:

    •    dist/lfs-5.1/base_libs/base_libs.spec
    •    dist/lfs-5.1/m4/m4.spec
    •    dist/lfs-5.1/ncurses/ncurses.spec

b) Add the following files to the pkgs directory:

    •    pkgs/m4-1.4.16-1383761043.patch
    •    pkgs/m4-1.4.16-1383761043.patch.md5
0 Kudos

58 Views
Contributor I

Hi Bill. if the Ubuntu is 14.04 then how come your patch will work.  we are facing same problem LTIB failed with zlib is not installed.

so can you please help in this.

regards,

Viswanath K

0 Kudos

58 Views
NXP TechSupport
NXP TechSupport

Hi Bill,

Compile L3.0.35_4.1.0 on Ubuntu 13.10 64bit OS It's so great~~ I think it shows more details and is quietly overall.

By the way, you have said about re-compile things, would you please give me the error messages? I think there's no need to re-install the LTIB again.

Best Regards

Dan

0 Kudos

58 Views
NXP TechSupport
NXP TechSupport

Hi Bill,

Some packages are missing. You can check, I have give you all packages needed by LTIB, as following:

sudo aptitude -y install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev

sudo aptitude -y install libdbus-glib-1-dev liborbit2-dev intltool

sudo aptitude -y install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool

sudo aptitude -y install uuid-dev liblzo2-dev

sudo aptitude -y install tcl dpkg

sudo aptitude -y install asciidoc texlive-latex-base dblatex xutils-dev

sudo apt-get install texinfo

# 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 aptitude -y install ia32-libs libc6-dev-i386 lib32z1

58 Views
NXP TechSupport
NXP TechSupport

Please refer to the next Community link for recent recommendations about Linux host setup :

"i.MX Linux BSP Environment Setup"

https://community.freescale.com/docs/DOC-95042

0 Kudos