Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up`make install` error on Windows #13810
Comments
This comment has been minimized.
This comment has been minimized.
|
cc @brson |
This comment has been minimized.
This comment has been minimized.
|
Just ran into the same issue. After some digging I've found that I'm not sure what should be done about the Linux, note liblibc-*.so directory:
mingw32, note libc-*.dll directory:
|
iliekturtles
added a commit
to iliekturtles/rust
that referenced
this issue
May 18, 2014
iliekturtles
added a commit
to iliekturtles/rust
that referenced
this issue
May 18, 2014
iliekturtles
added a commit
to iliekturtles/rust
that referenced
this issue
May 18, 2014
iliekturtles
added a commit
to iliekturtles/rust
that referenced
this issue
May 18, 2014
This comment has been minimized.
This comment has been minimized.
|
Re the possibility of the missing |
This comment has been minimized.
This comment has been minimized.
|
Actually, scratch that, I was just misunderstanding how MSYS set things up. I think I was misled by |
This comment has been minimized.
This comment has been minimized.
|
I'm assuming that per #14284 fixing this one line solves this entire issue. Unfortunately the subtleties here are pretty deep. The solution proposed in #14284 makes several assumptions about relative paths that don't hold: all path-related options The root of the issue is that on windows we don't use a I think I prefer to continue using this strategy of having a different filesystem layout on windows, though we may also be able to just add more to the In any case, I would like to purge this difference in layouts from the build process, and defer the decision on where to put various artifacts until install-time. So, when we produce our dist artefacts, they have the same internal layout on all platforms, and the build system is less complex. Doing that would solve this issue since then the manifest would be at the same location on all platforms. If we do that then we have some options: since this installer is explicitly for Unixy systems (here msys), we may not need to mess with --libdir at all, if msys has previously set up the paths correctly to dynamically load libs from Note that overriding After writing all this I'm more convinced that the right solution is to remove this hacky difference in filesystem layout completely. In the meantime though I am not opposed to copying some of the platform-detection code from |
brson
referenced this issue
May 19, 2014
Closed
install: Removed lib dir assumptions, closes #13810 #14284
This comment has been minimized.
This comment has been minimized.
|
Thanks for the feedback. I was fearing it wouldn't be so simple. I'll start taking a look at the short-term solution of copying some of the platform detection code. No promises on time if someone else wants to pick this up before I get a chance to submit something for review. |
This comment has been minimized.
This comment has been minimized.
|
@brson after all of my check-stage1 work I am more familiar with the issues involved here (in terms of both the logic dictating where libraries are emitted and the dynamic library resolution process on various platforms), so I can try to poke at this if you like. |
This comment has been minimized.
This comment has been minimized.
|
That would be swell @pnkfelix. Thanks
|
iliekturtles
added a commit
to iliekturtles/rust
that referenced
this issue
Jun 21, 2014
iliekturtles
added a commit
to iliekturtles/rust
that referenced
this issue
Jun 21, 2014
iliekturtles
referenced this issue
Jun 21, 2014
Merged
install: Correct libdir for Windows installs. #15087
iliekturtles
added a commit
to iliekturtles/rust
that referenced
this issue
Jun 26, 2014
iliekturtles
added a commit
to iliekturtles/rust
that referenced
this issue
Jul 3, 2014
bors
added a commit
that referenced
this issue
Jul 3, 2014
brson
added
the
A-windows
label
Aug 12, 2014
brson
added
the
I-nominated
label
Aug 28, 2014
This comment has been minimized.
This comment has been minimized.
|
P-low, not 1.0. |
pnkfelix
added
P-low
and removed
I-nominated
labels
Aug 28, 2014
This comment has been minimized.
This comment has been minimized.
|
How relevant is this issue today? I don't have a Windows machine... |
This comment has been minimized.
This comment has been minimized.
|
Our installers have changed quite a bit since this was opened, so I'm going to close this as "probably fixed" |
mrec commentedApr 28, 2014
Trying to build latest on Win7-64, on a freshly-installed MSYS. The previous
make check-fastmostly worked, with only one failure. (See #13439 - @klutzy has already commented on that.)Possibly relevant:
manifest.inpath~/rust/tmp/dist/rust-0.11-pre-i686-pc-mingw32folder, but nolibunder it/usrfolder at all