<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Roberto Rocco Angeloni</title>
	<link>http://www.roccoangeloni.it/wp</link>
	<description>My technical blog</description>
	<pubDate>Sun, 20 May 2012 07:08:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>Comment on ObjectiveC on Ubuntu Linux by Carlan+Calazans &#187; Blog Archive &#187; Dica: Objective-C no Ubuntu</title>
		<link>http://www.roccoangeloni.it/wp/2008/08/07/objectivec-on-ubuntu-linux/#comment-14</link>
		<dc:creator>Carlan+Calazans &#187; Blog Archive &#187; Dica: Objective-C no Ubuntu</dc:creator>
		<pubDate>Fri, 30 Jan 2009 00:53:50 +0000</pubDate>
		<guid>http://www.roccoangeloni.it/wp/2008/08/07/objectivec-on-ubuntu-linux/#comment-14</guid>
		<description>[...] ter lido alguns how-to&#8217;s aqui e ali, resolvi testar. Segui os seguintes [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] ter lido alguns how-to&#8217;s aqui e ali, resolvi testar. Segui os seguintes [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Gecko.WebControl on Mono by pkdaly</title>
		<link>http://www.roccoangeloni.it/wp/2008/03/19/using-geckowebcontrol-on-mono/#comment-3</link>
		<dc:creator>pkdaly</dc:creator>
		<pubDate>Mon, 31 Mar 2008 22:15:47 +0000</pubDate>
		<guid>http://www.roccoangeloni.it/wp/2008/03/19/using-geckowebcontrol-on-mono/#comment-3</guid>
		<description>Hi Roberto,

Thanks for the script.  I modified it slightly so that it can fall-back on the seamonkey package.  In my case, I run &lt;strong&gt;OpenSUSE 10.3&lt;/strong&gt; and the latest firefox packages &lt;strong&gt;don't include libgtkembedmoz.so&lt;/strong&gt;.

Here's what I have:

&lt;code&gt;
if test -n "$MOZILLA_FIVE_HOME"; then
    MOZILLA_HOME=$MOZILLA_FIVE_HOME
elif test x/usr/lib/firefox != x; then
    if [ -f /usr/lib/firefox/chrome/comm.jar ]; then
    	if [ -f /usr/lib/firefox/libgtkembedmoz.so ]; then
            MOZILLA_FIVE_HOME=/usr/lib/firefox
            MOZILLA_HOME=$MOZILLA_FIVE_HOME
        elif [ -f /usr/lib/seamonkey/chrome/comm.jar ]; then
    		if [ -f /usr/lib/seamonkey/libgtkembedmoz.so ]; then
            	MOZILLA_FIVE_HOME=/usr/lib/seamonkey
            	MOZILLA_HOME=$MOZILLA_FIVE_HOME
            fi
        fi
    fi
elif [ $(which xulrunner 2&#62; /dev/null) ] &#62; /dev/null ; then
        MOZILLA_FIVE_HOME=`getdirectory xulrunner`
        MOZILLA_HOME=$MOZILLA_FIVE_HOME
elif [ $(which mozilla 2&#62; /dev/null) ] &#38;&#38; grep MOZILLA_FIVE_HOME= "$(which mozilla)" &#62; /dev/null ; then
        MOZILLA_FIVE_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) &#124; cut -d '"' -f 2)
        MOZILLA_HOME=$MOZILLA_FIVE_HOME
elif [ $(which firefox 2&#62; /dev/null) ] &#38;&#38; grep MOZILLA_FIVE_HOME= "$(which firefox)" &#62; /dev/null ; then
        MOZILLA_FIVE_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) &#124; cut -d '"' -f 2)
        MOZILLA_HOME=$MOZILLA_FIVE_HOME
elif [ $(which seamonkey 2&#62; /dev/null) ] &#38;&#38; grep MOZILLA_FIVE_HOME= "$(which seamonkey)" &#62; /dev/null ; then
        MOZILLA_FIVE_HOME=$(grep MOZILLA_FIVE_HOME= $(which seamonkey) &#124; cut -d '"' -f 2)
        MOZILLA_HOME=$MOZILLA_FIVE_HOME
fi

if [ -n $LD_LIBRARY_PATH ]; then
        export LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH
else
        export LD_LIBRARY_PATH=$MOZILLA_HOME
fi
export MOZILLA_FIVE_HOME
export MOZILLA_HOME
export LD_LIBRARY_PATH

pwd

exec /usr/bin/mono --debug ./SecondMessenger.exe "$@"
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hi Roberto,</p>
<p>Thanks for the script.  I modified it slightly so that it can fall-back on the seamonkey package.  In my case, I run <strong>OpenSUSE 10.3</strong> and the latest firefox packages <strong>don&#8217;t include libgtkembedmoz.so</strong>.</p>
<p>Here&#8217;s what I have:</p>
<p><code><br />
if test -n "$MOZILLA_FIVE_HOME"; then<br />
    MOZILLA_HOME=$MOZILLA_FIVE_HOME<br />
elif test x/usr/lib/firefox != x; then<br />
    if [ -f /usr/lib/firefox/chrome/comm.jar ]; then<br />
    	if [ -f /usr/lib/firefox/libgtkembedmoz.so ]; then<br />
            MOZILLA_FIVE_HOME=/usr/lib/firefox<br />
            MOZILLA_HOME=$MOZILLA_FIVE_HOME<br />
        elif [ -f /usr/lib/seamonkey/chrome/comm.jar ]; then<br />
    		if [ -f /usr/lib/seamonkey/libgtkembedmoz.so ]; then<br />
            	MOZILLA_FIVE_HOME=/usr/lib/seamonkey<br />
            	MOZILLA_HOME=$MOZILLA_FIVE_HOME<br />
            fi<br />
        fi<br />
    fi<br />
elif [ $(which xulrunner 2&gt; /dev/null) ] &gt; /dev/null ; then<br />
        MOZILLA_FIVE_HOME=`getdirectory xulrunner`<br />
        MOZILLA_HOME=$MOZILLA_FIVE_HOME<br />
elif [ $(which mozilla 2&gt; /dev/null) ] &amp;&amp; grep MOZILLA_FIVE_HOME= "$(which mozilla)" &gt; /dev/null ; then<br />
        MOZILLA_FIVE_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2)<br />
        MOZILLA_HOME=$MOZILLA_FIVE_HOME<br />
elif [ $(which firefox 2&gt; /dev/null) ] &amp;&amp; grep MOZILLA_FIVE_HOME= "$(which firefox)" &gt; /dev/null ; then<br />
        MOZILLA_FIVE_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) | cut -d '"' -f 2)<br />
        MOZILLA_HOME=$MOZILLA_FIVE_HOME<br />
elif [ $(which seamonkey 2&gt; /dev/null) ] &amp;&amp; grep MOZILLA_FIVE_HOME= "$(which seamonkey)" &gt; /dev/null ; then<br />
        MOZILLA_FIVE_HOME=$(grep MOZILLA_FIVE_HOME= $(which seamonkey) | cut -d '"' -f 2)<br />
        MOZILLA_HOME=$MOZILLA_FIVE_HOME<br />
fi</p>
<p>if [ -n $LD_LIBRARY_PATH ]; then<br />
        export LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH<br />
else<br />
        export LD_LIBRARY_PATH=$MOZILLA_HOME<br />
fi<br />
export MOZILLA_FIVE_HOME<br />
export MOZILLA_HOME<br />
export LD_LIBRARY_PATH</p>
<p>pwd</p>
<p>exec /usr/bin/mono --debug ./SecondMessenger.exe "$@"<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Second Messenger: Linux Version by pkdaly</title>
		<link>http://www.roccoangeloni.it/wp/2008/03/22/second-messenger-linux-version/#comment-2</link>
		<dc:creator>pkdaly</dc:creator>
		<pubDate>Mon, 31 Mar 2008 21:14:21 +0000</pubDate>
		<guid>http://www.roccoangeloni.it/wp/2008/03/22/second-messenger-linux-version/#comment-2</guid>
		<description>Hi Marte,

I'm running SUSE 10.3/KDE3 with the mono-complete package installed, and I'm having some problems getting Second Messenger to run on my platform.  From the program output, seems that it's unable to locate libgtkembedmoz.so which I know is on my system via packages mozilla-xulrunner181 and seamonkey.  Also, not sure about the references to .cs files in /home/roberto/projects.  User roberto does not exist on my system.

When I run SecondMessenger.sh, I get the following output in my shell:

/usr/share/SecondMessenger
SMClientManager::NewClient: looking for gtk client type.
SMClient: Registering commands from SecondMessenger, Version=1.0.3006.32882, Culture=neutral
SMClient: Registering commands from TestClient, Version=0.0.0.0, Culture=neutral
SMClientManager::NewClient: checking type gtk...
Client gtk found.

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gecko.WebControl ---&#62; System.DllNotFoundException: libgtkembedmoz.so
  at (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_get_type ()
  at Gecko.WebControl.get_GType () [0x00000] 
  at GtkSharp.GeckoSharp.ObjectManager.Initialize () [0x00000] 
  at Gecko.WebControl..cctor () [0x00000] --- End of inner exception stack trace ---

  at  
  at SecondMessenger.gtk.MainWnd.initAdvertising () [0x00000] in /home/roberto/projects/SM_OldLibsl/sm/guigtk/MainWnd.cs:77 
  at SecondMessenger.gtk.MainWnd..ctor (SecondMessenger.SMClient client) [0x00000] 
  at SecondMessenger.gtk.GTKClient.initUI () [0x00067] in /home/roberto/projects/SM_OldLibsl/sm/guigtk/GTKClient.cs:235 
  at SecondMessenger.SMClientManager.NewClient (System.String clientType) [0x00136] in /home/roberto/projects/SM_OldLibsl/sm/ClientManager.cs:98 
  at SecondMessenger.SMClientManager..ctor (System.String clientType, System.Collections.Generic.List`1 accounts, System.String c) [0x00000] 
  at SecondMessenger.Program.Esegui (System.String[] args) [0x002c6] in /home/roberto/projects/SM_OldLibsl/sm/Program.cs:143 
  at SecondMessenger.Program.Main (System.String[] args) [0x00000] in /home/roberto/projects/SM_OldLibsl/sm/Program.cs:30

Any help you can provide would be most appreciated.  Seems like a great idea, and I'm eager to use this for low-profile SL access.  ;)

Kind regards,
PK</description>
		<content:encoded><![CDATA[<p>Hi Marte,</p>
<p>I&#8217;m running SUSE 10.3/KDE3 with the mono-complete package installed, and I&#8217;m having some problems getting Second Messenger to run on my platform.  From the program output, seems that it&#8217;s unable to locate libgtkembedmoz.so which I know is on my system via packages mozilla-xulrunner181 and seamonkey.  Also, not sure about the references to .cs files in /home/roberto/projects.  User roberto does not exist on my system.</p>
<p>When I run SecondMessenger.sh, I get the following output in my shell:</p>
<p>/usr/share/SecondMessenger<br />
SMClientManager::NewClient: looking for gtk client type.<br />
SMClient: Registering commands from SecondMessenger, Version=1.0.3006.32882, Culture=neutral<br />
SMClient: Registering commands from TestClient, Version=0.0.0.0, Culture=neutral<br />
SMClientManager::NewClient: checking type gtk&#8230;<br />
Client gtk found.</p>
<p>Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gecko.WebControl &#8212;&gt; System.DllNotFoundException: libgtkembedmoz.so<br />
  at (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_get_type ()<br />
  at Gecko.WebControl.get_GType () [0&#215;00000]<br />
  at GtkSharp.GeckoSharp.ObjectManager.Initialize () [0&#215;00000]<br />
  at Gecko.WebControl..cctor () [0&#215;00000] &#8212; End of inner exception stack trace &#8212;</p>
<p>  at<br />
  at SecondMessenger.gtk.MainWnd.initAdvertising () [0&#215;00000] in /home/roberto/projects/SM_OldLibsl/sm/guigtk/MainWnd.cs:77<br />
  at SecondMessenger.gtk.MainWnd..ctor (SecondMessenger.SMClient client) [0&#215;00000]<br />
  at SecondMessenger.gtk.GTKClient.initUI () [0&#215;00067] in /home/roberto/projects/SM_OldLibsl/sm/guigtk/GTKClient.cs:235<br />
  at SecondMessenger.SMClientManager.NewClient (System.String clientType) [0&#215;00136] in /home/roberto/projects/SM_OldLibsl/sm/ClientManager.cs:98<br />
  at SecondMessenger.SMClientManager..ctor (System.String clientType, System.Collections.Generic.List`1 accounts, System.String c) [0&#215;00000]<br />
  at SecondMessenger.Program.Esegui (System.String[] args) [0&#215;002c6] in /home/roberto/projects/SM_OldLibsl/sm/Program.cs:143<br />
  at SecondMessenger.Program.Main (System.String[] args) [0&#215;00000] in /home/roberto/projects/SM_OldLibsl/sm/Program.cs:30</p>
<p>Any help you can provide would be most appreciated.  Seems like a great idea, and I&#8217;m eager to use this for low-profile SL access.  <img src='http://www.roccoangeloni.it/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Kind regards,<br />
PK</p>
]]></content:encoded>
	</item>
</channel>
</rss>

