<?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"
	>
<channel>
	<title>Comments on: E17 (Enlightenment DR17) on FreeBSD 4 finally</title>
	<atom:link href="http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html/feed" rel="self" type="application/rss+xml" />
	<link>http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html</link>
	<description></description>
	<pubDate>Thu, 21 Aug 2008 17:43:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: gopal</title>
		<link>http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html#comment-340</link>
		<dc:creator>gopal</dc:creator>
		<pubDate>Thu, 15 Jun 2006 09:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html#comment-340</guid>
		<description>Hmm. I have the following environment set, before compiling E17, where target is the target path for my E17 (typically /usr/local/e).

In my case I needed to include "-liconv" additionally, which is normally not needed, and for getopt_long, I needed the "gnugetopt" library too.  You need "-ltrio -lm" for the trio library.

&lt;pre&gt;
shell&gt; export \
       CPPFLAGS="-I$HOME/local/include -I/usr/X11R6/include" \
       CFLAGS="-g -O2 -pipe" \
       LDFLAGS="-pthread -L$HOME/local/lib -L/usr/X11R6/lib" \
       LIBS="-liconv -ltrio -lm -lgnugetopt" \
       LD_LIBRARY_PATH=$target/lib:$HOME/local/lib:/usr/X11R6/lib \
       PATH=$target/bin:$HOME/local/bin:/usr/X11R6/bin:/bin:/usr/bin \
       PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig
&lt;/pre&gt;

HTH.</description>
		<content:encoded><![CDATA[<p>Hmm. I have the following environment set, before compiling E17, where target is the target path for my E17 (typically /usr/local/e).</p>
<p>In my case I needed to include &#8220;-liconv&#8221; additionally, which is normally not needed, and for getopt_long, I needed the &#8220;gnugetopt&#8221; library too.  You need &#8220;-ltrio -lm&#8221; for the trio library.</p>
<pre>
shell> export \
       CPPFLAGS="-I$HOME/local/include -I/usr/X11R6/include" \
       CFLAGS="-g -O2 -pipe" \
       LDFLAGS="-pthread -L$HOME/local/lib -L/usr/X11R6/lib" \
       LIBS="-liconv -ltrio -lm -lgnugetopt" \
       LD_LIBRARY_PATH=$target/lib:$HOME/local/lib:/usr/X11R6/lib \
       PATH=$target/bin:$HOME/local/bin:/usr/X11R6/bin:/bin:/usr/bin \
       PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig
</pre>
<p>HTH.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: petrasl</title>
		<link>http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html#comment-339</link>
		<dc:creator>petrasl</dc:creator>
		<pubDate>Thu, 15 Jun 2006 09:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html#comment-339</guid>
		<description>Uhm, the cut and paste didn't works as well; obviously it was supposed to be : #include stdio.h / trio.h.
Anyway, I tried to compile that pice of code; the problem is that the compiler can't find trio.h.
All the headers of trio are installed in /usr/local/include and the libtrio.a in /usr/local/lib/. 
Do you know why the compiler can't find them?</description>
		<content:encoded><![CDATA[<p>Uhm, the cut and paste didn&#8217;t works as well; obviously it was supposed to be : #include stdio.h / trio.h.<br />
Anyway, I tried to compile that pice of code; the problem is that the compiler can&#8217;t find trio.h.<br />
All the headers of trio are installed in /usr/local/include and the libtrio.a in /usr/local/lib/.<br />
Do you know why the compiler can&#8217;t find them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: petrasl</title>
		<link>http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html#comment-338</link>
		<dc:creator>petrasl</dc:creator>
		<pubDate>Thu, 15 Jun 2006 08:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html#comment-338</guid>
		<description>The patch worked, I have the follow lines for the check:

#include 
#include 
int main(int argc, char **argv) {
  char buf[4096];
  double ival = 0.1234, oval = 0.0;
  trio_snprintf(buf, sizeof(buf), "%a", ival);
  trio_sscanf(buf, "%a", &#38;oval);
  if (ival != oval) return -1;
  return 0;
}</description>
		<content:encoded><![CDATA[<p>The patch worked, I have the follow lines for the check:</p>
<p>#include<br />
#include<br />
int main(int argc, char **argv) {<br />
  char buf[4096];<br />
  double ival = 0.1234, oval = 0.0;<br />
  trio_snprintf(buf, sizeof(buf), &#8220;%a&#8221;, ival);<br />
  trio_sscanf(buf, &#8220;%a&#8221;, &amp;oval);<br />
  if (ival != oval) return -1;<br />
  return 0;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gopal</title>
		<link>http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html#comment-337</link>
		<dc:creator>gopal</dc:creator>
		<pubDate>Thu, 15 Jun 2006 08:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html#comment-337</guid>
		<description>Can you check whether the patch worked by looking at the snprintf "%a" line (it should be replaced with trio_snprintf)?
I didn't try this patch with the latest E17 from CVS, but a little more than couple of weeks.</description>
		<content:encoded><![CDATA[<p>Can you check whether the patch worked by looking at the snprintf &#8220;%a&#8221; line (it should be replaced with trio_snprintf)?<br />
I didn&#8217;t try this patch with the latest E17 from CVS, but a little more than couple of weeks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: petrasl</title>
		<link>http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html#comment-336</link>
		<dc:creator>petrasl</dc:creator>
		<pubDate>Thu, 15 Jun 2006 08:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://gopalarathnam.com/weblog/2006/02/22/e17-enlightenment-dr17-on-freebsd-4-finally.html#comment-336</guid>
		<description>Thanx for the patches. I installed ctrio and applied the paches but I still get the same error on configure. 
Â« Your OS does not support C99's '%a' string format Â» 

What can I do?</description>
		<content:encoded><![CDATA[<p>Thanx for the patches. I installed ctrio and applied the paches but I still get the same error on configure.<br />
Â« Your OS does not support C99&#8217;s &#8216;%a&#8217; string format Â» </p>
<p>What can I do?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
