Opened 5 years ago
Closed 5 years ago
#2139 closed defect (fixed)
add test for empty RMANHOME
Reported by: | Peter Baumann | Owned by: | apercov |
---|---|---|---|
Priority: | minor | Milestone: | 10.0 |
Component: | manuals_and_examples | Version: | 9.8 |
Keywords: | Cc: | ||
Complexity: | Trivial |
Description
in the src install doc is a warning
Run echo $RMANHOME beforehand to verify that this environment variable is correctly set; if it is empty rasdaman will be installed in / which should be avoided.
This should be checked: if RMANHOME empty, abort with error + text like "error: RMANHOME variable not set, refusing to install into /; set RMANHOME to target installation directory, such as /opt/rasdaman, and rerun."
Another (even better) option: use /opt/rasdaman as default.
Change History (4)
comment:1 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 5 years ago
comment:3 by , 5 years ago
Status: | assigned → accepted |
---|
comment:4 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
This is already the case.
But we should check if
-DCMAKE_INSTALL_PREFIX
is set to empty by the user. Arsenij did this mistake, and installed everything in /bin, /etc, etc, which is what prompted me to add the warning note.