1

I'm trying to compile the code from wget2 into an exe.

First I downloaded the files from here: https://github.com/rockdaboot/wget2

I installed Nodejs v8.2.1

Then started following the instructions here: https://github.com/rockdaboot/wget2

I'm currently stuck at the ./bootstrap command listed under "Build from git".

git clone https://gitlab.com/gnuwget/wget2.git
cd wget2
./bootstrap
# on shell failure try 'bash ./bootstrap'

git clone works fine and I can cd to the wget2 directory but when I type ./bootstrap I get this error:

'.' is not recognized as an internal or external command

How do I make this command work?

Purp
  • 91
  • 1
  • 3
  • 10

1 Answers1

1

That type of command is supposed to by executed in a bash, not in a CMD where './' is not interpreted correctly.

You can try as a mingw bash the one provided by Git: just unzip PortableGit-2.13.3-64-bit.7z.exe and add Git to your PATH

set GH=C:\Git2.13.3
set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%

Then you can type: bash. And execute the suggested commands.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250