pskt
pskt copied to clipboard
Tried to build on windows, did not work
First attempt:
$ make
bash: make: command not found
Not supprised with this i dug into the Makefile and found that i needed stack and that the makefile only was a thin wrapper.
Second attempt:
$ stack build --fast
C:\Users\neppord\code\pskt\package.yaml: Error while parsing $.dependencies[2] - invalid dependency "purescript -any"
So i tried to remove -any with sed:
sed -i 's/-any//g' package.yaml
$ stack build --fast
Preparing to download msys2-20220503 ...
Already downloaded.
Preparing to download 7z.dll ...
Already downloaded.
Preparing to download 7z.exe ...
Already downloaded.
Decompressing msys2-20220503.tar.xz...
7-Zip 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
Scanning the drive for archives:
1 file, 93835868 bytes (90 MiB)
Extracting archive: C:\Users\neppord\AppData\Local\Programs\stack\x86_64-windows\msys2-20220503.tar.xz
--
Path = C:\Users\neppord\AppData\Local\Programs\stack\x86_64-windows\msys2-20220503.tar.xz
Type = xz
Physical Size = 93835868
Method = LZMA2:23 CRC64
Streams = 1
Blocks = 1
Everything is Ok
Size: 366448640
Compressed: 93835868
Extracting msys2-20220503.tar...
Extracted 7 files
ERROR: Cannot create symbolic link :
C:\Users\neppord\AppData\Local\Programs\stack\x86_64-windows\msys2-20220503-tmp-b953fe754929f70f\\msys64\dev\fd
Extracted 15 files
ERROR: Cannot create symbolic link :
C:\Users\neppord\AppData\Local\Programs\stack\x86_64-windows\msys2-20220503-tmp-b953fe754929f70f\\msys64\dev\stderr
ERROR: Cannot create symbolic link :
C:\Users\neppord\AppData\Local\Programs\stack\x86_64-windows\msys2-20220503-tmp-b953fe754929f70f\\msys64\dev\stdin
ERROR: Cannot create symbolic link :
C:\Users\neppord\AppData\Local\Programs\stack\x86_64-windows\msys2-20220503-tmp-b953fe754929f70f\\msys64\dev\stdout
ERROR: Cannot create symbolic link :
C:\Users\neppord\AppData\Local\Programs\stack\x86_64-windows\msys2-20220503-tmp-b953fe754929f70f\\msys64\etc\mtab
Extracted 21 files
Extracted total of 21 files from msys2-20220503.tar
Problem while decompressing C:\Users\neppord\AppData\Local\Programs\stack\x86_64-windows\msys2-20220503-tmp-b953fe754929f70f\msys2-20220503.tar
At this time i give up. But did not want my struggle to go to waste :).
Thanks for the project it looks dope, and I am so happy for its existence even if it didn't work for me at this time.
Good to know. I never tried building on windows. Maybe look into how how purescript-native is doing. Because pskt is forked form it so their tricks may help compile pskt as well