Skip to content

Instantly share code, notes, and snippets.

@mape
Created July 13, 2010 23:12
Show Gist options
  • Select an option

  • Save mape/474722 to your computer and use it in GitHub Desktop.

Select an option

Save mape/474722 to your computer and use it in GitHub Desktop.
../src/msgpack.cc:201: error: ‘mo’ was not declared in this scope
../src/msgpack.cc:201: error: expected ‘,’ or ‘;’ before ‘{’ token
Waf: Leaving directory `/home/mape/.node_libraries/node-msgpack/build'
Build failed: -> task failed (err #1):
{task: cxx msgpack.cc -> msgpack_1.o}
make: *** [msgpack] Error 1
mape@dunderklumpen:~/.node_libraries/node-msgpack$ sudo make CC=gcc-4.2 CXX=gcc-4.2
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... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc-4.2
checking whether the C compiler works... no
configure: error: in `/home/mape/.node_libraries/node-msgpack/deps/msgpack':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [deps/msgpack/dist/lib/libmsgpack.a] Error 77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment