<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.xfce.org/extern.php?action=feed&amp;tid=6167&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Xfce Forums / Problem compiling to custom folder to build pakages]]></title>
		<link>http://forum.xfce.org/viewtopic.php?id=6167</link>
		<description><![CDATA[The most recent posts in Problem compiling to custom folder to build pakages.]]></description>
		<lastBuildDate>Tue, 02 Aug 2011 15:27:34 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Problem compiling to custom folder to build pakages]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=22448#p22448</link>
			<description><![CDATA[<p>Hi</p><p>I would like to create a module for a Slackware based distribution,</p><p>First step: I download the source here <a href="http://archive.xfce.org/xfce/4.8/fat_tarballs/" rel="nofollow">http://archive.xfce.org/xfce/4.8/fat_tarballs/</a> and extract.</p><p>Then I follow the tutorial here: <a href="http://www.xfce.org/download/building" rel="nofollow">http://www.xfce.org/download/building</a>.</p><p>I choose the following installation location: /root/pkgsbuild/xfce4.8/usr/<br />So to compile the various packages following the dependency chain above I do:</p><div class="codebox"><pre><code>export PKG_CONFIG_PATH=&quot;/root/pkgsbuild/xfce4.8/usr/lib/pkgconfig:$PKG_CONFIG_PATH&quot;</code></pre></div><div class="codebox"><pre><code>./configure --prefix=/root/pkgsbuild/xfce4.8/usr/ &amp;&amp; make &amp;&amp; make install</code></pre></div><p>After one hours, I have finished compilation and everything are in /root/pkgsbuild/xfce4.8/usr/<br />following step is to build the module by compressing /root/pkgsbuild/xfce4.8/ in xfce4.8.txz, to install it. (it extract into /)</p><p>Then I deleted /root/pkgsbuild/xfce4.8/.</p><p>When I try to launch xfce, I have </p><div class="quotebox"><blockquote><div><p>&quot;Unable to determine failsafe session. Possible causes : xfconfd isn&#039;t running<br />(D-Bus setup problem), environment variable $XDG_CONFIG_DIRS is set incorrectly<br />(must include &quot;/root/pkgsbuild/xfce4.8/usr/etc&quot;), or xfce4-sessions is installed incorrectly.&quot;</p></div></blockquote></div><p>However XFCE work if I restore the /root/pkgsbuild/xfce4.8/usr/ by extracting modules to this prefix but since it create duplicate of modules files, It take too many place in the file system.</p><p>What do I have to ./configure --prefix=/root/pkgsbuild/xfce4.8/usr/ &amp;&amp; make &amp;&amp; make install and make XFCE look at /usr/etc instead of /root/pkgsbuild/xfce4.8/usr/etc please?</p>]]></description>
			<author><![CDATA[dummy@example.com (lefoufou)]]></author>
			<pubDate>Tue, 02 Aug 2011 15:27:34 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=22448#p22448</guid>
		</item>
	</channel>
</rss>
