[Csnd-dev]
Date | 2017-12-31 00:41 |
From | jpff |
Subject | [Csnd-dev] |
cmake defies CMAKE_SOURCE_DIR and similar to a full path. This is stopping a clear build of a rpm. Does anyone know how to make cmake use a relative path? |
Date | 2017-12-31 00:48 |
From | Victor Lazzarini |
Subject | [Csnd-dev] |
is this a solution?
https://cmake.org/cmake/help/v3.0/variable/CMAKE_USE_RELATIVE_PATHS.html
Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2017-12-31 01:06 |
From | Steven Yi |
Subject | [Csnd-dev] |
Relative to what? Could always use relative to the source or build dir. On Sat, Dec 30, 2017, 19:49 Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
|
Date | 2017-12-31 13:38 |
From | jpff |
Subject | [Csnd-dev] |
I tried that and it made no differece. Also tried editing the Makefile with sed but the full paths persist in the library, so i eed some other idea Sun, 31 Dec 2017, Victor Lazzarini wrote: > is this a solution? > https://cmake.org/cmake/help/v3.0/variable/CMAKE_USE_RELATIVE_PATHS.html > > Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy > Maynooth University > Ireland > > On 31 Dec 2017, at 00:41, jpff |
Date | 2017-12-31 13:44 |
From | Victor Lazzarini |
Subject | [Csnd-dev] |
Did you find what command is inserting them?
CMake is such a common tool that I am sure other rpm packages have used it before.
There must be a way.
Also: What cmake version? It seems that feature was only introduced after a certain version.
Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2017-12-31 13:59 |
From | Victor Lazzarini |
Subject | [Csnd-dev] |
Another thought: shouldn’t these paths get removed after running strip? ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 31 Dec 2017, at 13:44, Victor Lazzarini |
Date | 2017-12-31 14:09 |
From | John ff |
Subject | [Csnd-dev] |
Tried strip and the strings remain. Failed to find the syntax for recursive find/sed but have another idea.... Sent from TypeApp On Dec 31, 2017, 14:00, at 14:00, Victor Lazzarini |
Date | 2017-12-31 14:11 |
From | Victor Lazzarini |
Subject | [Csnd-dev] |
Note this: victor$ nm -a CsoundLib64.framework/CsoundLib64 | grep 'victor' 0000000000000000 - 00 0000 SO /Users/victor/src/csound6/./Engine/ … (lots of lines) now: victor$ strip -S CsoundLib64.framework/CsoundLib64 victor$ nm -a CsoundLib64.framework/CsoundLib64 | grep 'victor' victor$ So try adding a strip -S command to your rpm and see where you get to. (I would have thought that CMake would have done it). ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 31 Dec 2017, at 13:59, Victor Lazzarini |
Date | 2017-12-31 14:13 |
From | Victor Lazzarini |
Subject | [Csnd-dev] |
Where exactly are the strings? What kind of symbols? ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 31 Dec 2017, at 14:09, John ff |