我在linux 7上运行"make“来安装RediSearch。问题是:
make setup
Setting up system...
yum install -q -y ca-certificates
yum install -q -y curl wget
/usr/bin/python2 -m pip install --disable-pip-version-check wheel
/usr/bin/python2 -m pip install --disable-pip-version-check setuptools --upgrade
/home/andrewc/marcus/RediSearch/deps/readies/bin/enable-utf8
sed: -e expression #1, char 30: unterminated `s' command
In /home/bbbb/xxx/RediSearch/deps/readies/bin/enable-utf8:
command failed: { /home/bbbb/xxx/RediSearch/deps/readies/bin/enable-utf8; } >/tmp/tmpoqKXYK 2>&1
make: *** [Makefile:219: setup] Error 1我尝试过重新安装Cmake,但是仍然没有解决错误。
发布于 2021-12-11 01:06:22
运行在独立环境(例如,带有repo卷挂载的Docker容器)上,可以使用以下方法设置和构建RediSearch:
./deps/readies/bin/getpy2
./sbin/system-setup.py
bash -l # enable toolchain
make要诊断原始问题,以下内容可能会有所帮助:
./deps/readies/bin/getbashdb
bashdb ./deps/readies/bin/enable-utf8在enable-utf8中完全禁用system-setup.py也有帮助,因为缺乏utf8支持通常只会在CI系统中造成问题。
https://stackoverflow.com/questions/68645333
复制相似问题