Skip to content

Instantly share code, notes, and snippets.

@shripadk
Created October 25, 2010 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shripadk/644938 to your computer and use it in GitHub Desktop.
Save shripadk/644938 to your computer and use it in GitHub Desktop.
shripad-ks-macpro31:node-msgpack shripadk$ sudo make
cd deps/msgpack && \
mkdir -p dist && \
./configure --enable-static --disable-shared \
--prefix=/deps/msgpack/dist && \
make && \
make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ac/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... i386-apple-darwin9.5.0
checking host system type... i386-apple-darwin9.5.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... rm: conftest.dSYM: is a directory
BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... rm: conftest.dSYM: is a directory
ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking tr1/unordered_map usability... yes
checking tr1/unordered_map presence... yes
checking for tr1/unordered_map... yes
checking tr1/unordered_set usability... yes
checking tr1/unordered_set presence... yes
checking for tr1/unordered_set... yes
checking for __sync_* atomic operations... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
Making all in test
make[3]: Nothing to be done for `all'.
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O4 -Wall -g -Wall -fPIC -MT unpack.lo -MD -MP -MF .deps/unpack.Tpo -c -o unpack.lo unpack.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -O4 -Wall -g -Wall -fPIC -MT unpack.lo -MD -MP -MF .deps/unpack.Tpo -c unpack.c -o unpack.o
mv -f .deps/unpack.Tpo .deps/unpack.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O4 -Wall -g -Wall -fPIC -MT objectc.lo -MD -MP -MF .deps/objectc.Tpo -c -o objectc.lo objectc.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -O4 -Wall -g -Wall -fPIC -MT objectc.lo -MD -MP -MF .deps/objectc.Tpo -c objectc.c -o objectc.o
mv -f .deps/objectc.Tpo .deps/objectc.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O4 -Wall -g -Wall -fPIC -MT vrefbuffer.lo -MD -MP -MF .deps/vrefbuffer.Tpo -c -o vrefbuffer.lo vrefbuffer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -O4 -Wall -g -Wall -fPIC -MT vrefbuffer.lo -MD -MP -MF .deps/vrefbuffer.Tpo -c vrefbuffer.c -o vrefbuffer.o
mv -f .deps/vrefbuffer.Tpo .deps/vrefbuffer.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O4 -Wall -g -Wall -fPIC -MT zone.lo -MD -MP -MF .deps/zone.Tpo -c -o zone.lo zone.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -O4 -Wall -g -Wall -fPIC -MT zone.lo -MD -MP -MF .deps/zone.Tpo -c zone.c -o zone.o
mv -f .deps/zone.Tpo .deps/zone.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O4 -Wall -g -Wall -fPIC -MT object.lo -MD -MP -MF .deps/object.Tpo -c -o object.lo object.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -O4 -Wall -g -Wall -fPIC -MT object.lo -MD -MP -MF .deps/object.Tpo -c object.cpp -o object.o
mv -f .deps/object.Tpo .deps/object.Plo
/bin/sh ./libtool --tag=CXX --mode=link g++ -O4 -Wall -g -Wall -fPIC -version-info 3:0:0 -o libmsgpack.la -rpath /deps/msgpack/dist/lib unpack.lo objectc.lo vrefbuffer.lo zone.lo object.lo
libtool: link: rm -fr .libs/libmsgpack.a .libs/libmsgpack.la .libs/libmsgpack.lai
libtool: link: ar cru .libs/libmsgpack.a unpack.o objectc.o vrefbuffer.o zone.o object.o
libtool: link: ranlib .libs/libmsgpack.a
libtool: link: ( cd ".libs" && rm -f "libmsgpack.la" && ln -s "../libmsgpack.la" "libmsgpack.la" )
/bin/sh ./libtool --tag=CC --mode=link gcc -O4 -Wall -g -Wall -fPIC -version-info 2:0:0 -o libmsgpackc.la -rpath /deps/msgpack/dist/lib unpack.lo objectc.lo vrefbuffer.lo zone.lo
libtool: link: rm -fr .libs/libmsgpackc.a .libs/libmsgpackc.la .libs/libmsgpackc.lai
libtool: link: ar cru .libs/libmsgpackc.a unpack.o objectc.o vrefbuffer.o zone.o
libtool: link: ranlib .libs/libmsgpackc.a
libtool: link: ( cd ".libs" && rm -f "libmsgpackc.la" && ln -s "../libmsgpackc.la" "libmsgpackc.la" )
Making install in test
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
test -z "/deps/msgpack/dist/lib" || ac/install-sh -c -d "/deps/msgpack/dist/lib"
/bin/sh ./libtool --mode=install /usr/bin/install -c libmsgpack.la libmsgpackc.la '/deps/msgpack/dist/lib'
libtool: install: /usr/bin/install -c .libs/libmsgpack.lai /deps/msgpack/dist/lib/libmsgpack.la
libtool: install: /usr/bin/install -c .libs/libmsgpackc.lai /deps/msgpack/dist/lib/libmsgpackc.la
libtool: install: /usr/bin/install -c .libs/libmsgpack.a /deps/msgpack/dist/lib/libmsgpack.a
libtool: install: chmod 644 /deps/msgpack/dist/lib/libmsgpack.a
libtool: install: ranlib /deps/msgpack/dist/lib/libmsgpack.a
libtool: install: /usr/bin/install -c .libs/libmsgpackc.a /deps/msgpack/dist/lib/libmsgpackc.a
libtool: install: chmod 644 /deps/msgpack/dist/lib/libmsgpackc.a
libtool: install: ranlib /deps/msgpack/dist/lib/libmsgpackc.a
----------------------------------------------------------------------
Libraries have been installed in:
/deps/msgpack/dist/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
during execution
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/deps/msgpack/dist/include" || ac/install-sh -c -d "/deps/msgpack/dist/include"
ac/install-sh -c -d '/deps/msgpack/dist/include/msgpack'
/usr/bin/install -c -m 644 msgpack/pack_define.h msgpack/pack_template.h msgpack/unpack_define.h msgpack/unpack_template.h msgpack/sysdep.h msgpack/sbuffer.h msgpack/vrefbuffer.h msgpack/zbuffer.h msgpack/pack.h msgpack/unpack.h msgpack/object.h msgpack/zone.h msgpack/sbuffer.hpp msgpack/vrefbuffer.hpp msgpack/zbuffer.hpp msgpack/pack.hpp msgpack/unpack.hpp msgpack/object.hpp msgpack/zone.hpp msgpack/type.hpp '/deps/msgpack/dist/include/msgpack'
ac/install-sh -c -d '/deps/msgpack/dist/include/msgpack/type/tr1'
/usr/bin/install -c -m 644 msgpack/type/tr1/unordered_map.hpp msgpack/type/tr1/unordered_set.hpp '/deps/msgpack/dist/include/msgpack/type/tr1'
/usr/bin/install -c -m 644 msgpack.h msgpack.hpp '/deps/msgpack/dist/include/.'
ac/install-sh -c -d '/deps/msgpack/dist/include/msgpack/type'
/usr/bin/install -c -m 644 msgpack/type/bool.hpp msgpack/type/float.hpp msgpack/type/int.hpp msgpack/type/list.hpp msgpack/type/deque.hpp msgpack/type/map.hpp msgpack/type/nil.hpp msgpack/type/pair.hpp msgpack/type/raw.hpp msgpack/type/set.hpp msgpack/type/string.hpp msgpack/type/vector.hpp msgpack/type/tuple.hpp msgpack/type/define.hpp '/deps/msgpack/dist/include/msgpack/type'
cd src && \
node-waf configure && \
node-waf build
Checking for program g++ or c++ : /usr/bin/g++
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 path : ok /Users/shripadk/.node_libraries
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.117s)
Waf: Entering directory `/Users/shripadk/Sites/node_projects/node-msgpack/build'
[1/2] cxx: msgpack.cc -> ../build/default/msgpack_1.o
../src/msgpack.cc:6:21: error: msgpack.h: No such file or directory
../src/msgpack.cc:33: error: 'msgpack_zone' does not name a type
../src/msgpack.cc: In constructor 'MsgpackZone::MsgpackZone(size_t)':
../src/msgpack.cc:36: error: 'class MsgpackZone' has no member named '_mz'
../src/msgpack.cc:36: error: 'msgpack_zone_init' was not declared in this scope
../src/msgpack.cc: In destructor 'MsgpackZone::~MsgpackZone()':
../src/msgpack.cc:40: error: 'class MsgpackZone' has no member named '_mz'
../src/msgpack.cc:40: error: 'msgpack_zone_destroy' was not declared in this scope
../src/msgpack.cc: At global scope:
../src/msgpack.cc:47: error: 'msgpack_sbuffer' does not name a type
../src/msgpack.cc: In constructor 'MsgpackSbuffer::MsgpackSbuffer()':
../src/msgpack.cc:50: error: 'class MsgpackSbuffer' has no member named '_sbuf'
../src/msgpack.cc:50: error: 'msgpack_sbuffer_init' was not declared in this scope
../src/msgpack.cc: In destructor 'MsgpackSbuffer::~MsgpackSbuffer()':
../src/msgpack.cc:54: error: 'class MsgpackSbuffer' has no member named '_sbuf'
../src/msgpack.cc:54: error: 'msgpack_sbuffer_destroy' was not declared in this scope
../src/msgpack.cc: At global scope:
../src/msgpack.cc:134: error: 'msgpack_object' has not been declared
../src/msgpack.cc:134: error: 'msgpack_zone' has not been declared
../src/msgpack.cc: In function 'void v8_to_msgpack(v8::Handle<v8::Value>, int*, int*, MsgpackCycle*)':
../src/msgpack.cc:139: error: request for member 'type' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:139: error: 'MSGPACK_OBJECT_NIL' was not declared in this scope
../src/msgpack.cc:141: error: request for member 'type' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:141: error: 'MSGPACK_OBJECT_BOOLEAN' was not declared in this scope
../src/msgpack.cc:142: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:146: error: request for member 'type' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:146: error: 'MSGPACK_OBJECT_DOUBLE' was not declared in this scope
../src/msgpack.cc:147: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:149: error: request for member 'type' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:149: error: 'MSGPACK_OBJECT_POSITIVE_INTEGER' was not declared in this scope
../src/msgpack.cc:150: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:152: error: request for member 'type' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:152: error: 'MSGPACK_OBJECT_NEGATIVE_INTEGER' was not declared in this scope
../src/msgpack.cc:153: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:156: error: request for member 'type' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:156: error: 'MSGPACK_OBJECT_RAW' was not declared in this scope
../src/msgpack.cc:157: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:158: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:158: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:158: error: 'msgpack_zone_malloc' was not declared in this scope
../src/msgpack.cc:160: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:160: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:165: error: request for member 'type' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:165: error: 'MSGPACK_OBJECT_ARRAY' was not declared in this scope
../src/msgpack.cc:166: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:167: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:167: error: 'msgpack_object' was not declared in this scope
../src/msgpack.cc:167: error: expected primary-expression before ')' token
../src/msgpack.cc:167: error: expected `;' before 'msgpack_zone_malloc'
../src/msgpack.cc:174: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:179: error: request for member 'type' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:179: error: 'MSGPACK_OBJECT_RAW' was not declared in this scope
../src/msgpack.cc:180: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:181: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:186: error: request for member 'type' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:186: error: 'MSGPACK_OBJECT_MAP' was not declared in this scope
../src/msgpack.cc:187: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:188: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:188: error: 'msgpack_object_kv' was not declared in this scope
../src/msgpack.cc:188: error: expected primary-expression before ')' token
../src/msgpack.cc:188: error: expected `;' before 'msgpack_zone_malloc'
../src/msgpack.cc:196: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc:197: error: request for member 'via' in '* mo', which is of non-class type 'int'
../src/msgpack.cc: At global scope:
../src/msgpack.cc:207: error: 'msgpack_object' was not declared in this scope
../src/msgpack.cc:207: error: 'mo' was not declared in this scope
../src/msgpack.cc:207: error: expected ',' or ';' before '{' token
../src/msgpack.cc: In function 'v8::Handle<v8::Value> pack(const v8::Arguments&)':
../src/msgpack.cc:269: error: 'msgpack_packer' was not declared in this scope
../src/msgpack.cc:269: error: expected `;' before 'pk'
../src/msgpack.cc:274: error: 'pk' was not declared in this scope
../src/msgpack.cc:274: error: 'class MsgpackSbuffer' has no member named '_sbuf'
../src/msgpack.cc:274: error: 'msgpack_sbuffer_write' was not declared in this scope
../src/msgpack.cc:274: error: 'msgpack_packer_init' was not declared in this scope
../src/msgpack.cc:277: error: 'msgpack_object' was not declared in this scope
../src/msgpack.cc:277: error: expected `;' before 'mo'
../src/msgpack.cc:280: error: 'mo' was not declared in this scope
../src/msgpack.cc:280: error: 'class MsgpackZone' has no member named '_mz'
../src/msgpack.cc:285: error: 'mo' was not declared in this scope
../src/msgpack.cc:285: error: 'msgpack_pack_object' was not declared in this scope
../src/msgpack.cc:291: error: 'class MsgpackSbuffer' has no member named '_sbuf'
../src/msgpack.cc:292: error: 'class MsgpackSbuffer' has no member named '_sbuf'
../src/msgpack.cc:292: error: 'class MsgpackSbuffer' has no member named '_sbuf'
../src/msgpack.cc: In function 'v8::Handle<v8::Value> unpack(const v8::Arguments&)':
../src/msgpack.cc:317: error: 'msgpack_object' was not declared in this scope
../src/msgpack.cc:317: error: expected `;' before 'mo'
../src/msgpack.cc:320: error: 'class MsgpackZone' has no member named '_mz'
../src/msgpack.cc:320: error: 'mo' was not declared in this scope
../src/msgpack.cc:320: error: 'msgpack_unpack' was not declared in this scope
../src/msgpack.cc:321: error: 'MSGPACK_UNPACK_EXTRA_BYTES' was not declared in this scope
../src/msgpack.cc:322: error: 'MSGPACK_UNPACK_SUCCESS' was not declared in this scope
../src/msgpack.cc:333: error: 'MSGPACK_UNPACK_CONTINUE' was not declared in this scope
../src/msgpack.cc:340: warning: control reaches end of non-void function
Waf: Leaving directory `/Users/shripadk/Sites/node_projects/node-msgpack/build'
Build failed: -> task failed (err #1):
{task: cxx msgpack.cc -> msgpack_1.o}
make: *** [msgpack] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment