[maemo-developers] Running Microb after building it

From: S P pskrtech at gmail.com
Date: Wed Aug 29 18:49:12 EEST 2007
Antonio,
        Thanks. I checked out and did dpkg buildpackage -us -uc -nc -d. It
failed with the following error. Looks like xpidl under microb-engine is
missing.  Do I need to build and install xpidl separately? I already
installed libidl-dev.

-------
/scratchbox/tools/bin/sh: line 1: /usr/lib/microb-engine/xpidl: No such file
or directory
make[3]: *** [gtkmozembedmarshal.h] Error 127
make[3]: Leaving directory
`/home/skumar/libgtkembedmoz/obj-arm-linux-gnueabi/sr c'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/skumar/libgtkembedmoz/obj-arm-linux-gnueabi'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/skumar/libgtkembedmoz/obj-arm-linux-gnueabi'
make: *** [build-stamp] Error 2
-------

On side notes, I mistakenly did apt-get install libgtkmozembed (not
libgtkembedmoz) and after that It seemed to do something better, but failed
eventually. I got the following error while Xphyr/af-fb.. is active.

-------
[sbox-SDK_ARMEL:
~/microb-engine-1.0.3/build-tree/obj-edyn-arm-sb-buildgtk2/dist/bin]
> export GRE_HOME=.
[sbox-SDK_ARMEL:
~/microb-engine-1.0.3/build-tree/obj-edyn-arm-sb-buildgtk2/dist/bin]
> export USE_LOCAL_GRE=1
[sbox-SDK_ARMEL:
~/microb-engine-1.0.3/build-tree/obj-edyn-arm-sb-buildgtk2/dist/bin]
> export DISPLAY=:2
[sbox-SDK_ARMEL:
~/microb-engine-1.0.3/build-tree/obj-edyn-arm-sb-buildgtk2/dist/bin]
> ./run-mozilla.sh ./TestGtkEmbed www.google.com
defined GRE_HOME=.
defined DISPLAY=:2
new_gtk_browser
        menu bar
        tool bar
        location bar
        status bar
qemu: uncaught target signal 11 (Segmentation fault) - exiting
--------

I then closed Xephyr, and then I got the following error.

--------------
[sbox-SDK_ARMEL:
~/microb-engine-1.0.3/build-tree/obj-edyn-arm-sb-buildgtk2/dist/bin]
> ./run-mozilla.sh ./TestGtkEmbed www.google.com
defined GRE_HOME=.
defined DISPLAY=:2
Unsupported setsockopt level=1 optname=9
Unsupported setsockopt level=1 optname=9
Unsupported setsockopt level=1 optname=9
Unsupported setsockopt level=1 optname=9
Unsupported setsockopt level=1 optname=9
Unsupported setsockopt level=1 optname=9
TestGtkEmbed[4031]: GLIB WARNING ** Gtk - cannot open display:
-------------

Thanks,
SP


On 8/29/07, Antonio Gomes <tonikitoo at gmail.com> wrote:
>
> sp,
>
> have you installed libgtkembedmoz as well ?
> https://garage.maemo.org/svn/browser/mozilla/trunk/libgtkembedmoz/
>
> maybe installing it, and trying something like:
>
> $ cd /usr/lib/microb-engine
> $ export GRE_HOME=.
> $ export LD_LIBRARY_PATH=.
> $ ./run-mozilla.sh ./TestGtkEmbed google.com
>
> ?
>
> On 8/29/07, S P <pskrtech at gmail.com> wrote:
> > With the help of timelyx and pupnik (IRC), I was able to build microb. I
> > have microb-engine_1.0.3-13_armel.deb and other .debs under
> > SDK_ARMEL. I tried dpkg -i and installation was successful (I had to
> install
> > other .debs to get there).
> >
> > But I am not able to see Microb under Web in maemo (Xephyr).
> >
> > In some IRC log, I found that I need to do
> >
> > GRE_HOME=. and USE_LOCAL_GRE=1
> > and ./run-mozilla.sh ./TestGtkEmbed
> >
> > If I do this, yesterday I got error related to starting xpcom.
> >
> > Today, I am getting -- Couldn't find GTKMozEmbed symbols.
> >
> > Can somebody help me how to run the microb I built?
> >
> > As you can see, I built for SDK_ARMEL. Do I need to built for X86?
> > In some IRC log I found that microb does not build for X86.
> >
> >
> > How can I see my armel .deb running? Do I need to use QEMU ( I need to
> read
> > about it yet)
>
> btw, try building it for i386 first ...;)
>
>
>
> --
> --Antonio Gomes
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070829/2f27bf19/attachment.htm 
More information about the maemo-developers mailing list