problems with installation of ruby-packer
Hi, I am trying to install ruby-packer on a Windows10 machine. But it did not work. After I followed the installation procedure written here: https://github.com/pmq20/ruby-packer I get an error when trying to execute rubyc. The error says that nmake could not be found. What am I doing wrong?
Sounds like Visual Studio command line tools aren't available. Are you able to run nmake from the command line?
Thank you! You were right. The error does not show up when I run "rubyc" from the VS command prompt and not from the "normal"/usual one.
However when I run "rubyc" now it keeps running for quite some time and then aborts with an error, that the command "bison" could not be found.
Do you have any idea how to fix that? I googled it but did not find any solution.
Your error message seems to say The command "bison" is either misspelled or could not be found", so maybe bison for win32 will help?
Same issue on Linux with bison: command not found.
Installing bison with sudo apt install bison works (as in the Docker file in https://github.com/pmq20/ruby-packer/issues/39)
So I suggest to simply add bison along squashfs-tools in the list of Linux/OSX dependencies (Install on Linux/macOS sections), and bison for Windows in Install on Windows as drbrain suggested.
I also suggest editing this issue's title to something like "bison: command not found on compile -> suggest adding bison as dependency in README" to make it more specific.