



This is part 2 of Event Watch: Moblin – Intel’s Mobile Flavour Part 3.
After getting all the components, I could start Xephyr on the MIC device target terminal window. But, it did not keep me smile. The Xephyr window was broken immediately and I got the following error
(T: HelloMoblinApp)root@sheik-laptop:/# ... Xlib: connection to ":0.0" refused by server
It was my mistake that I forgot to install LibOSSO library. Then I installed it on the target terminal.
(T: HelloMoblinApp)root@sheik-laptop:/# apt-get install libosso-dev
After that I started Xephyr, this time it throws
(T: HelloMoblinApp)root@sheik-laptop:/# ume-xephyr-start Setting screen resolution to 1024x600 DISPLAY already set to :0.0 Starting dbus * system message bus already started; not starting. Starting UI in Xephyr Extended Input Devices not yet supported. Impelement it at line 625 in ../../../../hw/kdrive/src/kinput.c Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list! X connection to :0.0 broken (explicit kill or server shutdown). xinit: connection to X server lost.
Then I’ve gone thorugh some mail-list and I found a workaround at http://www.moblin.org/archives/html/dev/2008-04/msg00101.html. It said that use
# pkill gconfd
It kills parent’s gconfd and uses target environment’s gconfd. After that Xephyr started successfully but it throws same warning message, just skip that.
After that I was trying to compile and execute the given hello-world-1.-c at Moblin.org site. However, I am not able to compile, it says
(T: HelloMoblinApp)root@sheik-laptop:/usr/src/hello# gcc -o hello-world-1 hello-world-1.c `pkg-config --cflags --libs gtk+-2.0` Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found -su: gcc: command not found
Ha ha interesting, I was not in the situation whether gtk+-2.0 is already there in my Ubuntu or not. I just given
(T: HelloMoblinApp)root@sheik-laptop:/# sudo apt-get install libgtk2.0-dev
After that you have to install gcc on the target terminal
(T: HelloMoblinApp)root@sheik-laptop:/# sudo apt-get install gcc
After that I have successfully executed the hello world app.
Thank God.
One good thing is that the packages “gcc” and “libgtk2.0-dev” are got from host app only. It is nice thing about Moblin.
Let us see with more code on Moblin.

 
  
          




 More Options ...
More Options ...
  
 Categories
Categories Tag Cloud
Tag Cloud Blog RSS
Blog RSS Comments RSS
Comments RSS

 Void « Default
Void « Default
 Life
Life Earth
Earth Wind
Wind Water
Water Fire
Fire Light
Light