-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Building Julia on Windows fails due to libuv #8488
Comments
libuv thinks you're on unix because you used the wrong batch file to start MSYS2. Use the |
Or maybe it's not that issue, it's the "wrong gcc" issue #6234 (comment). What is the output of |
i tried the |
Do you have cygwin in your path?
|
How about |
Depending on the .bat shoudln't i use the mingw64 if anything else is 64 bit? |
Autotools doesn't recognize MINGW64 since it's slow to change and MSYS2 has only existed for a little over a year, so probably not. |
God damn it Haskell Platform (cf. #7835 (comment)). @cartazio I know you're not a Windows guy, but who do we complain at to stop putting things on the path that break other projects in confusing ways? |
i purged my path, moved cygwin and tried another |
|
edit: no more cygwin occurence in the libuv |
It'll take a while, mostly due to LLVM and OpenBLAS. Get a coffee :) Hope you did Moral of story: too much stuff permanently added to PATH = bad. |
Finished compiling and works :) But I'm confused about when I want to use |
So
|
@tkelman heya! I'm totally not involved in the haskell-platform stuff (if thats still related at alll) , but https://github.com/haskell/haskell-platform is where to got if you've got bugs to report. (I also think i'm WAYY overdue on replying to an email of yours, been a bit buried with life matters the past month or two) |
Nevermind, I think Haskell Platform escapes the blame here for the moment, but next time I see it on someone's path I'm submitting a bug. |
thanks a lot @tkelman for the detailed explanation 👍 |
Compiling Julia as described in the readme with MinGW/MSYS2 I get the following error after make clean and make (extract):
...
CC src/unix/libuv_la-async.lo
In file included from src/unix/async.c:26:0:
src/unix/internal.h:163:36: warning: 'struct msghdr' declared inside parameter list [enabled by default]
ssize_t uv__recvmsg(int fd, struct msghdr msg, int flags);
^
src/unix/internal.h:163:36: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
src/unix/internal.h:166:18: error: unknown type name 'uv__io_t'
void uv__io_init(uv__io_t w, uv__io_cb cb, int fd);
....
Makefile:1705: recipe for target 'src/unix/libuv_la-async.lo' failed
make[4]: *** [src/unix/libuv_la-async.lo] Error 1
Makefile:830: recipe for target 'all' failed
make[3]: *** [all] Error 2
Makefile:546: recipe for target 'libuv/.libs/libuv.a' failed
make[2]: *** [libuv/.libs/libuv.a] Error 2
...
For the full log see the gist.
What shall I do?
The text was updated successfully, but these errors were encountered: