MantisBT - Community
View Issue Details
0027514Community[OCCT] OCCT:Configurationpublic2016-05-18 15:032016-12-09 16:38
Timo 
apn 
normalminor 
closedfixed 
[OCCT] 7.0.0 
[OCCT] 7.1.0[OCCT] 7.1.0 
Not needed
0027514: Configuration, CMake - relative paths are not correctly handled for INSTALL_DIR
When using relative paths for INSTALL_DIR, a Problem occurs if the relative path starts with double or more "..", e.g. "../../occ-install".

You can see in the install_manifest.txt that the relative path is added twice for Header and resource files, but only once for binaries. In this way, two install directories are created at different places, each one containing only a part of the files.

E.g.:

...win32-vc10/../../occ-install/../../occ-install/LICENSE_LGPL_21.txt
...
...win32-vc10/../occ-install/win32/vc10/bin/TKernel.dll
- Use "../../occ-install" for the INSTALL_DIR variable
- Compile the Install Project
- try to start Draw in the install directory
No tags attached.
Issue History
2016-05-18 15:03TimoNew Issue
2016-05-18 15:03TimoAssigned To => bugmaster
2016-05-25 10:30bugmasterAssigned Tobugmaster => ski
2016-05-25 10:30bugmasterStatusnew => assigned
2016-06-15 12:30gitNote Added: 0055000
2016-06-15 14:08skiNote Added: 0055010
2016-06-15 14:08skiAssigned Toski => ibs
2016-06-15 14:08skiStatusassigned => resolved
2016-09-26 11:24ibsNote Added: 0058145
2016-09-26 11:24ibsAssigned Toibs => bugmaster
2016-09-26 11:24ibsStatusresolved => reviewed
2016-10-27 13:10apnNote Added: 0059248
2016-10-27 13:18gitNote Added: 0059249
2016-10-27 14:09apnTest case number => Not needed
2016-10-27 14:09apnStatusreviewed => tested
2016-10-28 14:35apnChangeset attached => occt master d26375e2
2016-10-28 14:35apnAssigned Tobugmaster => apn
2016-10-28 14:35apnStatustested => verified
2016-10-28 14:35apnResolutionopen => fixed
2016-10-28 21:37gitNote Added: 0059405
2016-12-09 16:30aivStatusverified => closed
2016-12-09 16:38aivFixed in Version => 7.1.0

Notes
(0055000)
git   
2016-06-15 12:30   
Branch CR27514 has been created by ski.

SHA-1: 9333cd165f568cb2636fe3e12eabcda4d6d5d55e


Detailed log of new commits:

Author: ski
Date: Wed Jun 15 12:29:47 2016 +0300

    0027514: Configuration, CMake - relative paths are not correctly handled for INSTALL_DIR
    
    Relative path can be used as INSTALL_DIR.
(0055010)
ski   
2016-06-15 14:08   
Dear ibs,

please review occt branch CR27514,
it is possible now to set INSTALL_DIR as relative path to CMAKE_BINARY_DIR.

CMake procedure "install" takes given relative path and concatinate it with CMAKE_INSTALL_PREFIX variable during installation.
(0058145)
ibs   
2016-09-26 11:24   
there are no remarks
(0059248)
apn   
2016-10-27 13:10   
Installation procedure was checked. It works correct with relative paths.
(0059249)
git   
2016-10-27 13:18   
Branch CR27514 has been updated forcibly by inv.

SHA-1: 6e334e79ec22fe06c6eb321b9bf01f9b50d3b7c5
(0059405)
git   
2016-10-28 21:37   
Branch CR27514 has been deleted by kgv.

SHA-1: 6e334e79ec22fe06c6eb321b9bf01f9b50d3b7c5