Skip to content

fail to install cargo-nightly-x86_64-pc-windows-gnu.tar.gz #992

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

Closed
exitNA opened this issue Nov 29, 2014 · 1 comment
Closed

fail to install cargo-nightly-x86_64-pc-windows-gnu.tar.gz #992

exitNA opened this issue Nov 29, 2014 · 1 comment

Comments

@exitNA
Copy link

exitNA commented Nov 29, 2014

the log is:

Welcome to Git (version 1.9.4-preview20140815)

Run 'git help git' to display the help index. Run 'git help '
to display help for specific commands. install: looking for install
programs install: found mkdir install: found printf install: found cut
install: found grep install: found uname install: found tr install:
found sed install: install: processing
E:\download\cargo-nightly-x86_64-pc-windows-gnu\cargo-nightly-x86_64-pc-windows-gnu\install.sh
args install: install: CFG_DESTDIR := install: CFG_PREFIX
:= /usr/local install: CFG_LIBDIR := /usr/local/lib install:
CFG_MANDIR := /usr/local/share/man install: install:
validating
E:\download\cargo-nightly-x86_64-pc-windows-gnu\cargo-nightly-x86_64-pc-windows-gnu\install.sh
args install: install: verifying platform can run binaries install:
verifying destination is writable install: verifying destination is
not the same as source install: removing /usr/local/lib/cargo/manifest
install: removing /usr/local/lib/cargo install:
/usr/local/bin/cargo.exe
E:\download\cargo-nightly-x86_64-pc-windows-gnu\cargo-nightly-x86_64-pc-windows-gnu\install.sh: line 434: install: comma nd not found install: error: file creation
failed

@alexcrichton
Copy link
Member

I'm going to close this as a dupe of #626, sadly our installation on windows currently requires a MinGW installation (and MSYS2 most likely), and the script is kinda lucky to work on Windows even with those installed! We've got a PR to make progress in this direction, so it should be coming soon!

For now, you can just copy out the cargo.exe binary and run that directly, sorry about the trouble!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants