Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Build on OS X Mountain Lion fails with recent .pkg builds of node #32

Closed
asparagino opened this Issue Sep 5, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Installing msgpack2 fails if you install node 0.8.8 (and recent versions) from a Mac OS X .pkg installer, rather than using the n tool to install and compile node from source.

Here is the last few lines of output from 'npm install msgpack2' with both node install scenarios.

With the .pkg installer:

Waf: Entering directory `/Users/mara/Documents/tmp/node_modules/msgpack2/build'
[1/2] cxx: msgpack.cc -> ../build/Release/msgpack_1.o
[2/2] cxx_link: ../build/Release/msgpack_1.o -> ../build/Release/mpBindings.node
ld: warning: ignoring file ../deps/msgpack-full/cpp/dist/lib/libmsgpack.a, file was built for archive which is not the architecture being linked (i386): ../deps/msgpack-full/cpp/dist/lib/libmsgpack.a
Waf: Leaving directory `/Users/mara/Documents/tmp/node_modules/msgpack2/build'
'build' finished successfully (1.207s)
msgpack2@0.1.10 node_modules/msgpack2

With node compiled and installed by the 'n' tool:

Waf: Entering directory `/Users/peter/webstorm_workspace/draw-with-friends/mspacktest/node_modules/msgpack2/build'
[1/2] cxx: msgpack.cc -> ../build/Release/msgpack_1.o
[2/2] cxx_link: ../build/Release/msgpack_1.o -> ../build/Release/mpBindings.node
Waf: Leaving directory `/Users/peter/webstorm_workspace/draw-with-friends/mspacktest/node_modules/msgpack2/build'
'build' finished successfully (0.838s)
msgpack2@0.1.10 node_modules/msgpack2

So I guess, if you want to install msgpack2, install node using 'n' or maybe node installed from source somehow. We ran diffs over the configure and make output flying past and couldn't spot any differences other than how we'd installed node.

Collaborator

godsflaw commented Jun 14, 2013

Let me know if this is still a problem. The msgpack2 NPM package was built off of a fork of this repo when @pgriess was being less responsive with issues and pull requests. Try the 'msgpack' npm package again.

@godsflaw godsflaw closed this Jun 14, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment