-
Notifications
You must be signed in to change notification settings - Fork 427
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
Failed installation on wsl Windows 11 #355
Comments
Solution for linkercc not found Error on WSLThe error message linkercc not found indicates that the cc compiler (part of the build-essential package) is not installed or not available in your WSL environment. To resolve this error, follow these steps: |
Got the same error but upgrading the system fixed it, Thanks 54g0 :)) |
what @54g0 said is correct @UsmanTariq2, the problem is that you're missing the |
Hey, installing build-essential solved the problem |
glad to know it worked for you :) |
When i run the command
A typo on the main page perhaps |
assuming you typed the full you're supposed to type an actual path to a file instead of def main:
list = [1, 2, 3]
return list then just do |
Get an error when compiling the sorter example:
Upon the execution /another error, i get : |
can you type |
Mem: 3.8Gi 668Mi 3.2Gi 660Ki 72Mi 3.1Gi |
do you get this error everytime you run something with def main:
return "test" |
Closing this since the issue has been fixed and now there has been another issue that falls under #397 and HigherOrderCO/HVM#309 |
Describe the bug
Updating crates.io index Installing hvm v2.0.8 Updating crates.io index Locking 29 packages to latest compatible versions Compiling libc v0.2.155 Compiling utf8parse v0.2.1 Compiling anstyle v1.0.7 Compiling anstyle-query v1.0.3 Compiling is_terminal_polyfill v1.70.0 Compiling colorchoice v1.0.1 Compiling clap_lex v0.7.0 Compiling strsim v0.11.1 Compiling anstyle-parse v0.2.4 Compiling cc v1.0.97 Compiling highlight_error v0.1.1 Compiling TSPL v0.0.12 Compiling anstream v0.6.14 error: linker
cc` not found|
= note: No such file or directory (os error 2)
error: could not compile
libc
(build script) due to 1 previous errorwarning: build failed, waiting for other jobs to finish...
error: failed to compile
hvm v2.0.8
, intermediate artifacts can be found at/tmp/cargo-installz7F0B2
.To reuse those artifacts with a future compilation, set the environment variable
CARGO_TARGET_DIR
to that path.`To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: