LTIB GTK build Error for iMX6

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

LTIB GTK build Error for iMX6

Jump to solution
3,585 Views
praveeng
Contributor II

 

Hello,

I have a iMX6 Sabrelite development board. I have a Ltib 2,6,38 version for the same board.

While compiling on 64 bit Ubuntu 12,04LTS , I find the build fails because of gtk error (f_buildrpms() returned an error,) been repeated ...

Further I have checked in internet and tried some solutions like installing all packages related to gtk, cairo etc and other solutions like bash, building cairo before ./ltib, but I fail to build the LTIB with the same error....

In the ./ltib -m config , I even cannot disable gtk and cairo.

Can you please suggest and idea or solution?

Please give some solutions, I am stuck since a long time.

The following is a brief report of the failed build.

checking for libpng12... yes

checking pixbuf loaders to build...

checking immodules to build...

checking for sys/wait.h that is POSIX.1 compatible... yes

checking return type of signal handlers... (cached) void

checking sys/systeminfo.h usability... no

checking sys/systeminfo.h presence... no

checking for sys/systeminfo.h... no

checking sys/sysinfo.h usability... yes

checking sys/sysinfo.h presence... yes

checking for sys/sysinfo.h... yes

checking for mediaLib 2.3... checking for mlib_ImageSetStruct in -lmlib... no

checking for x86 platform... no

checking for gdk-pixbuf-csource... /usr/bin/gdk-pixbuf-csource

checking for gtk-update-icon-cache... /usr/bin/gtk-update-icon-cache

checking for X... no

configure: error: X development libraries not found

error: Bad exit status from /home/praveen/freescale/ltib/tmp/rpm-tmp.26100 (%build)

RPM build errors:

Bad exit status from /home/praveen/freescale/ltib/tmp/rpm-tmp.26100 (%build)

Build time for gtk2: 15 seconds

Failed building gtk2

f_buildrpms() returned an error, exiting

traceback:

main:560

Started: Mon Oct 22 00:08:17 2012

Ended: Mon Oct 22 00:08:33 2012

Elapsed: 16 seconds

These packages failed to build:

gtk2

Build Failed

Labels (2)
0 Kudos
1 Solution
1,324 Views
makislivadas
Contributor IV

I have managed to fix this and is simple.

The end of the error message in configure

checking forgtk-update-icon-cache... /usr/bin/gtk-update-icon-cache

checking for X... no

configure: error: X development libraries not found

suggest that configure is looking for X. X is normally installed on the host computer, but in this case X is actually a target requirement. If I use LTIB to build X11 (Xorg...) then after X is build successfully, GTK will build OK with LTIB


View solution in original post

0 Kudos
4 Replies
1,324 Views
JerryZeng
NXP Employee
NXP Employee

We have a document named ltib_build_host_setup.pdf in the release document package to address such issue. Please read it.

In that document you can see following:

- We support building using Ubuntu 9.04 (Jaunty) installed from the 32 or 64 bit Desktop Ubuntu install cd.

- Other versions of Ubuntu are not currently supported and may have build issues.

- The Ubuntu 9.04 is an old release which is available from:

    http://old-releases.ubuntu.com/releases/9.04/


1,324 Views
makislivadas
Contributor IV

I seem to have the exact issue. It seems also consistent. I do not have Ubuntu 9.04, but as this is not really supported version of Linux someone would have tried to fix this. I tried Ubuntu 10.04, 12.04 and 13.04 with 32bit or 64bit versions and all die the same way as this.

0 Kudos
1,324 Views
OtavioSalvador
Senior Contributor II

Maybe you'd like to give a try to Yocto?

Yocto has a good community around it and currently most commonly used SoCs from i.MX platform is already supported by the meta-fsl-arm layer.

You can find more information how to make a build at https://community.freescale.com/docs/DOC-94023

0 Kudos
1,325 Views
makislivadas
Contributor IV

I have managed to fix this and is simple.

The end of the error message in configure

checking forgtk-update-icon-cache... /usr/bin/gtk-update-icon-cache

checking for X... no

configure: error: X development libraries not found

suggest that configure is looking for X. X is normally installed on the host computer, but in this case X is actually a target requirement. If I use LTIB to build X11 (Xorg...) then after X is build successfully, GTK will build OK with LTIB


0 Kudos