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 Dimitar Misev, 5 years ago

Owner: changed from Dimitar Misev to apercov
Status: newassigned

comment:2 by Dimitar Misev, 5 years ago

Another (even better) option: use /opt/rasdaman as default.

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.

comment:3 by apercov, 5 years ago

Status: assignedaccepted

comment:4 by apercov, 5 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.