<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Freya.no &#187; Tip</title>
	<atom:link href="http://wp.freya.no/category/tip/feed/" rel="self" type="application/rss+xml" />
	<link>http://wp.freya.no</link>
	<description>Knowledge is power</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:56:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hibernate: how to enable show sql</title>
		<link>http://wp.freya.no/2011/09/hibernate-how-to-enable-show-sql/</link>
		<comments>http://wp.freya.no/2011/09/hibernate-how-to-enable-show-sql/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 12:44:19 +0000</pubDate>
		<dc:creator>Tatyana</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://wp.freya.no/?p=1073</guid>
		<description><![CDATA[To see all the sqls that your application do during execution, insert the following property in your test xml property file: No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>To see all the sqls that your application do during execution, insert the following property in your test xml property file:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;bean id=&quot;sessionFactory&quot;
		class=&quot;my.class.MyEntitySessionFactory&quot;&gt;
		&lt;property name=&quot;hibernateProperties&quot;&gt;
			&lt;props&gt;
				&lt;prop key=&quot;hibernate.show_sql&quot;&gt;true&lt;/prop&gt;
			&lt;/props&gt;
		&lt;/property&gt;
		&lt;property name=&quot;dataSource&quot; ref=&quot;dbDataSource&quot; /&gt;
&lt;/bean&gt;
</pre>
 <img src="http://wp.freya.no/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1073" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwp.freya.no%2F2011%2F09%2Fhibernate-how-to-enable-show-sql%2F&amp;title=Hibernate%3A%20how%20to%20enable%20show%20sql" id="wpa2a_6"><img src="http://wp.freya.no/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wp.freya.no/2011/09/hibernate-how-to-enable-show-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The most annoying comment</title>
		<link>http://wp.freya.no/2011/08/the-most-annoying-comment/</link>
		<comments>http://wp.freya.no/2011/08/the-most-annoying-comment/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 13:27:18 +0000</pubDate>
		<dc:creator>Tatyana</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://wp.freya.no/?p=1041</guid>
		<description><![CDATA[No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<pre class="brush: cpp; title: ; notranslate">/** @deprecated this one must be resolved differently */
@Deprecated
public void setModeChange()
{
   this.mode = Mode.CHANGE;
}</pre>
 <img src="http://wp.freya.no/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1041" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwp.freya.no%2F2011%2F08%2Fthe-most-annoying-comment%2F&amp;title=The%20most%20annoying%20comment" id="wpa2a_14"><img src="http://wp.freya.no/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wp.freya.no/2011/08/the-most-annoying-comment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH: open failed: administratively prohibited</title>
		<link>http://wp.freya.no/2011/05/ssh-open-failed-administratively-prohibited/</link>
		<comments>http://wp.freya.no/2011/05/ssh-open-failed-administratively-prohibited/#comments</comments>
		<pubDate>Mon, 09 May 2011 17:32:01 +0000</pubDate>
		<dc:creator>kent</dc:creator>
				<category><![CDATA[Tip]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://wp.freya.no/?p=1018</guid>
		<description><![CDATA[Is an error where you are doing circular port forwarding. This command will generate this error: Connect to localhost:1234 and you get this error in your ssh terminal. No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">open failed: administratively prohibited</pre>
<p>Is an error where you are doing circular port forwarding.</p>
<p>This command will generate this error:</p>
<pre class="brush: plain; title: ; notranslate"># ssh -L 0:1234:localhost:1234 localhost</pre>
<p>Connect to localhost:1234 and you get this error in your ssh terminal.</p>
 <img src="http://wp.freya.no/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1018" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwp.freya.no%2F2011%2F05%2Fssh-open-failed-administratively-prohibited%2F&amp;title=SSH%3A%20open%20failed%3A%20administratively%20prohibited" id="wpa2a_22"><img src="http://wp.freya.no/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wp.freya.no/2011/05/ssh-open-failed-administratively-prohibited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse autocomplete problem</title>
		<link>http://wp.freya.no/2011/02/eclipse-autocomplete-problem/</link>
		<comments>http://wp.freya.no/2011/02/eclipse-autocomplete-problem/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 14:17:44 +0000</pubDate>
		<dc:creator>Tatyana</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://wp.freya.no/?p=983</guid>
		<description><![CDATA[If an autocomplete stopped working go Window -&#62; Preferences -&#62; Java -&#62; Editor -&#62; Content Assist -&#62; Advanced -&#62;  check for &#8220;Other Java Proposals&#8221; No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>If an autocomplete stopped working go</p>
<p>Window -&gt; Preferences -&gt; Java -&gt; Editor -&gt; Content Assist -&gt; Advanced -&gt;  check for &#8220;Other Java Proposals&#8221;</p>
 <img src="http://wp.freya.no/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=983" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwp.freya.no%2F2011%2F02%2Feclipse-autocomplete-problem%2F&amp;title=Eclipse%20autocomplete%20problem" id="wpa2a_30"><img src="http://wp.freya.no/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wp.freya.no/2011/02/eclipse-autocomplete-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open and select file or folder with Explorer in C#</title>
		<link>http://wp.freya.no/2011/01/open-and-select-file-or-folder-with-explorer-in-c/</link>
		<comments>http://wp.freya.no/2011/01/open-and-select-file-or-folder-with-explorer-in-c/#comments</comments>
		<pubDate>Sat, 22 Jan 2011 13:27:23 +0000</pubDate>
		<dc:creator>kent</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[folder]]></category>

		<guid isPermaLink="false">http://wp.freya.no/?p=964</guid>
		<description><![CDATA[This code will open Explorer and select the file or folder given. No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>This code will open Explorer and select the file or folder given.</p>
<pre class="brush: csharp; title: ; notranslate">
static void openInExplorer(string path)
{
    string cmd = &quot;explorer.exe&quot;;
    string arg = &quot;/select &quot; + path;
    Process.Start(cmd, arg);
}
</pre>
 <img src="http://wp.freya.no/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=964" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwp.freya.no%2F2011%2F01%2Fopen-and-select-file-or-folder-with-explorer-in-c%2F&amp;title=Open%20and%20select%20file%20or%20folder%20with%20Explorer%20in%20C%23" id="wpa2a_38"><img src="http://wp.freya.no/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wp.freya.no/2011/01/open-and-select-file-or-folder-with-explorer-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fallout New Vegas: Gaining entrance to Nellis Air Force Base</title>
		<link>http://wp.freya.no/2010/11/fallout-new-vegas-gaining-entrance-to-nellis-air-force-base/</link>
		<comments>http://wp.freya.no/2010/11/fallout-new-vegas-gaining-entrance-to-nellis-air-force-base/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 21:13:41 +0000</pubDate>
		<dc:creator>kent</dc:creator>
				<category><![CDATA[Game review]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[bombardment]]></category>
		<category><![CDATA[boomer]]></category>
		<category><![CDATA[Fallout: New Vegas]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Nellis AFB]]></category>

		<guid isPermaLink="false">http://wp.freya.no/?p=931</guid>
		<description><![CDATA[This is how you gain access to the Nellis Air Force Base in New Vegas. Once you start entering the area, you&#8217;ll get bombarded by the Boomers. Overview picture: Click the picture for full size image. Refill with stimpacks, food, water, doctors bags when necessary. And remeber to make the bet with George before you [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>This is how you gain access to the Nellis Air Force Base in New Vegas.</p>
<p>Once you start entering the area, you&#8217;ll get bombarded by the Boomers.</p>
<p>Overview picture:</p>
<div id="attachment_932" class="wp-caption alignleft" style="width: 1034px"><a href="http://wp.freya.no/files/2010/11/boomers.jpg"><img src="http://wp.freya.no/files/2010/11/boomers-1024x640.jpg" alt="" title="Nellis AFB" width="1024" height="640" class="size-large wp-image-932" /></a><p class="wp-caption-text">This is how you enter the Nellis Air Force Base in New Vegas</p></div>
<p>Click the picture for full size image.</p>
<p>Refill with stimpacks, food, water, doctors bags when necessary.</p>
<p>And remeber to make the bet with George before you enter the area. If you have 60 speech or more you can lie to raise the wager to 700 after you&#8217;ve entered Nellis AFB and came back.</p>
<p>When you reach the gate you&#8217;ll be let in.</p>
 <img src="http://wp.freya.no/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=931" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwp.freya.no%2F2010%2F11%2Ffallout-new-vegas-gaining-entrance-to-nellis-air-force-base%2F&amp;title=Fallout%20New%20Vegas%3A%20Gaining%20entrance%20to%20Nellis%20Air%20Force%20Base" id="wpa2a_46"><img src="http://wp.freya.no/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wp.freya.no/2010/11/fallout-new-vegas-gaining-entrance-to-nellis-air-force-base/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gullt uttrykk</title>
		<link>http://wp.freya.no/2010/09/gullt-uttrykk/</link>
		<comments>http://wp.freya.no/2010/09/gullt-uttrykk/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 08:43:21 +0000</pubDate>
		<dc:creator>Tatyana</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Interessant]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://wp.freya.no/?p=827</guid>
		<description><![CDATA[Likte veldig godt dette uttrykket til en av arkitektorene våre: &#8220;Du skal behandle de som skriver kode som du behandler en vakker kvinne eller mann (merk at jeg ikke på noen måte antyder at de som koder kan være nettopp det), hvis du på død og liv må si sannheten så for gudsskyld pakk det [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Likte veldig godt dette uttrykket til en av arkitektorene våre:</p>
<blockquote><p>&#8220;Du skal behandle de som skriver kode som du behandler en vakker kvinne eller mann (merk at jeg ikke på noen måte antyder at de som koder kan være nettopp det), hvis du på død og liv må si sannheten så for gudsskyld pakk det inn i fagre ord <img src='http://wp.freya.no/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> &#8221; </p></blockquote>
<p>Espen Dalløkken</p>
 <img src="http://wp.freya.no/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=827" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwp.freya.no%2F2010%2F09%2Fgullt-uttrykk%2F&amp;title=Gullt%20uttrykk" id="wpa2a_54"><img src="http://wp.freya.no/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wp.freya.no/2010/09/gullt-uttrykk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some funny smilies</title>
		<link>http://wp.freya.no/2010/04/some-funny-smilies/</link>
		<comments>http://wp.freya.no/2010/04/some-funny-smilies/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 21:44:11 +0000</pubDate>
		<dc:creator>Tatyana</dc:creator>
				<category><![CDATA[Tip]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[smiley]]></category>

		<guid isPermaLink="false">http://wp.freya.no/?p=643</guid>
		<description><![CDATA[d No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p><a href="http://wp.freya.no/files/2010/04/kaffesmile.gif"><img class="alignnone size-full wp-image-660" title="kaffesmile" src="http://wp.freya.no/files/2010/04/kaffesmile.gif" alt="" width="44" height="27" /></a> <a href="http://wp.freya.no/files/2010/04/mirror.gif"><img class="alignnone size-full wp-image-661" title="mirror" src="http://wp.freya.no/files/2010/04/mirror.gif" alt="" width="120" height="35" /></a><br />
<a href="http://wp.freya.no/files/2010/04/kryss.gif"><img class="alignnone size-full wp-image-663" title="kryss" src="http://wp.freya.no/files/2010/04/kryss.gif" alt="" width="71" height="28" /></a><a href="http://wp.freya.no/files/2010/04/doctor.gif"><img class="alignnone size-full wp-image-658" title="doctor" src="http://wp.freya.no/files/2010/04/doctor.gif" alt="" width="38" height="63" /></a> <a href="http://wp.freya.no/files/2010/04/jeeves.gif"><img class="alignnone size-full wp-image-659" title="jeeves" src="http://wp.freya.no/files/2010/04/jeeves.gif" alt="" width="54" height="41" /></a></p>
<p><a href="http://wp.freya.no/files/2010/04/fotball-fan1.gif"><img class="alignnone size-full wp-image-664" title="fotball fan" src="http://wp.freya.no/files/2010/04/fotball-fan1.gif" alt="" width="51" height="25" /></a><a href="http://wp.freya.no/files/2010/04/futball.gif"><img class="alignnone size-full wp-image-648" title="futball" src="http://wp.freya.no/files/2010/04/futball.gif" alt="" width="75" height="30" /></a> <a href="http://wp.freya.no/files/2010/04/hi2.gif"><img class="alignnone size-full wp-image-665" title="hi" src="http://wp.freya.no/files/2010/04/hi2.gif" alt="" width="50" height="20" /></a></p>
<p>d<a href="http://wp.freya.no/files/2010/04/bear.gif"><img class="alignnone size-full wp-image-652" title="bear" src="http://wp.freya.no/files/2010/04/bear.gif" alt="" width="42" height="36" /></a><a href="http://wp.freya.no/files/2010/04/car.gif"><img class="alignnone size-full wp-image-653" title="car" src="http://wp.freya.no/files/2010/04/car.gif" alt="" width="53" height="29" /></a><a href="http://wp.freya.no/files/2010/04/dancegirl.gif"><img class="alignnone size-full wp-image-655" title="dancegirl" src="http://wp.freya.no/files/2010/04/dancegirl.gif" alt="" width="36" height="34" /></a><a href="http://wp.freya.no/files/2010/04/negr.gif"><img class="alignnone size-full wp-image-656" title="negr" src="http://wp.freya.no/files/2010/04/negr.gif" alt="" width="30" height="50" /></a><a href="http://wp.freya.no/files/2010/04/dans.gif"><img class="alignnone size-full wp-image-666" title="dans" src="http://wp.freya.no/files/2010/04/dans.gif" alt="" width="42" height="25" /></a></p>
<p><a href="http://wp.freya.no/files/2010/04/prison.gif"><img class="alignnone size-full wp-image-662" title="prison" src="http://wp.freya.no/files/2010/04/prison.gif" alt="" width="130" height="67" /></a></p>
<p><a href="http://wp.freya.no/files/2010/04/veeg.gif"><img class="alignnone size-full wp-image-669" title="veeg" src="http://wp.freya.no/files/2010/04/veeg.gif" alt="" width="42" height="27" /></a><a href="http://wp.freya.no/files/2010/04/duss.gif"><img class="alignnone size-full wp-image-670" title="duss" src="http://wp.freya.no/files/2010/04/duss.gif" alt="" width="33" height="40" /></a></p>
<p><a href="http://wp.freya.no/files/2010/04/telephone.gif"><img class="alignnone size-full wp-image-667" title="telephone" src="http://wp.freya.no/files/2010/04/telephone.gif" alt="" width="22" height="18" /></a><a href="http://wp.freya.no/files/2010/04/cathug2.gif"><img class="alignnone size-full wp-image-668" title="cathug2" src="http://wp.freya.no/files/2010/04/cathug2.gif" alt="" width="41" height="22" /></a></p>
 <img src="http://wp.freya.no/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=643" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwp.freya.no%2F2010%2F04%2Fsome-funny-smilies%2F&amp;title=Some%20funny%20smilies" id="wpa2a_62"><img src="http://wp.freya.no/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wp.freya.no/2010/04/some-funny-smilies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: Kickstart an existing md array</title>
		<link>http://wp.freya.no/2009/06/howto-kickstart-an-existing-md-array/</link>
		<comments>http://wp.freya.no/2009/06/howto-kickstart-an-existing-md-array/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 20:34:01 +0000</pubDate>
		<dc:creator>kent</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://wp.freya.no/?p=246</guid>
		<description><![CDATA[mdadm --assemble /dev/md0 /dev/sd[abcd]1 No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<pre>mdadm --assemble /dev/md0 /dev/sd[abcd]1</pre>
 <img src="http://wp.freya.no/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=246" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwp.freya.no%2F2009%2F06%2Fhowto-kickstart-an-existing-md-array%2F&amp;title=Howto%3A%20Kickstart%20an%20existing%20md%20array" id="wpa2a_70"><img src="http://wp.freya.no/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wp.freya.no/2009/06/howto-kickstart-an-existing-md-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>*** Can&#039;t link to Pango. Pango is required to build</title>
		<link>http://wp.freya.no/2008/12/cant-link-to-pango-pango-is-required-to-build/</link>
		<comments>http://wp.freya.no/2008/12/cant-link-to-pango-pango-is-required-to-build/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 23:13:11 +0000</pubDate>
		<dc:creator>kent</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[cairo]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[gtk+]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pango]]></category>

		<guid isPermaLink="false">http://wp.freya.no/?p=211</guid>
		<description><![CDATA[After being puzzled by this error for some time, I finally was able to solve it with lots of help from my friend Simeon. GTK+ ./configure failed both on emerge gtk+ and on a manual source build with these errors. configure:33559: gcc -o conftest -g -O2 -Wall -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 conftest.c [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>After being puzzled by this error for some time, I finally was able to solve it with lots of help <a href="http://simeon.simeonov.no/" target="_blank">from my friend Simeon</a>. GTK+ ./configure failed both on emerge gtk+ and on a manual source build with these errors.</p>
<pre>configure:33559: gcc -o conftest -g -O2 -Wall -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1       conftest.c -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    &gt;&amp;5
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderFindStandardFormat'
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXrender.so.1: undefined reference to `XMissingExtension'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderQuerySubpixelOrder'
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXrender.so.1: undefined reference to `XextRemoveDisplay'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderSetPictureFilter'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderCompositeTrapezoids'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderCompositeText32'
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXrender.so.1: undefined reference to `XextFindDisplay'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderCompositeText16'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderCompositeText8'
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXrender.so.1: undefined reference to `XextAddDisplay'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderSetPictureTransform'
collect2: ld returned 1 exit status
configure:33566: $? = 1</pre>
<p>While installing cairo, I got these warnings:</p>
<pre>/sbin/ldconfig: /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXxf86vm.so.1 is not a symbolic link
/sbin/ldconfig: /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXxf86misc.so.1 is not a symbolic link
/sbin/ldconfig: /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXxf86dga.so.1 is not a symbolic link
/sbin/ldconfig: /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXv.so.1 is not a symbolic link
...</pre>
<p>I found this:</p>
<pre>grep -R VMHANDLE /etc/
/etc/csh.env:setenv VMHANDLE 'blackdown-jdk-1.4.2'
/etc/env.d/20java:VMHANDLE=blackdown-jdk-1.4.2
/etc/profile.env:export VMHANDLE='blackdown-jdk-1.4.2'
/etc/profile.csh:setenv VMHANDLE 'blackdown-jdk-1.4.2'</pre>
<p>Opened up /etc/env.d/20java and commented everything. Then I did:</p>
<pre>env-update
source /etc/profile</pre>
<p>And I did:</p>
<pre>emerge -av cairo gtk+</pre>
<p>Which resulted in GTK+ being correctly configured, compiled, linked and installed!</p>
 <img src="http://wp.freya.no/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=211" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwp.freya.no%2F2008%2F12%2Fcant-link-to-pango-pango-is-required-to-build%2F&amp;title=%2A%2A%2A%20Can%26%2339%3Bt%20link%20to%20Pango.%20Pango%20is%20required%20to%20build" id="wpa2a_78"><img src="http://wp.freya.no/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wp.freya.no/2008/12/cant-link-to-pango-pango-is-required-to-build/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

