[Mono-list] About Gecko#

Nigel Benns nigel_benns at rogers.com
Thu Jun 2 18:29:15 EDT 2005


Hello Manuel,

AFAIK, Firefox uses a special version of Gecko that is not compatible with
Gecko#, so you need the Mozilla libs for it.

The GRE (Gecko Runtime Engine) is still built-in to Mozilla and hasn't
been completely seperated yet, though work is in progress.  Right now this
information is from the Mozilla.org site:

"GRE's can be installed on a user's machine as part of the installation of
a larger application which utilizes Gecko as it's core browsing engine.
Alternately, a GRE can make it's way to an end users machine if the user
chooses to explicitly download and install a GRE installation
package(which we make available as a separate download). "

So, no seperate package yet.  You need the Mozilla package, but I can't
see why you would need Mozilla-devel.  Try just forcing the removal of it
and see if it still works, if not you can reinstall it.  You could also
just delete the mozilla executable, it shouldn't need that either.  Then
just package the Mozilla libs with your program.  You might need to get in
contact with the Mozilla team to make sure this is alright though.

The only other solution would be to use GTKHTML... which isn't near the
rendering capabilities of Mozilla, but should work for simple pages.

Check out the GRE page: http://www.mozilla.org/projects/embedding/GRE.html

> Hi,
>
> I have two questions about Gecko#:
>
> 1) How can I use Gecko# without mozilla and mozilla-devel?. I have tried
> to use the gtkembedmoz.so that comes with firefox, but doesn't work. I
> tried it whith this.
>
> export LD_LIBRARY_PATH=/usr/lib/firefox-1.0.4/
>
> Only when I installed mozilla and mozilla-devel, the sample that comes
> with Gecko# worked, but I needed to use this:
>
> export LD_LIBRARY_PATH=/usr/lib/mozilla-1.7.8/
>
> Mozilla and Mozilla-devel are a 40 MB download, and I don't want it as a
> dependency for my Application.
>
>
> 2) What do I need for using Gecko# in Windows?
>
> Thanks,
>
> Manuel.
>
> --
> · Manuel Alejandro Cerón Estrada <ceronman at gmail.com>
> · http://ceronman.blogspot.com
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>



More information about the Mono-list mailing list