简体   繁体   中英

Error when installing RediSearch on centos 7

I am running "make setup" to install RediSearch on linux centos 7. The problem is:

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

I have tried to reinstall Cmake but still failed to tackle the error

Running on an isolated environment (eg, Docker container with a volume mount of your repo), you can setup and build RediSearch using:

./deps/readies/bin/getpy2
./sbin/system-setup.py
bash -l # enable toolchain
make

To diagnose the original issue, the following can be helpful:

./deps/readies/bin/getbashdb
bashdb ./deps/readies/bin/enable-utf8

Disabling enable-utf8 altogether in system-setup.py can also help, as lack of utf8 support typically causes problems only in CI systems.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM