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
Is Windows supported? #46
Comments
@noughtmare might you know the answer? I found jtdaugherty/vty#219 (comment) according to which you had some success in building |
I know I succeeded once, but now I can't get terminfo's configure script to find the If I run |
OK, I can compile it by first installing
Then run these commands in powershell in the terminfo directory:
I've tested this with 9.2.5, there might be problems with 9.4 because of the migration to clang. |
@jtdaugherty how do you feel about adding these instructions to README? |
@Bodigrim are you thinking they'd go in the README for |
I think it would be helpful to have build instructions in |
Hm, I didn't realize I had any authority. :) I remember talking about possibly helping out with maintenance on this package a while back but that was as part of an exploration of whether its current maintainer wanted that. I also now find myself without as much time on my hands, so I don't think I'm in a position to contribute much. I'm sorry if that has led to confusion! With that said, I have basically no experience doing Haskell development on Windows so I cannot tell whether the above steps ought to be repeated in the README as general advice, nor could I say what the generalization of those steps would be or what assumptions they make about the build environment, etc. And since I don't do Windows development (at all, but especially with Haskell), I'm not in a position to test (and thus support) documented Windows instructions. At best I could say "a user found this incantation helpful one time, use at your own risk" which I would personally hesitate to put in the README of a package that I wanted to support. |
Sorry, I probably misread #48 (comment) |
Hah, yes, I was a little surprised he moved on that so quickly! |
In the spirit of helpfulness, what if we updated the README with a pointer to this ticket and a statement that while Windows is not officially supported, this ticket might prove useful? |
I also feel like my way of making this package work on Windows is not ideal. As for how general these steps are, I think it should work for anyone who uses Windows with the x86_64 architecture, has installed Haskell with ghcup, and uses the default directories for both ghcup and msys2. Adapting it to other directories should be pretty straightforward, but it is unfortunate that the toolchain doesn't seem to automatically find these installed libraries and includes. I think a link to this ticket in the README would be a good compromise. |
Done! |
I'm having difficulties to build this package on Windows. Is it supported? Could README please give some instructions? E. g., which MSYS packages to install or what needs to be in PATH.
The text was updated successfully, but these errors were encountered: