chrisdew/protobuf — Issue #1: Build error on OS X (node v0.6.6)
Author: dolphin278
Created: 2012-01-07 22:37:20+00:00
State: open

Mac OS 10.7.2, NodeJs v0.6.6

when invoking
```npm install protobuf```
got following error:

Waf: Entering directory `/Users/dolphin278/Playground/rfc/library/node_modules/protobuf/build'
[1/7] cxx: protobuf_for_node.cc -> build/Release/protobuf_for_node_1.o
[2/7] cxx: addon.cc -> build/Release/addon_2.o
[3/7] cxx: example/protoservice.pb.cc -> build/Release/example/protoservice.pb_3.o
[4/7] cxx: example/protoservice.cc -> build/Release/example/protoservice_3.o
../protobuf_for_node.cc:28:17: error: eio.h: No such file or directory
../protobuf_for_node.cc: In static member function ‘static void protobuf_for_node::WrappedService::AsyncInvocation::Start(protobuf_for_node::WrappedService*, google::protobuf::MethodDescriptor*, google::protobuf::Message*, google::protobuf::Message*, protobuf_for_node::Schema::Type*, v8::Handle)’:
../protobuf_for_node.cc:562: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../protobuf_for_node.cc:562: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
Waf: Leaving directory `/Users/dolphin278/Playground/rfc/library/node_modules/protobuf/build'
Build failed: -> task failed (err #1):
{task: cxx protobuf_for_node.cc -> protobuf_for_node_1.o}