<?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 for Fishtrap</title>
	<atom:link href="http://fishtrap.co.uk/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://fishtrap.co.uk</link>
	<description>php and other stuff I know</description>
	<lastBuildDate>Thu, 22 Mar 2012 18:45:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19931</generator>
	<item>
		<title>Comment on Compiling PHP to use mysqlnd on ubuntu by Родной драйвер для MySQL в PHP 5.3 &#171; Web Developer Notes</title>
		<link>http://fishtrap.co.uk/blog/2011/06/16/compiling-php-to-use-mysqlnd-on-ubuntu/comment-page-1/#comment-212</link>
		<dc:creator>Родной драйвер для MySQL в PHP 5.3 &#171; Web Developer Notes</dc:creator>
		<pubDate>Thu, 22 Mar 2012 18:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://fishtrap.co.uk/?p=716#comment-212</guid>
		<description>[...] http://fishtrap.co.uk/blog/2011/06/16/compiling-php-to-use-mysqlnd-on-ubuntu/ Поделиться:ShareFacebookLinkedInпо электронной почтеПечатьLike this:НравитсяБудьте первым, кому понравился этот . [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://fishtrap.co.uk/blog/2011/06/16/compiling-php-to-use-mysqlnd-on-ubuntu/" rel="nofollow">http://fishtrap.co.uk/blog/2011/06/16/compiling-php-to-use-mysqlnd-on-ubuntu/</a> Поделиться:ShareFacebookLinkedInпо электронной почтеПечатьLike this:НравитсяБудьте первым, кому понравился этот . [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL native driver or mysqlnd by Ubuntu: MariaDB и PHP 5.3 &#8211; Unix4Me</title>
		<link>http://fishtrap.co.uk/blog/2011/06/01/mysql-native-driver-or-mysqlnd/comment-page-1/#comment-208</link>
		<dc:creator>Ubuntu: MariaDB и PHP 5.3 &#8211; Unix4Me</dc:creator>
		<pubDate>Wed, 15 Feb 2012 14:46:17 +0000</pubDate>
		<guid isPermaLink="false">http://fishtrap.co.uk/?p=685#comment-208</guid>
		<description>[...] тех кто хочет перекомпилить php — вот ссылки MySQL native dri­ver or mysqlnd Com­pil­ing PHP to use mysqlnd on ubuntu   Wednesday, February 15, 2012 &#8211; 18:19 &#124; By sart &#124; [...]</description>
		<content:encoded><![CDATA[<p>[...] тех кто хочет перекомпилить php — вот ссылки MySQL native dri­ver or mysqlnd Com­pil­ing PHP to use mysqlnd on ubuntu   Wednesday, February 15, 2012 &#8211; 18:19 | By sart | [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling PHP to use mysqlnd on ubuntu by Ubuntu: MariaDB и PHP 5.3 &#8211; Unix4Me</title>
		<link>http://fishtrap.co.uk/blog/2011/06/16/compiling-php-to-use-mysqlnd-on-ubuntu/comment-page-1/#comment-207</link>
		<dc:creator>Ubuntu: MariaDB и PHP 5.3 &#8211; Unix4Me</dc:creator>
		<pubDate>Wed, 15 Feb 2012 14:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://fishtrap.co.uk/?p=716#comment-207</guid>
		<description>[...] хочет перекомпилить php — вот ссылки MySQL native dri­ver or mysqlnd Com­pil­ing PHP to use mysqlnd on ubuntu   Wednesday, February 15, 2012 &#8211; 18:19 &#124; By sart &#124; Posted in Linux, www &#124; Tagged Apache, [...]</description>
		<content:encoded><![CDATA[<p>[...] хочет перекомпилить php — вот ссылки MySQL native dri­ver or mysqlnd Com­pil­ing PHP to use mysqlnd on ubuntu   Wednesday, February 15, 2012 &#8211; 18:19 | By sart | Posted in Linux, www | Tagged Apache, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling PHP to use mysqlnd on ubuntu by nat</title>
		<link>http://fishtrap.co.uk/blog/2011/06/16/compiling-php-to-use-mysqlnd-on-ubuntu/comment-page-1/#comment-206</link>
		<dc:creator>nat</dc:creator>
		<pubDate>Mon, 30 Jan 2012 21:09:23 +0000</pubDate>
		<guid isPermaLink="false">http://fishtrap.co.uk/?p=716#comment-206</guid>
		<description>Are these any good to you?

http://fishtrap.co.uk/php5-mysql_5.3.5-1ubuntu7.2_amd64.deb
http://fishtrap.co.uk/php5-common_5.3.5-1ubuntu7.2_amd64.deb</description>
		<content:encoded><![CDATA[<p>Are these any good to you?</p>
<p><a href="http://fishtrap.co.uk/php5-mysql_5.3.5-1ubuntu7.2_amd64.deb" rel="nofollow">http://fishtrap.co.uk/php5-mysql_5.3.5-1ubuntu7.2_amd64.deb</a><br />
<a href="http://fishtrap.co.uk/php5-common_5.3.5-1ubuntu7.2_amd64.deb" rel="nofollow">http://fishtrap.co.uk/php5-common_5.3.5-1ubuntu7.2_amd64.deb</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling PHP to use mysqlnd on ubuntu by Marc Seiler</title>
		<link>http://fishtrap.co.uk/blog/2011/06/16/compiling-php-to-use-mysqlnd-on-ubuntu/comment-page-1/#comment-205</link>
		<dc:creator>Marc Seiler</dc:creator>
		<pubDate>Mon, 30 Jan 2012 18:43:29 +0000</pubDate>
		<guid isPermaLink="false">http://fishtrap.co.uk/?p=716#comment-205</guid>
		<description>@nat If you could post the debs that would be great :)</description>
		<content:encoded><![CDATA[<p>@nat If you could post the debs that would be great :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Festival C++ client on Ubuntu by nat</title>
		<link>http://fishtrap.co.uk/blog/2010/06/15/compiling-festival-c-client-on-ubuntu/comment-page-1/#comment-177</link>
		<dc:creator>nat</dc:creator>
		<pubDate>Tue, 06 Dec 2011 15:11:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.fishtrap.co.uk/?p=415#comment-177</guid>
		<description>This is probably the shaped quotation marks see here &lt;a href=&quot;http://www.giannistsakiris.com/index.php/2008/04/17/gcc-error-stray-%E2%80%98342%E2%80%99-in-program/&quot; rel=&quot;nofollow&quot;&gt;http://www.giannistsakiris.com/index.php/2008/04/17/gcc-error-stray-%E2%80%98342%E2%80%99-in-program/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>This is probably the shaped quotation marks see here <a href="http://www.giannistsakiris.com/index.php/2008/04/17/gcc-error-stray-%E2%80%98342%E2%80%99-in-program/" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/www.giannistsakiris.com/index.php/2008/04/17/gcc-error-stray-_E2_80_98342_E2_80_99-in-program/?referer=');">http://www.giannistsakiris.com/index.php/2008/04/17/gcc-error-stray-%E2%80%98342%E2%80%99-in-program/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Festival C++ client on Ubuntu by bayanaa</title>
		<link>http://fishtrap.co.uk/blog/2010/06/15/compiling-festival-c-client-on-ubuntu/comment-page-1/#comment-174</link>
		<dc:creator>bayanaa</dc:creator>
		<pubDate>Thu, 01 Dec 2011 03:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.fishtrap.co.uk/?p=415#comment-174</guid>
		<description>Thank you for your reply. I followed your post in ubuntu 11.04
I get these errors.

~/Desktop/fest$ sudo g++ test.c -l Festival -I/usr/include/festival -I/usr/lib/speech_tools/include -leststring -lestools -lestbase -o test.out
test.c:12:1: error: stray ‘\342’ in program
test.c:12:1: error: stray ‘\200’ in program
test.c:12:1: error: stray ‘\234’ in program
test.c:12:1: error: stray ‘\342’ in program
test.c:12:1: error: stray ‘\200’ in program
test.c:12:1: error: stray ‘\235’ in program
test.c:14:1: error: stray ‘\342’ in program
test.c:14:1: error: stray ‘\200’ in program
test.c:14:1: error: stray ‘\234’ in program
test.c:14:1: error: stray ‘\342’ in program
test.c:14:1: error: stray ‘\200’ in program
test.c:14:1: error: stray ‘\235’ in program
test.c:15:1: error: stray ‘\342’ in program
test.c:15:1: error: stray ‘\200’ in program
test.c:15:1: error: stray ‘\234’ in program
test.c:15:1: error: stray ‘\342’ in program
test.c:15:1: error: stray ‘\200’ in program
test.c:15:1: error: stray ‘\235’ in program
test.c:15:1: error: stray ‘\342’ in program
test.c:15:1: error: stray ‘\200’ in program
test.c:15:1: error: stray ‘\235’ in program
test.c:15:1: error: stray ‘\342’ in program
test.c:15:1: error: stray ‘\200’ in program
test.c:15:1: error: stray ‘\235’ in program
test.c: In function ‘int main(int, char**)’:
test.c:12:22: error: ‘hello’ was not declared in this scope
test.c:14:32: error: expected ‘)’ before ‘world’
test.c:15:14: error: expected primary-expression before ‘/’ token
test.c:15:15: error: ‘tmp’ was not declared in this scope
test.c:15:24: error: ‘class EST_Wave’ has no member named ‘wav’
test.c:15:34: error: ‘riff’ was not declared in this scope</description>
		<content:encoded><![CDATA[<p>Thank you for your reply. I followed your post in ubuntu 11.04<br />
I get these errors.</p>
<p>~/Desktop/fest$ sudo g++ test.c -l Festival -I/usr/include/festival -I/usr/lib/speech_tools/include -leststring -lestools -lestbase -o test.out<br />
test.c:12:1: error: stray ‘\342’ in program<br />
test.c:12:1: error: stray ‘\200’ in program<br />
test.c:12:1: error: stray ‘\234’ in program<br />
test.c:12:1: error: stray ‘\342’ in program<br />
test.c:12:1: error: stray ‘\200’ in program<br />
test.c:12:1: error: stray ‘\235’ in program<br />
test.c:14:1: error: stray ‘\342’ in program<br />
test.c:14:1: error: stray ‘\200’ in program<br />
test.c:14:1: error: stray ‘\234’ in program<br />
test.c:14:1: error: stray ‘\342’ in program<br />
test.c:14:1: error: stray ‘\200’ in program<br />
test.c:14:1: error: stray ‘\235’ in program<br />
test.c:15:1: error: stray ‘\342’ in program<br />
test.c:15:1: error: stray ‘\200’ in program<br />
test.c:15:1: error: stray ‘\234’ in program<br />
test.c:15:1: error: stray ‘\342’ in program<br />
test.c:15:1: error: stray ‘\200’ in program<br />
test.c:15:1: error: stray ‘\235’ in program<br />
test.c:15:1: error: stray ‘\342’ in program<br />
test.c:15:1: error: stray ‘\200’ in program<br />
test.c:15:1: error: stray ‘\235’ in program<br />
test.c:15:1: error: stray ‘\342’ in program<br />
test.c:15:1: error: stray ‘\200’ in program<br />
test.c:15:1: error: stray ‘\235’ in program<br />
test.c: In function ‘int main(int, char**)’:<br />
test.c:12:22: error: ‘hello’ was not declared in this scope<br />
test.c:14:32: error: expected ‘)’ before ‘world’<br />
test.c:15:14: error: expected primary-expression before ‘/’ token<br />
test.c:15:15: error: ‘tmp’ was not declared in this scope<br />
test.c:15:24: error: ‘class EST_Wave’ has no member named ‘wav’<br />
test.c:15:34: error: ‘riff’ was not declared in this scope</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Festival C++ client on Ubuntu by nat</title>
		<link>http://fishtrap.co.uk/blog/2010/06/15/compiling-festival-c-client-on-ubuntu/comment-page-1/#comment-171</link>
		<dc:creator>nat</dc:creator>
		<pubDate>Mon, 28 Nov 2011 11:12:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.fishtrap.co.uk/?p=415#comment-171</guid>
		<description>ok so I managed to get the code you sent to compile and produce a wav etc.

Here&#039;s what I did from a completely clean version of Ubuntu 11.04
[bash]
$ sudo apt-get install festival-dev festvox-don build-essential g++
[/bash]

This will install a whole load of other packages too including festival

Then I editied the code you posted adding 

[c]
#include&lt;stdio.h&gt;
#include&lt;festival.h&gt;
[/c]

at the top where where there was just #include (I assume these were stripped out as html tags when you posted). I also eddited the &quot; marks as these had been replaced with fancy ones probably by wordpress.

I then set the path for the wave file to be in /tmp. And I removed this line 
[bash]
festival_eval_command(“(voice_ked_diphone)”);
[/bash]

As I didn&#039;t have that voice and hence that variable.

I saved the file as test.c

then 
[bash]
sudo g++ test.c -l Festival -I/usr/include/festival  -I/usr/lib/speech_tools/include -leststring -lestools -lestbase -o test.out
[/bash]

I then ran test.out and it spoke! It also created a wav file in /tmp.</description>
		<content:encoded><![CDATA[<p>ok so I managed to get the code you sent to compile and produce a wav etc.</p>
<p>Here&#8217;s what I did from a completely clean version of Ubuntu 11.04</p>
<pre class="brush: bash; title: ;">
$ sudo apt-get install festival-dev festvox-don build-essential g++
</pre>
<p>This will install a whole load of other packages too including festival</p>
<p>Then I editied the code you posted adding </p>
<pre class="brush: cpp; title: ;">
#include&lt;stdio.h&gt;
#include&lt;festival.h&gt;
</pre>
<p>at the top where where there was just #include (I assume these were stripped out as html tags when you posted). I also eddited the &#8221; marks as these had been replaced with fancy ones probably by wordpress.</p>
<p>I then set the path for the wave file to be in /tmp. And I removed this line </p>
<pre class="brush: bash; title: ;">
festival_eval_command(“(voice_ked_diphone)”);
</pre>
<p>As I didn&#8217;t have that voice and hence that variable.</p>
<p>I saved the file as test.c</p>
<p>then </p>
<pre class="brush: bash; title: ;">
sudo g++ test.c -l Festival -I/usr/include/festival  -I/usr/lib/speech_tools/include -leststring -lestools -lestbase -o test.out
</pre>
<p>I then ran test.out and it spoke! It also created a wav file in /tmp.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Festival C++ client on Ubuntu by bayanaa</title>
		<link>http://fishtrap.co.uk/blog/2010/06/15/compiling-festival-c-client-on-ubuntu/comment-page-1/#comment-168</link>
		<dc:creator>bayanaa</dc:creator>
		<pubDate>Sat, 26 Nov 2011 04:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.fishtrap.co.uk/?p=415#comment-168</guid>
		<description>full code is here
#include 
#include 
using namespace std;
int main(int argc, char **argv)
{
    EST_Wave wave;
    int heap_size = 210000;  // default scheme heap size
    int load_init_files = 1; // we want the festival init files loaded

    festival_initialize(load_init_files,heap_size);

    // Say simple file
    //festival_say_file(&quot;Home/hello.txt&quot;);

    festival_eval_command(&quot;(voice_ked_diphone)&quot;);
    // Say some text;
    festival_say_text(&quot;hello world&quot;);

     //Convert to a waveform
    festival_text_to_wave(&quot;hello world&quot;,wave);
    wave.save(&quot;Home/../wave.wav&quot;,&quot;riff&quot;);

//     festival_say_file puts the system in async mode so we better
//     wait for the spooler to reach the last waveform before exiting
//     This isn&#039;t necessary if only festival_say_text is being used (and
//     your own wave playing stuff)
    festival_wait_for_spooler();
   // cout &lt;&lt; &quot;hello &quot;;
    return 0;
}</description>
		<content:encoded><![CDATA[<p>full code is here<br />
#include<br />
#include<br />
using namespace std;<br />
int main(int argc, char **argv)<br />
{<br />
    EST_Wave wave;<br />
    int heap_size = 210000;  // default scheme heap size<br />
    int load_init_files = 1; // we want the festival init files loaded</p>
<p>    festival_initialize(load_init_files,heap_size);</p>
<p>    // Say simple file<br />
    //festival_say_file(&#8220;Home/hello.txt&#8221;);</p>
<p>    festival_eval_command(&#8220;(voice_ked_diphone)&#8221;);<br />
    // Say some text;<br />
    festival_say_text(&#8220;hello world&#8221;);</p>
<p>     //Convert to a waveform<br />
    festival_text_to_wave(&#8220;hello world&#8221;,wave);<br />
    wave.save(&#8220;Home/../wave.wav&#8221;,&#8221;riff&#8221;);</p>
<p>//     festival_say_file puts the system in async mode so we better<br />
//     wait for the spooler to reach the last waveform before exiting<br />
//     This isn&#8217;t necessary if only festival_say_text is being used (and<br />
//     your own wave playing stuff)<br />
    festival_wait_for_spooler();<br />
   // cout &lt;&lt; &quot;hello &quot;;<br />
    return 0;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Festival C++ client on Ubuntu by bayanaa</title>
		<link>http://fishtrap.co.uk/blog/2010/06/15/compiling-festival-c-client-on-ubuntu/comment-page-1/#comment-167</link>
		<dc:creator>bayanaa</dc:creator>
		<pubDate>Sat, 26 Nov 2011 04:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.fishtrap.co.uk/?p=415#comment-167</guid>
		<description>(.text+0x17b6): undefined reference to `est_val(EST_Item const*)&#039;

also this..</description>
		<content:encoded><![CDATA[<p>(.text+0x17b6): undefined reference to `est_val(EST_Item const*)&#8217;</p>
<p>also this..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

