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

makefile issue - mkdir #147

Closed
dimitrisdovinos opened this issue Jan 29, 2021 · 4 comments
Closed

makefile issue - mkdir #147

dimitrisdovinos opened this issue Jan 29, 2021 · 4 comments

Comments

@dimitrisdovinos
Copy link

The makefile did not work for my setup (Ubuntu 20)

make "DESTDIR=" install
make: /usr/bin/mkdir: Command not found

I had to manually add a symlink to mkdir
sudo ln -s /bin/mkdir /usr/bin/mkdir

@withhawaii
Copy link

I had the same issue on Ubuntu 20.04 with Ruby 2.6.6.

@dimitrisdovinos your fix worked like a charm.
Thank you so much!

@sbocinec
Copy link

@dimitrisdovinos @withhawaii I guess this is caused by using rvm version manager and it's not a racc project issue.

Instead of creating a symlink I rather recommend to recompile the installed ruby rvm version with --disable-binary as the issue is most probably caused by the precompiled binary ruby release the rvm installs. This should also fix other potential issues the binary version might have introduced.

TL;DR:
Reinstall ruby version from source to fix the issue: rvm reinstall <ruby-version> --disable-binary.
Then racc gem installation should succeed.

Further notes:

@gaganawhad
Copy link

Thanks for creating this issue @dimitrisdovinos. @sbocinec seems more informed, so I am going to follow his suggestion and reinstall ruby.

@hsbt
Copy link
Member

hsbt commented Jan 11, 2023

@sbocinec Thanks for explanation ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants