Hello.

I could build the gtk2hs package in current Debian sid, but I couldn't
run the gtkmozembed example, with the error message:

./testembedmoz: error while loading shared libraries: libxul.so: cannot
open shared object file: No such file or directory

I asked Alexander Sack about this
( 
http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/2008-June/003705.html
 ), and I got the following answer.  I've tried to change the C test Duncan has 
made, but I couldn't get it to work.

What should be done?

Thanks.

-------- Mensagem encaminhada --------
De: Alexander Sack <[EMAIL PROTECTED]>
Para: Marco Túlio Gontijo e Silva <[EMAIL PROTECTED]>
Cc: Mike Hommey <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Assunto: Re: Problems to build with mozembed
Data: Tue, 24 Jun 2008 20:51:40 +0200

On Tue, Jun 24, 2008 at 01:26:46PM -0300, Marco Túlio Gontijo e Silva wrote:
> I'm sending this e-mail to you since I got no answer from 
> pkg-mozilla-maintainers.
> 

Sorry, have missed your mail there. For standalone applications you
should use the standalone glue. Look at the "official" mozilla example at:

http://lxr.mozilla.org/seamonkey/source/embedding/browser/gtk/tests/TestGtkEmbed.cpp#198

on how to startup the standalone glue.

to get compiler and linker flags use 

 pkg-config --cflags --libs libxul-embedding

or if you need unstable headers:

 pkg-config --cflags --libs libxul-embedding-unstable


for unstable symbols you also need to start explicitly startup the
internal glue:

 rv = GTKEmbedGlueStartupInternal();


 - Alexander

-- 
Marco Túlio Gontijo e Silva
Página: http://marcotmarcot.googlepages.com/
Blog: http://marcotmarcot.wordpress.com/
Correio: [EMAIL PROTECTED]
XMPP: [EMAIL PROTECTED]
IRC: [EMAIL PROTECTED]
Telefone: 25151920
Celular: 98116720
Endereço:
 Rua Turfa, 639/701
 Prado 30410-370
 Belo Horizonte/MG Brasil



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to