Csound Csound-dev Csound-tekno Search About

[Csnd-dev]

Date2017-12-31 00:41
Fromjpff
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?

Date2017-12-31 00:48
FromVictor 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

On 31 Dec 2017, at 00:41, jpff <jpff@CODEMIST.CO.UK> wrote:

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?
==John ffitch

Date2017-12-31 01:06
FromSteven 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:


Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 31 Dec 2017, at 00:41, jpff <jpff@CODEMIST.CO.UK> wrote:

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?
==John ffitch

Date2017-12-31 13:38
Fromjpff
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  wrote:
>
>       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?
>       ==John ffitch
> 
> 
>

Date2017-12-31 13:44
FromVictor 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

On 31 Dec 2017, at 13:39, jpff <jpff@CODEMIST.CO.UK> wrote:


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 <jpff@CODEMIST.CO.UK> wrote:

     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?
     ==John ffitch

Date2017-12-31 13:59
FromVictor 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  wrote:
> 
> 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
> 
> On 31 Dec 2017, at 13:39, jpff  wrote:
> 
>> 
>> 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  wrote:
>>> 
>>>      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
>>>      r

Date2017-12-31 14:09
FromJohn 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  wrote:
>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 
>wrote:
>> 
>> 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
>> 
>> On 31 Dec 2017, at 13:39, jpff  wrote:
>> 
>>> 
>>> 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  wrote:
>>>> 
>>>>      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?

Date2017-12-31 14:11
FromVictor 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  wrote:
> 
> 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  wrote:
>> 
>> 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
>> 
>> On 31 Dec 2017, at 13:39, jpff  wrote:
>> 
>>> 
>>> 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  wrote:
>>>> 
>>>>     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?
>>>>     ==John ff

Date2017-12-31 14:13
FromVictor 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  wrote:
> 
> 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  wrote:
>> 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 
>> wrote:
>>> 
>>> 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
>>> 
>>> On 31 Dec 2017, at 13:39, jpff  wrote:
>>> 
>>>> 
>>>> 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  wrote:
>>>>> 
>>>>>     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