Re: cockroach-db mailing list email

14 views
Skip to first unread message

Nikhil Benesch

unread,
Nov 6, 2018, 12:01:44 PM11/6/18
to darshants...@gmail.com, cockro...@googlegroups.com
Heh, no problem—that's why I followed up! The incompatible module lines are actually just warnings that can be safely ignored. The real error is a few lines higher: "cmake: command not found." Looks like you don't have CMake installed.

If you install that (`sudo apt-get install cmake` on Debian and friends, `brew install cmake` on macOS), you should be good to go.

Looping in the mailing list so that this is searchable for other folks who run into the same issue.

Nikhil

On Tue, Nov 6, 2018 at 11:36 AM Darshan Sreenivasamurthy <darshants...@gmail.com> wrote:
Hey Nikhil,

I am so sorry;
Apparently, I wanted to subscribe to the mailing list;

I guess, you can advice me with this set-up problem :)
I am trying to build source code;

DM:DarshanMurthy tumkur$ cd cockroach/
DM:cockroach tumkur$ make build 

There’s some mismatch with the node modules/node engine.
I am not sure how to fix this; 



Submodule path 'c-deps/protobuf/third_party/benchmark': checked out '5b7683f49e1e9223cf9927b24f6fd3d6bd82e3f8'
Submodule path 'c-deps/protobuf/third_party/googletest': checked out 'c3bb0ee2a63279a803aaad956b9b26d74bf9e6e2'
Submodule path 'c-deps/rocksdb': checked out '7410b3efc991422436764ee503c6e0c5c6965c4b'
Submodule path 'c-deps/snappy': checked out 'b02bfa754ebf27921d8da3bd2517eab445b84ff9'
Submodule path 'pkg/ui/yarn-vendor': checked out '60d2d2cf48b1f660c9b9d2b4a944c4d154572797'
Submodule path 'vendor': checked out 'c37f6e57b9cf47a44594ce59324e2c93728b250c'
mkdir -p bin
touch bin/.submodules-initialized
build/node-run.sh -C pkg/ui yarn install --offline
cd /Users/tumkur/go/src/github.com/DarshanMurthy/cockroach/c-deps/jemalloc && autoconf
go install -v uptodate
bin/prereqs ./pkg/cmd/uptodate > bin/uptodate.d.tmp
mv -f bin/uptodate.d.tmp bin/uptodate.d
yarn install v0.15.1
rm -rf /Users/tumkur/go/native/x86_64-apple-darwin18.0.0/protobuf
mkdir -p /Users/tumkur/go/native/x86_64-apple-darwin18.0.0/protobuf
cd /Users/tumkur/go/native/x86_64-apple-darwin18.0.0/protobuf && cmake -DCMAKE_TARGET_MESSAGES=OFF   -Dprotobuf_BUILD_TESTS=OFF /Users/tumkur/go/src/github.com/DarshanMurthy/cockroach/c-deps/protobuf/cmake \
  -DCMAKE_BUILD_TYPE=Release
bash: cmake: command not found
make: *** [/Users/tumkur/go/native/x86_64-apple-darwin18.0.0/protobuf/Makefile] Error 127
make: *** Waiting for unfinished jobs....
[1/4] Resolving packages...
[2/4] Fetching packages...
touch bin/.bootstrap
error tsl...@5.10.0: The engine "node" is incompatible with this module. Expected version ">=4.8.0".
error Found incompatible module
info Visit http://yarnpkg.com/en/docs/cli/install for documentation about this command.
make: *** [pkg/ui/yarn.installed] Error 1






On Nov 6, 2018, at 8:30 AM, Nikhil Benesch <ben...@cockroachlabs.com> wrote:

Hi,

Was there a message you wanted to send over the cockroach-db mailing list? The two test emails you've sent have gotten picked up by the spam detector.

Nikhil

Darshan Sreenivasamurthy

unread,
Nov 9, 2018, 5:11:13 PM11/9/18
to Nikhil Benesch, cockro...@googlegroups.com

Thanks,

I still see inconsistency in my Mac :(

Only first build was successful.

build/node-run.sh -C pkg/ui yarn install --offline
go install -v optgen
bin/prereqs ./pkg/sql/opt/optgen/cmd/optgen > bin/optgen.d.tmp
bin/prereqs: cannot find package "github.com/cockroachdb/cockroach/pkg/sql/opt/optgen/lang" in any of:
/usr/local/Cellar/go/1.11.2/libexec/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optgen/lang (from $GOROOT)
make: *** [bin/optgen] Error 1
make: *** Waiting for unfinished jobs....
yarn install v0.15.1
[1/4] Resolving packages...
[2/4] Fetching packages...
error tsl...@5.10.0: The engine "node" is incompatible with this module. Expected version ">=4.8.0".
error Found incompatible module
info Visit http://yarnpkg.com/en/docs/cli/install for documentation about this command.
make: *** [pkg/ui/yarn.installed] Error 1


Is there a docker image to make sure build is consistent irrespective of underlying os.
Reply all
Reply to author
Forward
0 new messages