Make problems in Snow Leopard #1

Closed
jfd opened this Issue May 26, 2010 · 2 comments

Comments

Projects
None yet
2 participants
@jfd

jfd commented May 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

@pgriess

This comment has been minimized.

Show comment Hide comment
@pgriess

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.

Owner

pgriess commented May 26, 2010

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.

@jfd

This comment has been minimized.

Show comment Hide comment
@jfd

jfd May 26, 2010

Works with node HEAD, thanks

jfd commented May 26, 2010

Works with node HEAD, thanks

godsflaw pushed a commit to godsflaw/node-msgpack that referenced this issue Sep 28, 2015

Merge pull request #1 from zachizi/master
Build using C++11 on OS X.

This issue was closed.

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