Pure-D / workspace-d

CLI deprecated, API + functionality moved into https://github.com/Pure-D/serve-d
MIT License
75 stars 15 forks source link

Can't install on Windows 10 #59

Closed carun closed 7 years ago

carun commented 7 years ago

Tested with LDC 1.1.0-beta6 and 1.0.0 and DUB 1.1.1

C:\Users\Arun\Code\D\workspace-d (master)
λ install.bat
No package file found in C:\Users\Arun\Code\D\workspace-d\libdparse\, expected one of dub.json/dub.sdl/package.json

C:\Users\Arun\Code\D\workspace-d (master)
λ cd installer\

C:\Users\Arun\Code\D\workspace-d\installer (master)
λ dub --verbose run -- .
Using dub registry url 'http://code.dlang.org/'
Refreshing local packages (refresh existing: true)...
Looking for local package map at C:\ProgramData\dub\packages\local-packages.json
Looking for local package map at C:\Users\Arun\AppData\Roaming\dub\packages\local-packages.json
Note: Failed to determine version of package installer at .. Assuming ~master.
Refreshing local packages (refresh existing: false)...
Looking for local package map at C:\ProgramData\dub\packages\local-packages.json
Looking for local package map at C:\Users\Arun\AppData\Roaming\dub\packages\local-packages.json
Refreshing local packages (refresh existing: false)...
Looking for local package map at C:\ProgramData\dub\packages\local-packages.json
Looking for local package map at C:\Users\Arun\AppData\Roaming\dub\packages\local-packages.json
Checking for upgrades.
Using cached upgrade results...
Generating using build
Generate target installer (executable C:\Users\Arun\Code\D\workspace-d\installer iworkspaced)
Performing "debug" build using ldc2 for x86_64.
File C:\Users\Arun\Code\D\workspace-d\installer\dub.selections.json doesn't exist, triggering rebuild.
installer ~master: building configuration "application"...
ldc2 -of.dub\build\application-debug-windows-x86_64-ldc_2071-231843D4A1A7C75C3915F7DAD5217ED5\iworkspaced.exe -d-debug -g -w -oq -od=.dub/obj -d-version=Have_installer -Isource source\app.d -vcolumns
Using Visual C++: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
Copying target from C:\Users\Arun\Code\D\workspace-d\installer\.dub\build\application-debug-windows-x86_64-ldc_2071-231843D4A1A7C75C3915F7DAD5217ED5\iworkspaced.exe to C:\Users\Arun\Code\D\workspace-d\installer
Running .\iworkspaced.exe .
Welcome to the workspace-d installation guide.
Make sure, you have dub and git installed.

LDC is required on your platform!

Which optional dependencies do you want to install?
[1] DCD - auto completion
[2] DScanner - code linting
[3] dfmt - code formatting
Enter a comma separated list of numbers
Selected [all]:
Using existing git repository for workspace-d
Compiling...
$ dub upgrade
Upgrading project in C:\Users\Arun\Code\D\workspace-d\installer
$ dub build --compiler=ldc2 --combined --build=release
Performing "release" build using ldc2 for x86_64.
installer ~master: building configuration "application"...
Using Visual C++: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
C:\Users\Arun\Code\D\workspace-d\installer\iworkspaced.exe: Access is denied.
Error while compiling workspace-d.
Program exited with code 1

C:\Users\Arun\Code\D\workspace-d\installer (master)
carun commented 7 years ago

Not a bug. We need to initialize the git submodule. before dub run. I will probably edit the ReadMe.