This repository is under review for potential modification in compliance with Administration directives.
[#7357] Linux tar distribution requires installation in /usr/local
Date: 2014-04-29 16:55 |
Priority: more information 3 |
Submitted By:
Torsten Rohlfing (torstenrohlfing)
|
Assigned To: more information
Torsten Rohlfing (torsten_at_home) |
Hardware: None | Product: CMTK-core |
Operating System: Linux | Component: Config |
Version: svn/trunk | Severity: major |
Resolution: Fixed |
Summary: more information Linux tar distribution requires installation in /usr/local |
| Detailed description |
Scripts in CMTK, when referencing each other, are configured to use
CMTK_INSTALL_DIR, which is /usr/local/.
At the same time, the tar archive has paths like this:
CMTK-3.2.0svn-Linux-x86_64/usr/local/bin/cmtk_functions.sh
We should do two things:
a) the archive should have paths like this:
CMTK-3.2.0svn-Linux-x86_64/bin/cmtk_functions.sh
such that we can untar directly into a convenient location.
b) within-CMTK references should be robust to installation under
different roots. It is not clear to me right now how to best do
that, though. Maybe we need to require users to set something like
a "CMTKDIR" environment variable, like FSL does.
| |
|
Response
| Message |
Date: 2014-04-30 21:01
Sender: Torsten Rohlfing
This should be fixed in CMTK 3.2.0.
CMTK_BINARY_DIR and CMTK_LIBRARY_DIR (if needed) can now be set
before executing one of CMTK's scripts, and the script should use
that to override whatever paths were defined during build time.
It's not automatic, but it should enable running CMTK from
non-standard installation directories.
| |
|
Attached Files:
| Name |
Download | | No Files Currently Attached | |
|
Changes:
| Field |
Old Value |
Date |
By |
| Resolution | Accepted As Bug | 2014-04-30 21:01 | torstenrohlfing |
| New Message | | 2014-04-30 21:01 | torstenrohlfing | |
|