Trying to get v2 running on windows, I've got gcc ...
# pact-go
j
Trying to get v2 running on windows, I've got gcc installed via msys2/mingw64 Running pact-go install returns
Copy code
2022/03/31 11:24:39 [INFO] package libpact_ffi not found
2022/03/31 11:24:39 [INFO] downloading library from <https://github.com/pact-foundation/pact-reference/releases/download/libpact_ffi-v0.1.2/libpact_ffi-windows-x86_64.dll.gz> to /usr/local/lib/libpact_ffi.dll
2022/03/31 11:24:39 [ERROR] Your Pact library installation is out of date and we were unable to download a newer one for you: bad response code: 404
I tried manually downloading and copying the
libpact_ffi.dll
and
libpact_ffi.so
to C:\msys64\mingw64\lib And it's running the tests now (got some failures to work out first)
m
Ah. Double check you don't also have PACT_ env vars set. The underlying argument parser sees them as duplicates, not a hierarchy
👍 1
j
I definitely do have them set, Gotta remove those.
👍 1