Skip to content

Readme should note that ./install.sh requires msys and mingw on windows #271

@mdinger

Description

@mdinger

[EDIT]
The readme should note that ./install.sh must be run inside msys and mingw to work.

This error was caused by me running ./install.sh directly from the windows command prompt.
[END EDIT]

The Windows cargo installer seems just seems to crash. I downloaded it on 7/27/2014. I ran with and without admin and it errored both times. Not sure what it's supposed to need.

Ran the install.sh:

D:\Downloads\cargo-nightly-win.tar\cargo-nightly-win\cargo-nightly>install.sh
Welcome to Git (version 1.9.2-preview20140411)


Run 'git help git' to display the help index.
Run 'git help <command>' 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 D:\Downloads\cargo-nightly-win.tar\cargo-nightly-win\cargo-n
ightly\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 D:\Downloads\cargo-nightly-win.tar\cargo-nightly-win\cargo-n
ightly\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
      0 [main] install 5816 open_stackdumpfile: Dumping stack trace to install.e
xe.stackdump
install: error: file creation failed

install.exe.stackdump:

MSYS-1.0.18 Build:2012-11-21 22:34
Exception: STATUS_ACCESS_VIOLATION at eip=60808A3C
eax=685726EC ebx=68573A7C ecx=4001B010 edx=00000160 esi=00000000 edi=685700D4
ebp=0028FEC8 esp=0028FEB0 program=c:\MinGW\msys\1.0\bin\install.exe
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame     Function  Args
0028FEC8  60808A3C  (685700D4, 00000160, 00000108, 0028FEFC)
0028FF18  60804426  (6089C740, FFFFFFFE, 00000108, 6089C6A4)
0028FF58  60804995  (00000000, 00000000, 00000000, 00000000)
0028FF78  0041A3CF  (00401170, 037F0000, 0028FF94, 772F338A)
0028FF88  0040103E  (7EFDE000, 0028FFD4, 77A69F72, 7EFDE000)
0028FF94  772F338A  (7EFDE000, 77A6698D, 00000000, 00000000)
0028FFD4  77A69F72  (00401000, 7EFDE000, 00000000, 00000000)
0028FFEC  77A69F45  (00401000, 7EFDE000, 00000000, 78746341)
End of stack trace

Let me know if you need more info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions