Error with set up WSL in bitcoin core (Windows) #14408

issue bunnguyen2410 opened this issue on October 5, 2018
  1. bunnguyen2410 commented at 4:09 PM on October 5, 2018: none

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

    <!-- Describe the issue -->

    I do all step, download ubuntu from Windows store (i can't see the path of the download) when everything is done, i do those steps: On the cmd of windows, i type Ubuntu1804,and it change to WSL sudo apt update sudo apt upgrade sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git sudo apt install g++-mingw-w64-x86-64 sudo update-alternatives --config x86_64-w64-mingw32-g++ At this point the guide says, "Note that for WSL the Bitcoin Core source path MUST be somewhere in the default mount file system, for example /usr/src/bitcoin, AND not under /mnt/d/. If this is not the case the dependency autoconf scripts will fail. This means you cannot use a directory that located directly on the host Windows file system to perform the build."(i'm not sure about this caution, but try to do it just like the issue #14280 ) So, from the terminal above, i do: cd /usr/src sudo git clone https://github.com/bitcoin/bitcoin.git PATH=$(echo "$PATH" | sed -e 's/:/mnt.*//g') # strip out problematic Windows %PATH% imported var cd depends but then, it said :" -bash : cd :depends:No such file or directory "(image below)

    I'm so new to this, I need the construction to be specific , I'll appreciate that

    <!--- What behavior did you expect? -->

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    <!-- Any extra information that might be useful in the debugging process. -->

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

  2. fanquake added the label Windows on Oct 5, 2018
  3. e-nexus commented at 6:39 AM on October 6, 2018: none

    After you clone the repo you need to 'cd bitcoin'. No need to use sudo when you clone also. The rest of the guide works fine.

  4. bunnguyen2410 commented at 2:55 AM on October 7, 2018: none

    thank you so so much, i've fix it successfully

  5. fanquake closed this on Oct 8, 2018

  6. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 03:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me