<?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; gtk+</title>
	<atom:link href="http://wp.freya.no/tag/gtk/feed/" rel="self" type="application/rss+xml" />
	<link>http://wp.freya.no</link>
	<description>Knowledge is power</description>
	<lastBuildDate>Wed, 28 Jul 2010 16:50:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<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 [...]]]></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/feed-statistics.php?view=1&post_id=211" width="1" height="1" style="display: none;" />]]></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>
