<?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: Installing and Using Scribe with Ruby on Mac OS</title>
	<atom:link href="http://kpumuk.info/development/installing-and-using-scribe-with-ruby-on-mac-os/feed/" rel="self" type="application/rss+xml" />
	<link>http://kpumuk.info/development/installing-and-using-scribe-with-ruby-on-mac-os/</link>
	<description>In my blog I'll try to describe about interesting technologies, my discovery in IT and some useful things about programming.</description>
	<lastBuildDate>Tue, 29 Dec 2009 10:34:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alexey Kovyrin</title>
		<link>http://kpumuk.info/development/installing-and-using-scribe-with-ruby-on-mac-os/#comment-284713</link>
		<dc:creator>Alexey Kovyrin</dc:creator>
		<pubDate>Fri, 19 Mar 2010 01:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/?p=668#comment-284713</guid>
		<description>Ok, tried the thing on Snow Leopard and noticed one thing that needs to be changed here: you need libevent to be installed as a prerequisite.

[cc_bash]
$ sudo gem install libevent
[/cc_bash]

P.S. Make sure you reinstall thrift after libevent installation to make sure it&#039;d build libthriftnb.</description>
		<content:encoded><![CDATA[<p>Ok, tried the thing on Snow Leopard and noticed one thing that needs to be changed here: you need libevent to be installed as a prerequisite.</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> libevent</div></td></tr></tbody></table></div>
<p>P.S. Make sure you reinstall thrift after libevent installation to make sure it&#8217;d build libthriftnb.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://kpumuk.info/development/installing-and-using-scribe-with-ruby-on-mac-os/#comment-282579</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Fri, 19 Mar 2010 02:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/?p=668#comment-282579</guid>
		<description>@tiru,

For this error
[cc]
error: event.h: No such file or directory
[/cc]

You need to install libevent dev library, am not sure how to install it on mac.</description>
		<content:encoded><![CDATA[<p>@tiru,</p>
<p>For this error</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">error: event.h: No such file or directory</div></td></tr></tbody></table></div>
<p>You need to install libevent dev library, am not sure how to install it on mac.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiru</title>
		<link>http://kpumuk.info/development/installing-and-using-scribe-with-ruby-on-mac-os/#comment-281888</link>
		<dc:creator>Tiru</dc:creator>
		<pubDate>Fri, 19 Mar 2010 06:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/?p=668#comment-281888</guid>
		<description>Many Thanks for the wonderful instructions to install scribe on OS X.

I am trying to install it on Mac OSX (leopard: 10.5.6)

I religiously followed the instructions and was able to install boost and thrift successfully. When I am trying to run &quot;make&quot; command during scribe installation, I am running into the following issue.

[cc]++ -DPACKAGE_NAME=\&quot;scribe\&quot; -DPACKAGE_TARNAME=\&quot;scribe\&quot; -DPACKAGE_VERSION=\&quot;1.5.0\&quot; -DPACKAGE_STRING=\&quot;scribe\ 1.5.0\&quot; -DPACKAGE_BUGREPORT=\&quot;\&quot; -DHAVE_BOOST= -DHAVE_BOOST_SYSTEM= -DHAVE_BOOST_FILESYSTEM= -I.  -I.. -I/opt/thrift/include -I/opt/thrift/include/thrift -I/opt/fb303/include/thrift -I/opt/fb303/include/thrift/fb303 -I/opt/local/include     -Wall -O3 -MT store.o -MD -MP -MF .deps/store.Tpo -c -o store.o store.cpp
In file included from common.h:49,
                 from store.cpp:25:
/opt/thrift/include/thrift/server/TNonblockingServer.h:32:19: error: event.h: No such file or directory
/opt/thrift/include/thrift/server/TNonblockingServer.h:78: error: ISO C++ forbids declaration of ‘event_base’ with no type
/opt/thrift/include/thrift/server/TNonblockingServer.h:78: error: expected ‘;’ before ‘*’ token
/opt/thrift/include/thrift/server/TNonblockingServer.h:81: error: field ‘serverEvent_’ has incomplete type
/opt/thrift/include/thrift/server/TNonblockingServer.h:196: error: ISO C++ forbids declaration of ‘event_base’ with no type
/opt/thrift/include/thrift/server/TNonblockingServer.h:196: error: expected ‘;’ before ‘*’ token
/opt/thrift/include/thrift/server/TNonblockingServer.h:200: error: expected `;&#039; before ‘void’
/opt/thrift/include/thrift/server/TNonblockingServer.h:248: error: ‘event_base’ has not been declared
/opt/thrift/include/thrift/server/TNonblockingServer.h: In constructor ‘apache::thrift::server::TNonblockingServer::TNonblockingServer(boost::shared_ptr, int)’:
/opt/thrift/include/thrift/server/TNonblockingServer.h:113: error: class ‘apache::thrift::server::TNonblockingServer’ does not have any field named ‘eventBase_’
/opt/thrift/include/thrift/server/TNonblockingServer.h: In constructor ‘apache::thrift::server::TNonblockingServer::TNonblockingServer(boost::shared_ptr, boost::shared_ptr, int, boost::shared_ptr)’:
/opt/thrift/include/thrift/server/TNonblockingServer.h:126: error: class ‘apache::thrift::server::TNonblockingServer’ does not have any field named ‘eventBase_’
/opt/thrift/include/thrift/server/TNonblockingServer.h: In constructor ‘apache::thrift::server::TNonblockingServer::TNonblockingServer(boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, int, boost::shared_ptr)’:
/opt/thrift/include/thrift/server/TNonblockingServer.h:148: error: class ‘apache::thrift::server::TNonblockingServer’ does not have any field named ‘eventBase_’
/opt/thrift/include/thrift/server/TNonblockingServer.h: At global scope:
/opt/thrift/include/thrift/server/TNonblockingServer.h:292: error: field ‘event_’ has incomplete type
/opt/thrift/include/thrift/server/TNonblockingServer.h:334: error: field ‘taskEvent_’ has incomplete type
/opt/thrift/include/thrift/server/TNonblockingServer.h: In member function ‘void apache::thrift::server::TConnection::setRead()’:
/opt/thrift/include/thrift/server/TNonblockingServer.h:354: error: ‘EV_READ’ was not declared in this scope
/opt/thrift/include/thrift/server/TNonblockingServer.h:354: error: ‘EV_PERSIST’ was not declared in this scope
/opt/thrift/include/thrift/server/TNonblockingServer.h: In member function ‘void apache::thrift::server::TConnection::setWrite()’:
/opt/thrift/include/thrift/server/TNonblockingServer.h:359: error: ‘EV_WRITE’ was not declared in this scope
/opt/thrift/include/thrift/server/TNonblockingServer.h:359: error: ‘EV_PERSIST’ was not declared in this scope
make[3]: *** [store.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[/cc]

Any pointers would be of great help!!

Thanks,
Tiru</description>
		<content:encoded><![CDATA[<p>Many Thanks for the wonderful instructions to install scribe on OS X.</p>
<p>I am trying to install it on Mac OSX (leopard: 10.5.6)</p>
<p>I religiously followed the instructions and was able to install boost and thrift successfully. When I am trying to run &#8220;make&#8221; command during scribe installation, I am running into the following issue.</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">++ -DPACKAGE_NAME=\&quot;scribe\&quot; -DPACKAGE_TARNAME=\&quot;scribe\&quot; -DPACKAGE_VERSION=\&quot;1.5.0\&quot; -DPACKAGE_STRING=\&quot;scribe\ 1.5.0\&quot; -DPACKAGE_BUGREPORT=\&quot;\&quot; -DHAVE_BOOST= -DHAVE_BOOST_SYSTEM= -DHAVE_BOOST_FILESYSTEM= -I. &nbsp;-I.. -I/opt/thrift/include -I/opt/thrift/include/thrift -I/opt/fb303/include/thrift -I/opt/fb303/include/thrift/fb303 -I/opt/local/include &nbsp; &nbsp; -Wall -O3 -MT store.o -MD -MP -MF .deps/store.Tpo -c -o store.o store.cpp<br />
In file included from common.h:49,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from store.cpp:25:<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:32:19: error: event.h: No such file or directory<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:78: error: ISO C++ forbids declaration of ‘event_base’ with no type<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:78: error: expected ‘;’ before ‘*’ token<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:81: error: field ‘serverEvent_’ has incomplete type<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:196: error: ISO C++ forbids declaration of ‘event_base’ with no type<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:196: error: expected ‘;’ before ‘*’ token<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:200: error: expected `;' before ‘void’<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:248: error: ‘event_base’ has not been declared<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h: In constructor ‘apache::thrift::server::TNonblockingServer::TNonblockingServer(boost::shared_ptr, int)’:<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:113: error: class ‘apache::thrift::server::TNonblockingServer’ does not have any field named ‘eventBase_’<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h: In constructor ‘apache::thrift::server::TNonblockingServer::TNonblockingServer(boost::shared_ptr, boost::shared_ptr, int, boost::shared_ptr)’:<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:126: error: class ‘apache::thrift::server::TNonblockingServer’ does not have any field named ‘eventBase_’<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h: In constructor ‘apache::thrift::server::TNonblockingServer::TNonblockingServer(boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, int, boost::shared_ptr)’:<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:148: error: class ‘apache::thrift::server::TNonblockingServer’ does not have any field named ‘eventBase_’<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h: At global scope:<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:292: error: field ‘event_’ has incomplete type<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:334: error: field ‘taskEvent_’ has incomplete type<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h: In member function ‘void apache::thrift::server::TConnection::setRead()’:<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:354: error: ‘EV_READ’ was not declared in this scope<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:354: error: ‘EV_PERSIST’ was not declared in this scope<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h: In member function ‘void apache::thrift::server::TConnection::setWrite()’:<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:359: error: ‘EV_WRITE’ was not declared in this scope<br />
/opt/thrift/include/thrift/server/TNonblockingServer.h:359: error: ‘EV_PERSIST’ was not declared in this scope<br />
make[3]: *** [store.o] Error 1<br />
make[2]: *** [all] Error 2<br />
make[1]: *** [all-recursive] Error 1<br />
make: *** [all] Error 2</div></td></tr></tbody></table></div>
<p>Any pointers would be of great help!!</p>
<p>Thanks,<br />
Tiru</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry Shaposhnik</title>
		<link>http://kpumuk.info/development/installing-and-using-scribe-with-ruby-on-mac-os/#comment-281334</link>
		<dc:creator>Dmitry Shaposhnik</dc:creator>
		<pubDate>Fri, 19 Mar 2010 19:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/?p=668#comment-281334</guid>
		<description>By the way, for Perl there is [cci lang=&quot;ruby&quot;]Log::Dispatch::Scribe[/cci] module on CPAN. It has also script &lt;tt&gt;scribe_cat.pl&lt;/tt&gt; within.</description>
		<content:encoded><![CDATA[<p>By the way, for Perl there is <code class="codecolorer ruby default"><span class="ruby"><span style="color:#6666ff; font-weight:bold;">Log::Dispatch::Scribe</span></span></code> module on CPAN. It has also script <tt>scribe_cat.pl</tt> within.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry Shaposhnik</title>
		<link>http://kpumuk.info/development/installing-and-using-scribe-with-ruby-on-mac-os/#comment-281333</link>
		<dc:creator>Dmitry Shaposhnik</dc:creator>
		<pubDate>Fri, 19 Mar 2010 19:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/?p=668#comment-281333</guid>
		<description>Many thanx for suggesting Scribe!

Btw, if somebody would try to compile Thrift and Scribe on FreeBSD: for me it works just with &quot;gmake&quot;.</description>
		<content:encoded><![CDATA[<p>Many thanx for suggesting Scribe!</p>
<p>Btw, if somebody would try to compile Thrift and Scribe on FreeBSD: for me it works just with &#8220;gmake&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
