Rethinkdb: Make Error (npm - bluebird)

Created on 8 Aug 2018  路  3Comments  路  Source: rethinkdb/rethinkdb

System:
Ubuntu 17.10 (Artful)
Here's what I've done:

sudo apt install build-essential protobuf-compiler python \
    libprotobuf-dev libcurl4-openssl-dev libboost-all-dev \
    libncurses5-dev libjemalloc-dev wget m4 clang libssl-dev

./configure --allow-fetch CXX=clang++
make

Now, here's the error:

    [421/432] LD build/release_clang/rethinkdb
/usr/bin/ld: warning: libssl.so.1.0.0, needed by /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../x86_64-linux-gnu/libcurl.so, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libcrypto.so.1.0.0, needed by /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../x86_64-linux-gnu/libcurl.so, may conflict with libcrypto.so.1.1
    [422/432] BUILD bluebird_2.9.32
++ mktemp -d /home/yandi/Downloads/Builds/RethinkDB/external/npm_cache-XXXXXXXX
+ cache_dir=/home/yandi/Downloads/Builds/RethinkDB/external/npm_cache-iFAwsTLJ
+ [[ Linux = Windows ]]
+ /usr/bin/npm --userconfig /home/yandi/Downloads/Builds/RethinkDB/mk/support/config/npm.conf --cache /home/yandi/Downloads/Builds/RethinkDB/external/npm_cache-iFAwsTLJ install /home/yandi/Downloads/Builds/RethinkDB/external/bluebird_2.9.32
npm WARN enoent ENOENT: no such file or directory, open '/home/yandi/Downloads/Builds/RethinkDB/build/external/bluebird_2.9.32/package.json'
npm WARN bluebird_2.9.32 No description
npm WARN bluebird_2.9.32 No repository field.
npm WARN bluebird_2.9.32 No README data
npm WARN bluebird_2.9.32 No license field.

npm ERR! path /home/yandi/Downloads/Builds/RethinkDB/build/external/bluebird_2.9.32/node_modules/.staging/bluebird-07b51728
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/home/yandi/Downloads/Builds/RethinkDB/build/external/bluebird_2.9.32/node_modules/.staging/bluebird-07b51728' -> '/home/yandi/Downloads/Builds/RethinkDB/external/bluebird_2.9.32/node_modules/bluebird'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/yandi/Downloads/Builds/RethinkDB/external/npm_cache-iFAwsTLJ/_logs/2018-08-08T01_51_09_028Z-debug.log

Full error log: ./build/external/bluebird_2.9.32_install.log
mk/support/build.mk:148: recipe for target 'build/external/bluebird_2.9.32/install.witness' failed
make[1]: *** [build/external/bluebird_2.9.32/install.witness] Error 1
Makefile:52: recipe for target 'make' failed
make: *** [make] Error 2

Most helpful comment

Well, I updated http://samuelhughes.com/rethinkdb/build_instructions.html tell people to try --fetch, so there's that.

All 3 comments

@YandiBanyuKarimaWaly Ubuntu 17.10 is past its end of life, so you should upgrade.

Try passing --fetch npm to configure, instead of using your system npm.

I already did, I'm so frustrated so in the end I decided to just upgrade the whole system, so, If anyone come here, I already solve the issue but I hope your answer might be useful to other

Well, I updated http://samuelhughes.com/rethinkdb/build_instructions.html tell people to try --fetch, so there's that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

encryptio picture encryptio  路  5Comments

analytik picture analytik  路  5Comments

RaitoBezarius picture RaitoBezarius  路  4Comments

biapar picture biapar  路  5Comments

sirinath picture sirinath  路  4Comments