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

Problem with bmakelib installation #112

Open
gapetto opened this issue Feb 29, 2024 · 5 comments
Open

Problem with bmakelib installation #112

gapetto opened this issue Feb 29, 2024 · 5 comments
Assignees
Labels
🐞 bug Something isn't working 📚 documentation Improvements or additions to documentation

Comments

@gapetto
Copy link

gapetto commented Feb 29, 2024

I follow the steps and encounter problem in point 2.4: https://github.com/bahmanm/lemmy-synapse?tab=readme-ov-file#24-install-it-already
My terminal throws this
Makefile:30: bmakelib/bmakelib.mk: No such file or directory

when running this:

make \
    ansible.user=<REMOTE_USER> \
    ansible.password-auth=no \
    ansible.lemmy-synapse-server=<YOUR_INSTANCE> \
    install

Installing on ubuntu 22.04

What can be done? Hopebrew didnt throw any errors. The package is indeed installed, I can see it listed in brew installations.

@bahmanm bahmanm added the 📚 documentation Improvements or additions to documentation label Feb 29, 2024
@bahmanm bahmanm self-assigned this Feb 29, 2024
@bahmanm
Copy link
Owner

bahmanm commented Feb 29, 2024

Hey! Thanks for creating an issue for this. It sounds it's a bug with bmakelib and lemmy-synapse docs.

I haven' got a Mac but it looks like Homebrew's prefix has changed which causes Make to not be able to find bmakelib.

Hopefully, testing out this hypothesis should be easy! Can you try running Make as below (note the -I option)?

make \
    -I ${HOMEBREW_PREFIX}/include \
    ansible.user=<REMOTE_USER> \
    ansible.password-auth=no \
    ansible.lemmy-synapse-server=<YOUR_INSTANCE> \
    install

@bahmanm
Copy link
Owner

bahmanm commented Feb 29, 2024

Oh, on a 2nd read it seems you're running Linux! So much for attention to details 🤦‍♂️

Let me try out the scenario on my openSUSE Tumbleweed machine.

@bahmanm
Copy link
Owner

bahmanm commented Feb 29, 2024

Hey! Thanks for creating an issue for this. It sounds it's a bug with bmakelib and lemmy-synapse docs.

I haven' got a Mac but it looks like Homebrew's prefix has changed which causes Make to not be able to find bmakelib.

Hopefully, testing out this hypothesis should be easy! Can you try running Make as below (note the -I option)?

make \
    -I ${HOMEBREW_PREFIX}/include \
    ansible.user=<REMOTE_USER> \
    ansible.password-auth=no \
    ansible.lemmy-synapse-server=<YOUR_INSTANCE> \
    install

@mazury I just tested this locally and the command does the trick. Can you give it a shot?

@gapetto
Copy link
Author

gapetto commented Feb 29, 2024

My terminal throws this:
make: *** No rule to make target 'install'. Stop.

@bahmanm
Copy link
Owner

bahmanm commented Feb 29, 2024

OK, that is partially good news. It means bmakelib's installation went fine and Make was able to find it.

Let's take the rest of this to lemmy-synapse to keep this thread relevant: bahmanm/lemmy-synapse#29

@bahmanm bahmanm added the 🐞 bug Something isn't working label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 📚 documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants