Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Make problems in Snow Leopard #1
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
pgriess
May 26, 2010
Owner
This is a duplicate of http://github.com/pgriess/node-msgpack/issues/2.
You will need to build this against the latest bits in ry/node/master. It does not build against the most-recently release of node.
This is a duplicate of http://github.com/pgriess/node-msgpack/issues/2. You will need to build this against the latest bits in ry/node/master. It does not build against the most-recently release of node. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jfd
commented
May 26, 2010
Works with node HEAD, thanks |
tigerdog
referenced this issue
Jun 9, 2011
Closed
make fail & npm install msgpack fail too ,can U help me? #12
pushed a commit
to godsflaw/node-msgpack
that referenced
this issue
Sep 28, 2015
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jfd commentedMay 26, 2010
Hi,
I get the following error when trying to build msgpack in Snow Leopard:
[jfd@RevF node-msgpack(master)]$ make CC=gcc-4.2 CXX=gcc-4.2
cd src &&
node-waf configure &&
node-waf build
Checking for program g++ or c++ : gcc-4.2
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.039s)
Waf: Entering directory
/Users/jfd/checkouts/node-msgpack/build' [1/2] cxx: msgpack.cc -> ../build/default/msgpack_1.o ../src/msgpack.cc: In function ‘v8::Handle<v8::Value> pack(const v8::Arguments&)’: ../src/msgpack.cc:205: error: no matching function for call to ‘node::Buffer::New(size_t&)’ /usr/local/include/node/node_buffer.h:51: note: candidates are: static v8::Handle<v8::Value> node::Buffer::New(const v8::Arguments&) ../src/msgpack.cc: In function ‘v8::Handle<v8::Value> unpack(const v8::Arguments&)’: ../src/msgpack.cc:237: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ Waf: Leaving directory
/Users/jfd/checkouts/node-msgpack/build'Build failed: -> task failed (err #1):
{task: cxx msgpack.cc -> msgpack_1.o}
make: *** [msgpack] Error 1