-
Notifications
You must be signed in to change notification settings - Fork 6
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
Linenoise broken on Windows as of 2016.11 #17
Comments
@stmuk What kinds of problems did you see with the latest linenoise? |
The problem is the make file has a hard coded I've fixed that issue in #19, but starting linenoise via |
@ugexe Thanks for the feedback - I've merged your PR. Is there other work that needs to be done for this to work on Windows? |
Yes, you need to implement something like https://github.com/sergot/openssl/blob/91efa8c4f53e86501f23b3a6aeb4184cfedbfa9f/lib/OpenSSL/NativeLib.pm6 and replace your use of This is really a bug in CompUnit::Repository::Installation in that there needs to be a way to declare a file name cannot be mangled, so don't view this suggestion as anything other than a workaround. |
@ugexe I'm kind of loathe to copy/paste some DLL-fixing code from the OpenSSL module, partially since it doesn't have a license in place. I don't like Linenoise being broken on Windows, but perhaps it would be better to wait for the CompUnit system to support the non-workaround behavior you described above. |
I'm not a windows user and I'm not aware of anyone newly complaining about this but I encountered this issue while following up on another issue, and then dug a bit further to understand the status of this issue, and think it would be useful to update this issue with what I see, especially point 4:
|
@raiph Thanks for filling in this information! BTW, do you know of anyone would like to take over maintainership of Linenoise? I haven't worked on Perl 6 for a while and free time is at a premium for me, so I can't really give it the love and attention it deserves! |
OK, I guess that'll have to be us. This one is a blocker for #29, so we'll try this one to go first. |
For the time being, the Makefile (and some paths) are Linux-specific. I'm trying to find a way to compile it, in its current version, in Windows, and eventually I think we'll have to create two separate Makefiles. |
OK, this is working now in Windows so we have at least a procedure to carry it out. I'll try and find a way to put this in the Makefile so that it's OS-independent. |
I had to revert the version of Linenoise shipped with star to the one before Native::Resources removal in order to get it to work on Windows 10/mingw (from Strawberry Perl)
The text was updated successfully, but these errors were encountered: