compile gnu make with msys2/mingw on Windows - gnu-make

I need gnu make for Windows with case insensitive flag.
Tried the current version 4.3 with msys2/mingw, and it brings some errors on compiling.
All I need is
./configure --enable-case-insensitive-file-system
The first errors seem to be winsock related, therefore I added "ac_cv_header_winsock2_h=no".
But the next errors seem are in dirent.c, I don't know how to solve them...
It should obviously work somehow :) because it is already included with msys2, but with case sensitivity.
I searched a lot and did not find any hint... any help welcome.
Thanks.

Related

Comma Community release 2020.07.0 sun/javafx/PlatformUtil problem

Update (2020-11-03)
The issue described in the original post is resolved. I have no problems running Raku scripts with:
IntelliJ IDEA 2020.2.3
Comma Community release 2020.10.0
Original post
I program in Raku and I am trying to use Comma Community release 2020.07.0 with IntelliJ IDEA 2020.2 and 2020.2.1 (Community Edition) on Mac OS 10.15.6.
When I try to run a configured script I am getting the error "Error running 'Examples': com/sun/javafx/PlatformUtil" :
I did numerous searches on the web to find suggestions to fix this and nothing I tried worked. So, I reverted to using IntelliJ IDEA 2020.1.4 .
Any suggestions how to get Commaide working in IntelliJ IDEA 2020.2.1 ?
Unfortunately, there's probably not much to be done other than waiting for a newer Comma release.
Ideally, the Comma plugin would Just Work against newer versions of IntelliJ. While JetBrains mostly do a good job of retaining compatibility, or at least of deprecating things in one release and removing them in a later release so there's a chance to keep up, experience tells that if one is touching enough of the platform, there will often be something or other that gets broken by updates. Comma uses a significant amount of the IntelliJ platform API, and evidently something it depended on has changed in an incompatible way.

Phabricator SVN Revision file context

I cannot get phabricator to display the changes in using the file context. I got the "Context not available" on every file.
Does anyone know why is this not work? What should i do to debug this problem?
This seems a problem related with SVN only because its working with GIT.
Thanks.
I bumped in the same problem recently and googled this question. I found out that the context is available only when diff is created via arcanist command line tool (arc diff) in Linux or Mac OS.
It won't work if you create a diff directly by pasting it in Phabricator/Differential or by using arcanist tool in Windows.
I tested this with arcanist on Ubuntu 14.04, Mac OS 10.10 (those two worked) and in Windows 7 (didn't work).
You didn't specify whether you're using the arc diff command line tool, or manually uploading a diff via the Phab. web interface.
If you're not using arc diff, I have an answer for you: It's up to you to include the context yourself. Phab. only knows what's in the diff/patch that you give it. If you can't get the full context, that's a fault with your diff/patch, not with Phab.
If you're using a standard diff utility, like GNU diff, you can use the command-line arguments to dictate how much context to include in the output. I usually use some obscenely large number, like 500 or 1000, to ensure that the entire file ends up in the output.
I just took a quick look at the svn command-line documentation, and it seems that there's no way to control how much context goes into the output. ...but maybe I'm wrong...
In any case, shortboy is correct that the easiest way to get the full file context is to use arc diff.

Installing cvxopt for python - Where do I find libblas.a and liblapack.a

I've got a (what I assume to be) rather simple question regarding the installation of cvxopt on Windows. I'm following this "guide" http://cvxopt.org/install/index.html. But I've got stuck on the part where you're supposed to
Copy libblas.a and liblapack.a to the src directory.
I think it's fair to say to I'm very lousy at these kind of things and that I've got no idea of what I'm doing. So I would be greatly helpful if someone could tell me where I could find these. I guess it has something to do with:
make lapacklib && cp liblapack.a ..
and
make && cp blas_WIN.a ../libblas.a
But I can't really make anything of this...
Thanks in advance!
cvxopt is included in WinPython. Even if you won't use WinPython directly, it's probably the easiest way to get cvxopt on Windows: After installing WinPython, you can copy the cvxoptfolder from the Lib\site-packagesdirectory into the corresponding one of your Python distribution.
Edit:
It's again available under the unofficial windows binaries.
Unfortunately the cvxopt 1.1.7 currently distributed with the unofficial windows binaries has issues with the current winpython 2.7.6.4 (or maybe has issues on its own). In my experience you could encounter many weird problems like code throwing math domain errors or arithmetic errors where things used to work perfectly fine on winpython 2.7.6.2 and the cvxopt 1.1.6 included there. I do not think that it is a problem with cvxopt 1.1.7 since it works fine on linux, rather of the specific binary packaging or maybe incompatibility of such packaging with the latest winpython.
If you are encountering such issues, maybe you can stay with winpython 2.7.6.2 that is the last version shipping a working cvxopt.

gdb doesn't resume after breakpoint. MITK-Framewok Project using Qt-Creator, gdb, Linux Mint 15

I'm writing plugin for the MITK framework using Qt-Creator with gdb on Linux-Mint 15.
Resuming after halting at any breakpoint doesn't work, or seems to take upwards of 30 minutes (every time). My project is not very big however, so there's no way I've got the debugger set up correctly.
I've got the Qt 4.8 and 5.01 packages installed. MITK requires Qt4 and I believe to have it specified everywhere in the makefiles.
I do get the following output when starting to debug:
&"warning: GDB: Failed to set controlling terminal: Unpassender IOCTL (I/O-Control) f\303\274r das Ger\303\244t\n"
no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
From other answers on this site I get that the first line can be ignored...
Can anyone say if the second line is related to my problem and possibly how?
I wonder if this could have to do with there being two versions of Qt installed on my pc - I dont know how to get Qt5 completely off the system with all its packages though...
One user mentioned this: https://stackoverflow.com/a/17256365/2561709
Its all I could really find but I dont understand it, any clues?
I'd appreciate any hint at a possible cause of the problem. Please tell me what other relevant information I could provide, thanks!

Patch plupload on W7 64 bit

Some of you may have already read my unanswerd question "Node Gallery won't show images with Plupload" AND this query is a follow on, because I think if I solve this issue, I will have found the solution to my previous one, as I missed out a step!
I am trying to patch the Plupload module with the plupload_url.patch, on my laptop running a 64 bit version of Windows 7, but every method I try fails; I think it says the file format isn't supported! So far I have tried GnuWin32 (but I think the clues in the name there), and also the JDiff Plugin for jEdit! So, has anyone been in this situation, or do of a working solution? Any advice would be greatly appreciated!
I do have a VirtualBox installation of Ubuntu if there are no other alternitives, but I'd prefer not to use that because transfering files from the Guest OS is a pain in the ass!
If I understand correctly, the problem is that you can't apply the patch and want to know how to do so.
Here's an explanation of path files which may help: http://drupal.org/node/367392
Also see if http://drupal.org/node/14231#comment-22770 and http://drupal.org/node/100527#comment-176252 helps.

Resources