Scribe From Facebook

Ross Walker rswwalker at gmail.com
Fri Jan 23 10:38:21 PST 2009


On Fri, Jan 23, 2009 at 12:07 PM, Kiran Mudiam <mudiam at gmail.com> wrote:
> Has any one had success with compiling Scribe for Mac OS X.
>
> I wish there was a macport for this. How does one go about doing this.
>
> I got the sources and tried compiling and have some dependecy errors.
> I have installed all the preeqs like libevent, thrift, boost and fb303 etc.
>
> ----
>
> /usr/bin/ar cru libscribe.a scribe.o scribe_types.o scribe_constants.o
> ranlib libscribe.a
> g++ -DPACKAGE_NAME=\"scribe\" -DPACKAGE_TARNAME=\"scribe\"
> -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"scribe\ 1.5.0\"
> -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOST= -DHAVE_BOOST_SYSTEM=
> -DHAVE_BOOST_FILESYSTEM= -I.  -I.. -I/usr/local/include/thrift
> -I/usr/local/include/thrift/fb303 -I/usr/local/include/boost-1_37     -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:
> /usr/local/include/thrift/server/TNonblockingServer.h:18:19: error: event.h:
> No such file or directory
> /usr/local/include/thrift/server/TNonblockingServer.h:59: error: expected
> ';' before '*' token
> /usr/local/include/thrift/server/TNonblockingServer.h:62: error: field
> 'serverEvent_' has incomplete type
> /usr/local/include/thrift/server/TNonblockingServer.h:143: error: expected
> ';' before '*' token
> /usr/local/include/thrift/server/TNonblockingServer.h:147: error: expected
> `;' before 'void'
> /usr/local/include/thrift/server/TNonblockingServer.h:175: error:
> 'event_base' has not been declared
>
> --------
>
>
> Looks like I have issues with finind the event.h files
>
> Has anyone compiled it for OS X?

Not having looked at the code and guessing you may need to compile and
install libevent or libinotify first?

-Ross


More information about the macports-users mailing list