Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upProblem with building mozjs on Windows #25302
Comments
|
Why did you need the |
|
I think the LLVM version just recently got updated to llvm-9.0.0, you should probably try llvm 8. I had some troubles with llvm-9.0.0 a while back, but it worked with 8. |
|
Is there a git.exe on your windows PATH? |
I figured out what the problem was. In my git installation, there was the git.exe file and a git.bat file that redirected to the executable. The batch file was in my PATH but not the executable. That's why thought git.exe was in my PATH but actually wasn't. I'm not entirely sure why it was installed this way. Adding the executable itself to the PATH fixed the issue.
Alright, I'll try that. Thanks! |
|
Yeah, downgrading LLVM to |
Hi, I have been trying to build Servo on Windows machine and I have run into a few problems. By directly following the instructions, I ran into the following problem:
I fixed this problem by setting an additional parameter in
the check_outputfunction in thesubprocessmodule. This is the git diff for the same:But now it has a different problem when building
mozjs_sys, which can be seen here. The error output is similar to the problem referenced in #22737.However, updating my
llvmversion to the latest didn't solve the problem. I'm currently building withllvm-9.0.0and I'm getting the same error output. I have tried building with the nightly compiler and I have gotten the same problem.Any suggestions on where I'm going wrong? Also, should I submit a PR for the subprocess module fix?