Does not compile on my Mac #1

Closed
lleo opened this Issue Aug 5, 2012 · 4 comments

Projects

None yet

2 participants

@lleo

At first I tried 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.

FYI:
node v0.8.4

OSX Mountain Lion aka 10.8
XCode 4.4

$ 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)

@siddMahen siddMahen pushed a commit that closed this issue Aug 5, 2012
Siddharth Mahendraker Bump to 0.1.2
* Prevent naming conflict.

* Fixes #1.
2948189
@siddMahen siddMahen closed this in 2948189 Aug 5, 2012
@siddMahen
Owner

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.

@siddMahen siddMahen reopened this Aug 5, 2012
@siddMahen siddMahen closed this Aug 5, 2012
@lleo
@siddMahen siddMahen reopened this Aug 7, 2012
@siddMahen
Owner

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.

@siddMahen
Owner

@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.

@siddMahen siddMahen closed this Aug 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment