-
Notifications
You must be signed in to change notification settings - Fork 197
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
solana-test-validator
does not work properly on Windows
#24
Comments
Do you have access to a Windows machine? I personally do not; might be able to find one but if you could run the following and share the logs, the additional verbosity might give more insight into where it is getting snagged:
Attaching to the process with WinDbg and viewing thread stacks would be more involved, but probably much more insightful / much quicker path to honing in. I haven't done Windows debugging in years but I don't remember the tool being too bad to work with: https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/ |
@jacobcreech @steviez i have added Proof of Work here let me know |
Pre-requisite dlls and binaries Binaries -
Dlls -
After downloading
System Environment variables OPENSSL_INCLUDE_DIR=C:\Program Files\OpenSSL-Win64\include |
I've got fixes for some part of the windows issues at #73 to remove the reliance on additional DLLs that aren't part of a fresh windows installation. This doesn't address the tar issue though. |
can this fix protoc , libclang , clang deps? |
Those are required for building, but not running |
Cool |
This aspect should be resolved as of #3079 since we now use the tar crate instead of whatever With Jon's previous change, the number of remaining issues here should be reduced, possibly empty. I'll try to spin up a Windows VM at some point soon to check and see |
Problem
Currently the Solana CLI will install properly on Windows, but the
solana-test-validator
will run into a few errors. Generally the recommendation has been for users to install WSL to runsolana-test-validator
, however this is frictional on the developer experience and leads to a lot of developers dropping off.Current error flow on Windows:
Running
solana-test-validator
runs into the following:Inspecting the logs:
After figuring out bzip2 installation on windows,
solana-test-validator
hangs on initialization process.Logs:
Another issue related to running
solana-test-validator
on Windows: solana-labs#34793Proposed Solution
Make
solana-test-validator
work on Windows without additional installation of a bash shell or WSL.The text was updated successfully, but these errors were encountered: