<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: jhbuild just won&#8217;t build! (aka Include path madness)</title>
	<atom:link href="http://www.clearchain.com/blog/posts/jhbuild-just-wont-build-aka-include-path-madness/feed" rel="self" type="application/rss+xml" />
	<link>http://www.clearchain.com/blog/posts/jhbuild-just-wont-build-aka-include-path-madness</link>
	<description>-= Daily Happenings =-</description>
	<lastBuildDate>Thu, 01 Jul 2010 01:28:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Benjamin Close</title>
		<link>http://www.clearchain.com/blog/posts/jhbuild-just-wont-build-aka-include-path-madness/comment-page-1#comment-53</link>
		<dc:creator>Benjamin Close</dc:creator>
		<pubDate>Fri, 05 Dec 2008 00:03:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.clearchain.com/blog/?p=137#comment-53</guid>
		<description>As a follow up, whilst this fixed libxcb, it didn&#039;t fix other issues. Turns out the following patch to jhbuild fixed everything!
Index: config.py
===================================================================
--- config.py   (revision 2386)
+++ config.py   (working copy)
@@ -179,8 +179,10 @@
         # (see bug #377724 and bug #545018)
         os.environ[&#039;LDFLAGS&#039;] = (&#039;-L%s &#039; % libdir) + os.environ.get(&#039;LDFLAGS&#039;, &#039;&#039;)
         includedir = os.path.join(self.prefix, &#039;include&#039;)
-        addpath(&#039;C_INCLUDE_PATH&#039;, includedir)
-        addpath(&#039;CPLUS_INCLUDE_PATH&#039;, includedir)
+       #addpath(&#039;C_INCLUDE_PATH&#039;, includedir)
+       #addpath(&#039;CPLUS_INCLUDE_PATH&#039;, includedir)
+       os.environ[&#039;CFLAGS&#039;] = (&#039;-I%s &#039; % includedir) + os.environ.get(&#039;CFLAGS&#039;,&#039;&#039;) 
+       os.environ[&#039;CXXFLAGS&#039;] = (&#039;-I%s &#039; % includedir) + os.environ.get(&#039;CXXFLAGS&#039;,&#039;&#039;) 
 
         # On Mac OS X, we use DYLD_FALLBACK_LIBRARY_PATH
         addpath(&#039;DYLD_FALLBACK_LIBRARY_PATH&#039;, libdir)</description>
		<content:encoded><![CDATA[<p>As a follow up, whilst this fixed libxcb, it didn&#8217;t fix other issues. Turns out the following patch to jhbuild fixed everything!<br />
Index: config.py<br />
===================================================================<br />
&#8212; config.py   (revision 2386)<br />
+++ config.py   (working copy)<br />
@@ -179,8 +179,10 @@<br />
         # (see bug #377724 and bug #545018)<br />
         os.environ['LDFLAGS'] = (&#8216;-L%s &#8216; % libdir) + os.environ.get(&#8216;LDFLAGS&#8217;, &#8221;)<br />
         includedir = os.path.join(self.prefix, &#8216;include&#8217;)<br />
-        addpath(&#8216;C_INCLUDE_PATH&#8217;, includedir)<br />
-        addpath(&#8216;CPLUS_INCLUDE_PATH&#8217;, includedir)<br />
+       #addpath(&#8216;C_INCLUDE_PATH&#8217;, includedir)<br />
+       #addpath(&#8216;CPLUS_INCLUDE_PATH&#8217;, includedir)<br />
+       os.environ['CFLAGS'] = (&#8216;-I%s &#8216; % includedir) + os.environ.get(&#8216;CFLAGS&#8217;,&#8221;)<br />
+       os.environ['CXXFLAGS'] = (&#8216;-I%s &#8216; % includedir) + os.environ.get(&#8216;CXXFLAGS&#8217;,&#8221;) </p>
<p>         # On Mac OS X, we use DYLD_FALLBACK_LIBRARY_PATH<br />
         addpath(&#8216;DYLD_FALLBACK_LIBRARY_PATH&#8217;, libdir)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
