Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue building from source in AlmaLinux release 9.3 #4316

Open
shannonantony opened this issue Jan 6, 2024 · 7 comments
Open

Issue building from source in AlmaLinux release 9.3 #4316

shannonantony opened this issue Jan 6, 2024 · 7 comments
Assignees

Comments

@shannonantony
Copy link

shannonantony commented Jan 6, 2024

Not able to install redisearch from source

git clone --recursive https://github.com/RediSearch/RediSearch.git --tag v2.8.10
cd v2.8.10
./sbin/setup

The above command just hangs. can you please share steps to install RediSearch under AlmaLinux

Appreciate your help

thanks

Jay

@raz-mon
Copy link
Collaborator

raz-mon commented Jan 7, 2024

Hi @shannonantony,

Currently we don't support AlmaLinux, Does this happen to you for other OSs as well?

@shannonantony
Copy link
Author

Having the same problem in centos as well.
Can you please send the steps to compile from source? What are the packages needed?

thanks

Jay

@raz-mon
Copy link
Collaborator

raz-mon commented Jan 9, 2024

@shannonantony
Please run make setup VERBOSE=1 to get better logs. What is the error you're getting?

You can also take a look how we build and compile for different platforms in our GHA workflows.

@hoyhoy
Copy link

hoyhoy commented Jan 30, 2024

How do I build from source? The repo seems to be missing cmake files. It refers to str_from_env and include(deps/readies/cmake/main) neither of which exist.

sbin/setup fails as well.

$ VERBOSE=1 sbin/setup 
sbin/setup: line 7: RediSearch/deps/readies/shibumi/defs: No such file or directory
sbin/setup: line 11: RediSearch/deps/readies/bin/getpy3: No such file or directory
sbin/setup: line 12: get_profile_d: command not found

Possible bug in sbin/setup...

Traceback (most recent call last):
  File "RediSearch/sbin/system-setup.py", line 15, in <module>
    class RediSearchSetup(paella.Setup):
AttributeError: module 'paella' has no attribute 'Setup'

@raz-mon
Copy link
Collaborator

raz-mon commented Jan 31, 2024

@hoyhoy Have you pulled and updated all submodules?

@hoyhoy
Copy link

hoyhoy commented Feb 1, 2024

It looks like the Makefile should do it, but it didn't. After that didn't work, I ran the submodule import manually, and then the build after that corrupted my local bash profile. Looked to write out a ~/.bash_profile, and when that loaded it deleted my .bash_history. Thankfully I have backups, my bash_history is over ten years old and 100,000 lines long! It appears that RediSearch isn't compatible with macos and SIP due to needing root access not to mention corrupting user space.

Copy link

github-actions bot commented Apr 2, 2024

This issue is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the stale label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants