dockerfile/nodejsでnode-exec-sync使うにはapt-getでpythonとbuild-essentialをインストールしよう
Created: 1/18/2014, 12:00:00 AM
もうタイトルそのままなんですが。
公式で提供されているUbuntu/Node.js環境のDockerイメージであるdockerfile/nodejsにnode-exec-syncをインストールしようとするとpythonが無いと怒られます。
# npm install exec-sync npm http GET https://registry.npmjs.org/exec-sync npm http 200 https://registry.npmjs.org/exec-sync npm http GET https://registry.npmjs.org/exec-sync/-/exec-sync-0.1.6.tgz npm http 200 https://registry.npmjs.org/exec-sync/-/exec-sync-0.1.6.tgz npm http GET https://registry.npmjs.org/ffi/1.2.5 npm http 200 https://registry.npmjs.org/ffi/1.2.5 npm http GET https://registry.npmjs.org/ffi/-/ffi-1.2.5.tgz npm http 200 https://registry.npmjs.org/ffi/-/ffi-1.2.5.tgz npm http GET https://registry.npmjs.org/bindings npm http GET https://registry.npmjs.org/debug npm http GET https://registry.npmjs.org/ref npm http GET https://registry.npmjs.org/ref-struct npm http 200 https://registry.npmjs.org/bindings npm http GET https://registry.npmjs.org/bindings/-/bindings-1.1.1.tgz npm http 200 https://registry.npmjs.org/debug npm http GET https://registry.npmjs.org/debug/-/debug-0.7.4.tgz npm http 200 https://registry.npmjs.org/bindings/-/bindings-1.1.1.tgz npm http 200 https://registry.npmjs.org/ref npm http GET https://registry.npmjs.org/ref/-/ref-0.1.3.tgz npm http 200 https://registry.npmjs.org/debug/-/debug-0.7.4.tgz npm http 200 https://registry.npmjs.org/ref-struct npm http GET https://registry.npmjs.org/ref-struct/-/ref-struct-0.0.5.tgz npm http 200 https://registry.npmjs.org/ref-struct/-/ref-struct-0.0.5.tgz npm http 200 https://registry.npmjs.org/ref/-/ref-0.1.3.tgz > ref@0.1.3 install /home/sitemass/node_modules/exec-sync/node_modules/ffi/node_modules/ref > node-gyp rebuild gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:101:14) gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:42:11 gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:25) gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29) gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16 gyp ERR! stack at Object.oncomplete (fs.js:107:15) gyp ERR! System Linux 2.6.32-431.1.2.0.1.el6.x86_64 gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/sitemass/node_modules/exec-sync/node_modules/ffi/node_modules/ref gyp ERR! node -v v0.10.24 gyp ERR! node-gyp -v v0.12.1 gyp ERR! not ok npm ERR! ref@0.1.3 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ref@0.1.3 install script. npm ERR! This is most likely a problem with the ref package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls ref npm ERR! There is likely additional logging output above. npm ERR! System Linux 2.6.32-431.1.2.0.1.el6.x86_64 npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "exec-sync" npm ERR! cwd /home/sitemass npm ERR! node -v v0.10.24 npm ERR! npm -v 1.3.21 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/sitemass/npm-debug.log npm ERR! not ok code 0
pythonがない?ホントにないの?おもむろにpythonと叩いてみると
# python bash: python: command not found
おお、ホントに入ってない。ということでapt-getでpython入れます。
# apt-get install python Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: python-minimal Suggested packages: python-doc python-tk The following NEW packages will be installed: python python-minimal 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 197 kB of archives. After this operation, 838 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://archive.ubuntu.com/ubuntu/ quantal/main python-minimal amd64 2.7.3-0ubuntu7 [29.3 kB] Get:2 http://archive.ubuntu.com/ubuntu/ quantal/main python amd64 2.7.3-0ubuntu7 [167 kB] Fetched 197 kB in 0s (281 kB/s) Selecting previously unselected package python-minimal. (Reading database ... 19097 files and directories currently installed.) Unpacking python-minimal (from .../python-minimal_2.7.3-0ubuntu7_amd64.deb) ... Selecting previously unselected package python. Unpacking python (from .../python_2.7.3-0ubuntu7_amd64.deb) ... Setting up python-minimal (2.7.3-0ubuntu7) ... Setting up python (2.7.3-0ubuntu7) ...
よし、再度npm install exec-syncを。
# npm install exec-sync npm http GET https://registry.npmjs.org/exec-sync npm http 304 https://registry.npmjs.org/exec-sync npm http GET https://registry.npmjs.org/ffi/1.2.5 npm http 304 https://registry.npmjs.org/ffi/1.2.5 npm http GET https://registry.npmjs.org/bindings npm http GET https://registry.npmjs.org/debug npm http GET https://registry.npmjs.org/ref npm http GET https://registry.npmjs.org/ref-struct npm http 304 https://registry.npmjs.org/bindings npm http 304 https://registry.npmjs.org/debug npm http 304 https://registry.npmjs.org/ref-struct npm http 304 https://registry.npmjs.org/ref > ref@0.1.3 install /home/sitemass/node_modules/exec-sync/node_modules/ffi/node_modules/ref > node-gyp rebuild gyp http GET http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gz gyp http 200 http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gz gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:28) gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29) gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16 gyp ERR! stack at Object.oncomplete (fs.js:107:15) gyp ERR! System Linux 2.6.32-431.1.2.0.1.el6.x86_64 gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/sitemass/node_modules/exec-sync/node_modules/ffi/node_modules/ref gyp ERR! node -v v0.10.24 gyp ERR! node-gyp -v v0.12.1 gyp ERR! not ok npm ERR! ref@0.1.3 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ref@0.1.3 install script. npm ERR! This is most likely a problem with the ref package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls ref npm ERR! There is likely additional logging output above. npm ERR! System Linux 2.6.32-431.1.2.0.1.el6.x86_64 npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "exec-sync" npm ERR! cwd /home/sitemass npm ERR! node -v v0.10.24 npm ERR! npm -v 1.3.21 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/sitemass/npm-debug.log npm ERR! not ok code 0
今度はconfigureはできたけどmakeがないと怒られた。apt-getでbuild-essentialていうのを入れます。
# apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: binutils cpp cpp-4.7 dpkg-dev fakeroot g++ g++-4.7 gcc gcc-4.7 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl libfile-fcntllock-perl libgmp10 libgomp1 libitm1 libmpc2 libmpfr4 libquadmath0 libstdc++6-4.7-dev libtimedate-perl linux-libc-dev make manpages manpages-dev xz-utils Suggested packages: binutils-doc cpp-doc gcc-4.7-locales debian-keyring g++-multilib g++-4.7-multilib gcc-4.7-doc libstdc++6-4.7-dbg gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.7-multilib libmudflap0-4.7-dev libgcc1-dbg libgomp1-dbg libitm1-dbg libquadmath0-dbg libmudflap0-dbg binutils-gold glibc-doc libstdc++6-4.7-doc make-doc man-browser The following NEW packages will be installed: binutils build-essential cpp cpp-4.7 dpkg-dev fakeroot g++ g++-4.7 gcc gcc-4.7 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl libfile-fcntllock-perl libgmp10 libgomp1 libitm1 libmpc2 libmpfr4 libquadmath0 libstdc++6-4.7-dev libtimedate-perl linux-libc-dev make manpages manpages-dev xz-utils 0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 34.1 MB of archives. After this operation, 91.8 MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://archive.ubuntu.com/ubuntu/ quantal/main libgmp10 amd64 2:5.0.2+dfsg-2ubuntu2 [241 kB] Get:2 http://archive.ubuntu.com/ubuntu/ quantal/main libgomp1 amd64 4.7.2-2ubuntu1 [27.2 kB] Get:3 http://archive.ubuntu.com/ubuntu/ quantal/main libitm1 amd64 4.7.2-2ubuntu1 [36.2 kB] Get:4 http://archive.ubuntu.com/ubuntu/ quantal/main libmpfr4 amd64 3.1.0-3ubuntu3 [202 kB] Get:5 http://archive.ubuntu.com/ubuntu/ quantal/main libquadmath0 amd64 4.7.2-2ubuntu1 [125 kB] Get:6 http://archive.ubuntu.com/ubuntu/ quantal/main libmpc2 amd64 0.9-4build1 [39.8 kB] Get:7 http://archive.ubuntu.com/ubuntu/ quantal/main manpages all 3.40-0.1ubuntu3 [587 kB] Get:8 http://archive.ubuntu.com/ubuntu/ quantal/main binutils amd64 2.22.90.20120924-0ubuntu2 [2395 kB] Get:9 http://archive.ubuntu.com/ubuntu/ quantal/main libc-dev-bin amd64 2.15-0ubuntu20 [84.5 kB] Get:10 http://archive.ubuntu.com/ubuntu/ quantal/main linux-libc-dev amd64 3.5.0-17.28 [880 kB] Get:11 http://archive.ubuntu.com/ubuntu/ quantal/main libc6-dev amd64 2.15-0ubuntu20 [2947 kB] Get:12 http://archive.ubuntu.com/ubuntu/ quantal/main cpp-4.7 amd64 4.7.2-2ubuntu1 [5408 kB] Get:13 http://archive.ubuntu.com/ubuntu/ quantal/main cpp amd64 4:4.7.2-1ubuntu2 [27.6 kB] Get:14 http://archive.ubuntu.com/ubuntu/ quantal/main gcc-4.7 amd64 4.7.2-2ubuntu1 [8524 kB] Get:15 http://archive.ubuntu.com/ubuntu/ quantal/main gcc amd64 4:4.7.2-1ubuntu2 [5120 B] Get:16 http://archive.ubuntu.com/ubuntu/ quantal/main libstdc++6-4.7-dev amd64 4.7.2-2ubuntu1 [1716 kB] Get:17 http://archive.ubuntu.com/ubuntu/ quantal/main g++-4.7 amd64 4.7.2-2ubuntu1 [7966 kB] Get:18 http://archive.ubuntu.com/ubuntu/ quantal/main g++ amd64 4:4.7.2-1ubuntu2 [1448 B] Get:19 http://archive.ubuntu.com/ubuntu/ quantal/main make amd64 3.81-8.2ubuntu2 [120 kB] Get:20 http://archive.ubuntu.com/ubuntu/ quantal/main libtimedate-perl all 1.2000-1 [41.6 kB] Get:21 http://archive.ubuntu.com/ubuntu/ quantal/main libdpkg-perl all 1.16.7ubuntu6 [188 kB] Get:22 http://archive.ubuntu.com/ubuntu/ quantal/main xz-utils amd64 5.1.1alpha+20120614-1 [86.4 kB] Get:23 http://archive.ubuntu.com/ubuntu/ quantal/main dpkg-dev all 1.16.7ubuntu6 [595 kB] Get:24 http://archive.ubuntu.com/ubuntu/ quantal/main build-essential amd64 11.5ubuntu3 [5814 B] Get:25 http://archive.ubuntu.com/ubuntu/ quantal/main fakeroot amd64 1.18.4-2 [88.2 kB] Get:26 http://archive.ubuntu.com/ubuntu/ quantal/main libalgorithm-diff-perl all 1.19.02-2 [50.7 kB] Get:27 http://archive.ubuntu.com/ubuntu/ quantal/main libalgorithm-diff-xs-perl amd64 0.04-2build3 [12.5 kB] Get:28 http://archive.ubuntu.com/ubuntu/ quantal/main libalgorithm-merge-perl all 0.08-2 [12.7 kB] Get:29 http://archive.ubuntu.com/ubuntu/ quantal/main libfile-fcntllock-perl amd64 0.14-2 [15.8 kB] Get:30 http://archive.ubuntu.com/ubuntu/ quantal/main manpages-dev all 3.40-0.1ubuntu3 [1710 kB] Fetched 34.1 MB in 6s (4960 kB/s) Selecting previously unselected package libgmp10:amd64. (Reading database ... 19178 files and directories currently installed.) Unpacking libgmp10:amd64 (from .../libgmp10_2%3a5.0.2+dfsg-2ubuntu2_amd64.deb) ... Selecting previously unselected package libgomp1:amd64. Unpacking libgomp1:amd64 (from .../libgomp1_4.7.2-2ubuntu1_amd64.deb) ... Selecting previously unselected package libitm1:amd64. Unpacking libitm1:amd64 (from .../libitm1_4.7.2-2ubuntu1_amd64.deb) ... Selecting previously unselected package libmpfr4:amd64. Unpacking libmpfr4:amd64 (from .../libmpfr4_3.1.0-3ubuntu3_amd64.deb) ... Selecting previously unselected package libquadmath0:amd64. Unpacking libquadmath0:amd64 (from .../libquadmath0_4.7.2-2ubuntu1_amd64.deb) ... Selecting previously unselected package libmpc2:amd64. Unpacking libmpc2:amd64 (from .../libmpc2_0.9-4build1_amd64.deb) ... Selecting previously unselected package manpages. Unpacking manpages (from .../manpages_3.40-0.1ubuntu3_all.deb) ... Selecting previously unselected package binutils. Unpacking binutils (from .../binutils_2.22.90.20120924-0ubuntu2_amd64.deb) ... Selecting previously unselected package libc-dev-bin. Unpacking libc-dev-bin (from .../libc-dev-bin_2.15-0ubuntu20_amd64.deb) ... Selecting previously unselected package linux-libc-dev:amd64. Unpacking linux-libc-dev:amd64 (from .../linux-libc-dev_3.5.0-17.28_amd64.deb) ... Selecting previously unselected package libc6-dev:amd64. Unpacking libc6-dev:amd64 (from .../libc6-dev_2.15-0ubuntu20_amd64.deb) ... Selecting previously unselected package cpp-4.7. Unpacking cpp-4.7 (from .../cpp-4.7_4.7.2-2ubuntu1_amd64.deb) ... Selecting previously unselected package cpp. Unpacking cpp (from .../cpp_4%3a4.7.2-1ubuntu2_amd64.deb) ... Selecting previously unselected package gcc-4.7. Unpacking gcc-4.7 (from .../gcc-4.7_4.7.2-2ubuntu1_amd64.deb) ... Selecting previously unselected package gcc. Unpacking gcc (from .../gcc_4%3a4.7.2-1ubuntu2_amd64.deb) ... Selecting previously unselected package libstdc++6-4.7-dev. Unpacking libstdc++6-4.7-dev (from .../libstdc++6-4.7-dev_4.7.2-2ubuntu1_amd64.deb) ... Selecting previously unselected package g++-4.7. Unpacking g++-4.7 (from .../g++-4.7_4.7.2-2ubuntu1_amd64.deb) ... Selecting previously unselected package g++. Unpacking g++ (from .../g++_4%3a4.7.2-1ubuntu2_amd64.deb) ... Selecting previously unselected package make. Unpacking make (from .../make_3.81-8.2ubuntu2_amd64.deb) ... Selecting previously unselected package libtimedate-perl. Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ... Selecting previously unselected package libdpkg-perl. Unpacking libdpkg-perl (from .../libdpkg-perl_1.16.7ubuntu6_all.deb) ... Selecting previously unselected package xz-utils. Unpacking xz-utils (from .../xz-utils_5.1.1alpha+20120614-1_amd64.deb) ... Selecting previously unselected package dpkg-dev. Unpacking dpkg-dev (from .../dpkg-dev_1.16.7ubuntu6_all.deb) ... Selecting previously unselected package build-essential. Unpacking build-essential (from .../build-essential_11.5ubuntu3_amd64.deb) ... Selecting previously unselected package fakeroot. Unpacking fakeroot (from .../fakeroot_1.18.4-2_amd64.deb) ... Selecting previously unselected package libalgorithm-diff-perl. Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ... Selecting previously unselected package libalgorithm-diff-xs-perl. Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2build3_amd64.deb) ... Selecting previously unselected package libalgorithm-merge-perl. Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ... Selecting previously unselected package libfile-fcntllock-perl. Unpacking libfile-fcntllock-perl (from .../libfile-fcntllock-perl_0.14-2_amd64.deb) ... Selecting previously unselected package manpages-dev. Unpacking manpages-dev (from .../manpages-dev_3.40-0.1ubuntu3_all.deb) ... Setting up libgmp10:amd64 (2:5.0.2+dfsg-2ubuntu2) ... Setting up libgomp1:amd64 (4.7.2-2ubuntu1) ... Setting up libitm1:amd64 (4.7.2-2ubuntu1) ... Setting up libmpfr4:amd64 (3.1.0-3ubuntu3) ... Setting up libquadmath0:amd64 (4.7.2-2ubuntu1) ... Setting up libmpc2:amd64 (0.9-4build1) ... Setting up manpages (3.40-0.1ubuntu3) ... Setting up binutils (2.22.90.20120924-0ubuntu2) ... Setting up libc-dev-bin (2.15-0ubuntu20) ... Setting up linux-libc-dev:amd64 (3.5.0-17.28) ... Setting up libc6-dev:amd64 (2.15-0ubuntu20) ... Setting up cpp-4.7 (4.7.2-2ubuntu1) ... Setting up cpp (4:4.7.2-1ubuntu2) ... Setting up gcc-4.7 (4.7.2-2ubuntu1) ... Setting up gcc (4:4.7.2-1ubuntu2) ... Setting up make (3.81-8.2ubuntu2) ... Setting up libtimedate-perl (1.2000-1) ... Setting up libdpkg-perl (1.16.7ubuntu6) ... Setting up xz-utils (5.1.1alpha+20120614-1) ... update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode Setting up dpkg-dev (1.16.7ubuntu6) ... Setting up fakeroot (1.18.4-2) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up libalgorithm-diff-perl (1.19.02-2) ... Setting up libalgorithm-diff-xs-perl (0.04-2build3) ... Setting up libalgorithm-merge-perl (0.08-2) ... Setting up libfile-fcntllock-perl (0.14-2) ... Setting up manpages-dev (3.40-0.1ubuntu3) ... Setting up libstdc++6-4.7-dev (4.7.2-2ubuntu1) ... Setting up g++-4.7 (4.7.2-2ubuntu1) ... Setting up g++ (4:4.7.2-1ubuntu2) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode Setting up build-essential (11.5ubuntu3) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place
こんどはうまく行くかな?
# npm install exec-sync npm http GET https://registry.npmjs.org/exec-sync npm http 304 https://registry.npmjs.org/exec-sync npm http GET https://registry.npmjs.org/ffi/1.2.5 npm http 304 https://registry.npmjs.org/ffi/1.2.5 npm http GET https://registry.npmjs.org/bindings npm http GET https://registry.npmjs.org/debug npm http GET https://registry.npmjs.org/ref-struct npm http GET https://registry.npmjs.org/ref npm http 304 https://registry.npmjs.org/bindings npm http 304 https://registry.npmjs.org/debug npm http 304 https://registry.npmjs.org/ref-struct npm http 304 https://registry.npmjs.org/ref > ref@0.1.3 install /home/sitemass/node_modules/exec-sync/node_modules/ffi/node_modules/ref > node-gyp rebuild make: Entering directory `/home/sitemass/node_modules/exec-sync/node_modules/ffi/node_modules/ref/build' CXX(target) Release/obj.target/binding/src/binding.o SOLINK_MODULE(target) Release/obj.target/binding.node SOLINK_MODULE(target) Release/obj.target/binding.node: Finished COPY Release/binding.node make: Leaving directory `/home/sitemass/node_modules/exec-sync/node_modules/ffi/node_modules/ref/build' > ffi@1.2.5 install /home/sitemass/node_modules/exec-sync/node_modules/ffi > node-gyp rebuild make: Entering directory `/home/sitemass/node_modules/exec-sync/node_modules/ffi/build' CC(target) Release/obj.target/ffi/deps/libffi/src/prep_cif.o CC(target) Release/obj.target/ffi/deps/libffi/src/types.o CC(target) Release/obj.target/ffi/deps/libffi/src/raw_api.o CC(target) Release/obj.target/ffi/deps/libffi/src/java_raw_api.o CC(target) Release/obj.target/ffi/deps/libffi/src/closures.o ../deps/libffi/src/closures.c: In function 'dlmmap_locked': ../deps/libffi/src/closures.c:421:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ../deps/libffi/src/closures.c:433:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi.o CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi64.o ../deps/libffi/src/x86/ffi64.c: In function 'classify_argument': ../deps/libffi/src/x86/ffi64.c:181:18: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] CC(target) Release/obj.target/ffi/deps/libffi/src/x86/unix64.o CC(target) Release/obj.target/ffi/deps/libffi/src/x86/sysv.o AR(target) Release/obj.target/deps/libffi/libffi.a COPY Release/libffi.a CXX(target) Release/obj.target/ffi_bindings/src/ffi.o CXX(target) Release/obj.target/ffi_bindings/src/callback_info.o CXX(target) Release/obj.target/ffi_bindings/src/threaded_callback_invokation.o SOLINK_MODULE(target) Release/obj.target/ffi_bindings.node SOLINK_MODULE(target) Release/obj.target/ffi_bindings.node: Finished COPY Release/ffi_bindings.node make: Leaving directory `/home/sitemass/node_modules/exec-sync/node_modules/ffi/build' exec-sync@0.1.6 node_modules/exec-sync └── ffi@1.2.5 (bindings@1.1.1, debug@0.7.4, ref-struct@0.0.5, ref@0.1.3)
ん?うまくいった?
# npm list /home/sitemass ├─┬ aws-swf@3.1.1 │ └─┬ aws-sdk@1.6.0 │ ├─┬ xml2js@0.2.4 │ │ └── sax@0.6.0 │ └─┬ xmlbuilder@2.1.0 │ └── underscore@1.5.2 └─┬ exec-sync@0.1.6 └─┬ ffi@1.2.5 ├── bindings@1.1.1 ├── debug@0.7.4 ├── ref@0.1.3 └── ref-struct@0.0.5
うーん、多分OK。