At first I tried npm install msgpack3
npm install msgpack3
Then I cloned https://github.com/siddMahen/node-msgpack3 and tried npm install
Still no joy. I looked into the compile and it seemed like src/msgpack.cc line 14 had the symbol FALSE, which
is defined in /usr/include/mach/boolean.h as 0 (no surprise). I tried to put a #ifdef #undef in msgpack.cc .
node-msgpack3 is simple straight forward code. I have no Idea what is going on.
OSX Mountain Lion aka 10.8
$ uname -a
Darwin alterside.local 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Bump to 0.1.2
* Prevent naming conflict.
* Fixes #1.
Thanks for catching this!
There was a minor conflict between a macro defined in mach/boolean.h and the TRUE and FALSE values in the MSG_TYPEenum.
By the time you see this, the fix should be on npm. Just npm install msgpack3 and it should work alright.
Would you mind copy pasting the npm-debug log in this thread? I don't think I got it. I've tried npm install again and it seems to work, but let me know if you're still having trouble.
@lleo I'm going to close this for now. I've tested this several times prior and it seems to work. If you're still having trouble, yell at me, and we'll figure it out.