Jauhien Piatlicki
e889f8091a
Look for standard crates in LIBDIR provided by --libdir option,
...
not in hardcoded libdir path. If there was no LIBDIR provided
during configuration fallback to hardcoded paths.
Thanks to Jan Niklas Hasse for solution and to Alex Crichton for improvements.
Closes #11671
2014-11-16 01:01:11 +01:00
Brian Anderson
887da8d33a
install: Fix the install.sh script to work with spaces
...
Makes it work on windows
2014-09-29 15:29:57 -07:00
Brian Anderson
9641856964
Only run ldconfig on Linux
2014-07-11 21:13:40 -07:00
Brian Anderson
5ee270a148
install: Run ldconfig when installing on Unix. Closes #15596 .
...
If ldconfig fails it emits a warning. This is very possible when installing
to a non-system directory, so the warning tries to indicate that it may
not be a problem.
2014-07-10 18:27:21 -07:00
Brian Anderson
ad82cb5621
install: Make the LD_LIRARY_PATH warning more aesthetic
2014-07-10 18:16:48 -07:00
Alex Crichton
c460d38363
etc: Fix install script for rpath removal
...
This adds detection of the relevant LD_LIBRARY_PATH-like environment variable
and appropriately sets it when testing whether binaries can run or not.
Additionally, the installation prints a recommended value if one is necessary.
2014-07-09 07:44:49 -07:00
Ruud van Asseldonk
5d36005066
remove duplicated slash in install script path
2014-07-03 12:54:51 -07:00
Mike Boutin
ccd7aaf17a
install: Correct libdir for Windows installs.
...
Platform-detection code from `configure` copied over to `install.sh`
in order to special case the lib dir being `bin` on Windows instead
of `lib`.
Short-term fix for #13810 .
2014-07-02 20:03:10 -04:00
Brian Anderson
cfb52a5d35
mk: Don't touch config.tmp or tmp/dist as root. Closes #13190
...
When running `make install` we are touching these files that can't
then be removed later.
2014-03-30 20:15:27 -07:00
Brian Anderson
c5f8ca5be0
install: More error handling
2014-03-28 15:59:20 -07:00
Brian Anderson
c91ce02600
install: Extract function for creating absolute paths and reuse it
2014-03-28 15:50:35 -07:00
Brian Anderson
766a7c224b
install: Fix string formatting in an error
2014-03-28 15:50:34 -07:00
Brian Anderson
2205c48ee4
install: Explicitly delete the manifest during uninstall. Misc cleanup
2014-03-28 15:50:34 -07:00
Brian Anderson
01d823b4de
install: Verify that installed compiler runs
...
Another sanity check. Can be disabled in `install.sh` via `--disable-verify`
and `configure` with `--disable-verify-install`.
2014-03-28 15:50:32 -07:00
Brian Anderson
c060e2e515
install: Don't allow installation over the install files
2014-03-26 18:52:23 -07:00
Brian Anderson
92d0ec2ec7
install: name the bundled manifest 'manifest.in'. Cleanup
...
The installed manifest is a different file, so they should have
different names. This should prevent various wierd conflicts in the future.
2014-03-26 14:59:08 -07:00
Brian Anderson
ce1e48a52b
install: Support --libdir and --mandir correctly
...
This adds a hack to rustc to make it find the library directory
regardless of whether it is named lib/lib64/lib32.
2014-03-25 23:57:39 -07:00
Brian Anderson
6f9b30c6c1
configure: Make rustlibdir non-configurable
...
Trying to reduce the complexity of installation
2014-03-25 21:35:10 -07:00
Brian Anderson
fe5bd8857d
install: Don't try to run binaries on install
...
I think there are likely to be scenarios where this script is run
to move files to the correct place during cross-compiles.
2014-03-24 14:29:18 -07:00
Brian Anderson
eed808b532
install: Improve error handling
2014-03-24 14:29:18 -07:00
Brian Anderson
cc5fae720a
install: Error on uninstall if manifest can't be found
2014-03-24 14:29:18 -07:00
Brian Anderson
dd7a60e0c3
mk: Fix distcheck
...
Also, add more distcheck tests
2014-03-24 14:29:17 -07:00
Brian Anderson
952380904b
install.sh: untabify
2014-03-09 14:56:37 -07:00
Brian Anderson
1f7de380ce
install.sh: Improve error handling
2014-03-09 14:17:27 -07:00
Brian Anderson
67ebf8abdf
mk: dist-installer builds a binary installer
2014-03-09 14:17:26 -07:00