Wind River Support Network


LIN6-9336 : make depexp and make hob not functional on CentOS / RHEL 6

Created: Jan 27, 2015    Updated: Dec 3, 2018
Resolved Date: Feb 12, 2015
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config
Host OS: Linux Red Hat


In Wind River Linux 6, after creating a platform project, the "make depexp" command does not work on a Cent OS 6.6 x86_64 OS.

The output of "make depexp" is
$ make depexp
Traceback (most recent call last):
  File "/home/XXX/WindRiver/workspace/recovery-wr6/bitbake/bin/bitbake", line 335, in <module>
    ret = main()
  File "/home/XXX/WindRiver/workspace/recovery-wr6/bitbake/bin/bitbake", line 251, in main
    ui_module = get_ui(configParams)
  File "/home/XXX/WindRiver/workspace/recovery-wr6/bitbake/bin/bitbake", line 80, in get_ui
    module = __import__("bb.ui", fromlist = [interface])
  File "/home/XXX/WindRiver/workspace/recovery-wr6/bitbake/lib/bb/ui/", line 20, in <module>
    import gobject
ImportError: No module named gobject
make: *** [depexp] Error 1

I think it is because pygtk is not installed with the python-2.7 environment that comes with Wind River Linux 6 (under projectDir/bitbake_build/buildtools/sysroots/x86_64-wrlinuxsdk-linux).

Similarly "make hob" does not work either, for the same reason I think. The output is:

$ make hob
FATAL: Hob requires Gtk+ 2.20.0 or higher, PyGtk 2.21.0 or higher (No module named gobject).
make: *** [hob] Error 1

RHEL / CentOS 6.x does not have python 2.7 (it has 2.6 only), so the wrlinux-6 install provides its own python-2.7 on the development host to overcome this shortcoming, but that install is apparently lacking the PyGTK module.

Other Downloads

Live chat