-
Notifications
You must be signed in to change notification settings - Fork 456
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
windows 10 CygWin64 OCaml compiler 4.02.3BS make wast.js => error bsb.exe command not found #1052
Comments
I will try again with a locally installed bs-platform. |
I haven't updated my local BS in a while, since I repeatedly had issues with its installation process and its annoying dependency on node. So something may be out of sync. I had planned to switch to js_of_ocaml, but never had time to work on that. Sorry about that. (Patches would be welcome, though. :) ) |
Now slightly different error messages:
I did run I'm not so skilled with shell scripts - how to read/debug them - but I mean the problem results from BSPATH. Can / must it be set as an environment variable? Can I fix BSPATH in a script for my case? How is the content of BSPATH determined in the program flow?
In order to make
|
BSPATH is determined in
|
I will try with:
without I will run it again from start i.e. with cloning your git. |
And I came across a follow-up error. Instead of continuing to work with BPATH, it is constructed a second time for the copy command.
|
Next Step of Knowledge: The command
I have followed it in a windows command prompt:
No Error:
|
After the following redesign of
the next bug comes now:
Error: missing module: wasm |
I just landed #1058, which works on my machine. Please do not open more bugs for the same issue. Let me know on this one if you still have problems. I'm closing the others as duplicates. |
I have still problems:
You overlooked this of me:
Thats's why I found this: And I also found this bucklescript issue Add Ninja to the Installation section in the Manual . Do I need a ninja buildsystem? Do you have one installed? So does the call of bsb therefore work for you without further arguments? I have 2 problem types to fight with
|
The BS doesn't require ninja, AFAICT. I don't have it installed. |
One complete pass
leads to the following error:
But I guess the real mistake is this:
And here the complete contents of the CygWin Terminal:
|
The problem is this line:
That means it fails to copy the BS JS files to the target dir and thus temp.js does not inlcude them. Not sure why that doesn't work on your system. What's your BS version, and what's the contents of |
versions:
contents of
|
That looks fine. Hm. I just committed another change to the script that avoids the copying. Can you give it a shot? |
Yes, I will give it a shot now. |
It's working.
Thank you for your trouble. I learned some scripting tricks from you. |
I will document the instructions for building spec/interpreter from source under CygWin step by step in my answer of the StackExchange question: How can I install OCaml with OPam on windows? here This can then be used for issue 1048: OCaml Dependency is Problematic for Windows |
One last mistake before wast.js:
The problem is that
bsb.exe
is onlybsb
.C:\Program Files\nodejs\bsb
After renaming to bsb.exe comes the next problem:
I just did it before.
The text was updated successfully, but these errors were encountered: