I tried to build Redis 8.2.0 on Linux Rocky 8.10 with modules. But i got the followig error. After build, cannot find the module so file. This file is created under the --release folder but it searches under linux-x64-release. How to fix this issue ?
Comment From: sundb
can you share the full output?
Comment From: nihasmata
I attached full output.
Comment From: nihasmata
redisearch.so created under /usr/src/redis-8.2.0/modules/redisearch/src/bin/--release
Please check the attached image.
Comment From: sundb
feel like it failed here, what's the python version you are using?
raceback (most recent call last):
File "/usr/src/redis-8.2.0/modules/redisjson/src/deps/readies/bin/platform", line 9, in <module>
import paella
File "/usr/src/redis-8.2.0/modules/redisjson/src/deps/readies/paella/__init__.py", line 7, in <module>
from .utils import *
File "/usr/src/redis-8.2.0/modules/redisjson/src/deps/readies/paella/utils.py", line 6, in <module>
import dataclasses
ModuleNotFoundError: No module named 'dataclasses'
Traceback (most recent call last):
File "/usr/src/redis-8.2.0/modules/redisjson/src/deps/readies/bin/platform", line 9, in <module>
import paella
File "/usr/src/redis-8.2.0/modules/redisjson/src/deps/readies/paella/__init__.py", line 7, in <module>
from .utils import *
File "/usr/src/redis-8.2.0/modules/redisjson/src/deps/readies/paella/utils.py", line 6, in <module>
import dataclasses
ModuleNotFoundError: No module named 'dataclasses'
Traceback (most recent call last):
File "/usr/src/redis-8.2.0/modules/redisjson/src/deps/readies/bin/platform", line 9, in <module>
import paella
File "/usr/src/redis-8.2.0/modules/redisjson/src/deps/readies/paella/__init__.py", line 7, in <module>
from .utils import *
File "/usr/src/redis-8.2.0/modules/redisjson/src/deps/readies/paella/utils.py", line 6, in <module>
import dataclasses
ModuleNotFoundError: No module named 'dataclasses'
Comment From: nihasmata
python3 --version Python 3.6.8
Comment From: sundb
dataclasses was introduced since python 3.7, please try to upgrade it.
Comment From: nihasmata
It worked, thank you so much for taking the time to reply.