1

我正在关注有关在 OSX 上安装 RethinkDB 的教程,但在运行时卡住了

./configure --fetch protobuf --fetch v8

* Detecting system configuration
Bash:                           3.2.51(1)-release
Use ccache:                     no
C++ Compiler:                   CLANG 5.1 (/usr/bin/c++)
Host System:                    x86_64-apple-darwin13.1.0
Build System:                   Darwin 13.1.0 x86_64
Cross-compiling:                no
Host Operating System:          Darwin
Without tcmalloc:               yes
Build client drivers:           no
Build Architecture:             x86_64
stdlib:                         -lc++
Precompiled web assets:         no
Protobuf compiler:              external/protobuf_2.5.0
Node.js package manager:        /usr/local/bin/npm
LESS css:                       no
* Error: lessc 1.3.0 is too old. At least lessc 1.3.1 is required

* Aborting configure

我确实跑了

npm install less 

以确保没问题。在寻找线索时我发现了这个

在此处输入图像描述

它说lessc是一个编译器。但我在 Google 上搜索了各种相关短语,但找不到如何更新或进一步排除故障。

4

1 回答 1

2

RethinkDB 构建系统知道如何获取大部分依赖项。

配置时可以添加--fetch less

./configure --fetch protobuf --fetch v8 --fetch lessc

或者简单地使用--allow-fetch,它指示 make 获取所有缺少的依赖项:

./configure --allow-fetch

另一种选择是使用源代码分发:http: //download.rethinkdb.com/dist/rethinkdb-1.12.3.tgz

该 tarball 包含预先构建的网络资产,减少了对lessc.

于 2014-04-17T22:45:20.237 回答