Csound Csound-dev Csound-tekno Search About

compilation problem --ubuntu 15.04

Date2015-09-28 16:35
FromForrest Curo
Subjectcompilation problem --ubuntu 15.04
AttachmentsNone  None  
[This was incrementally upgraded from 10.4 or 10.10 (unsure which), inexpertly messed-with by me over the years, and is sometimes a quirky system.]
After downloading the latest csound I
1) sent build directory to trash
2) purged w apt-get:
"Package 'csound' is not installed, so not removed"
3)forrest@lapcritter:~$ sudo apt-get install csound
4) 'which csound' is still 6.05 in /usr/local/bin
5) sudo apt-get purge csound
6) mkdir build
7) cd build
8) cmake
9) make
10) sudo make install
11) 'which csound' is still present, is now 6.03.2 ;
~/csound/build$ ./csound is of course 6.05
?

Date2015-09-28 19:07
FromSteven Yi
SubjectRe: compilation problem --ubuntu 15.04
Hi Forrest,

You might check your PATH variable to see if /usr/bin comes before
/usr/local/bin. Not sure that'd be it, but thought it worth checking.

steven

On Mon, Sep 28, 2015 at 11:35 AM, Forrest Curo  wrote:
> [This was incrementally upgraded from 10.4 or 10.10 (unsure which),
> inexpertly messed-with by me over the years, and is sometimes a quirky
> system.]
> After downloading the latest csound I
> 1) sent build directory to trash
> 2) purged w apt-get:
> "Package 'csound' is not installed, so not removed"
> 3)forrest@lapcritter:~$ sudo apt-get install csound
> 4) 'which csound' is still 6.05 in /usr/local/bin
> 5) sudo apt-get purge csound
> 6) mkdir build
> 7) cd build
> 8) cmake
> 9) make
> 10) sudo make install
> 11) 'which csound' is still present, is now 6.03.2 ;
> ~/csound/build$ ./csound is of course 6.05
> ?
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-28 19:30
Fromjpff
SubjectRe: compilation problem --ubuntu 15.04
Hae you tried the "whereis" command?  Often helps finding extra versions. 
Also check $PATH and any aliases
As Steven says, just an idea


On Mon, 28 Sep 2015, Steven Yi wrote:

> Hi Forrest,
>
> You might check your PATH variable to see if /usr/bin comes before
> /usr/local/bin. Not sure that'd be it, but thought it worth checking.
>
> steven
>
> On Mon, Sep 28, 2015 at 11:35 AM, Forrest Curo  wrote:
>> [This was incrementally upgraded from 10.4 or 10.10 (unsure which),
>> inexpertly messed-with by me over the years, and is sometimes a quirky
>> system.]
>> After downloading the latest csound I
>> 1) sent build directory to trash
>> 2) purged w apt-get:
>> "Package 'csound' is not installed, so not removed"
>> 3)forrest@lapcritter:~$ sudo apt-get install csound
>> 4) 'which csound' is still 6.05 in /usr/local/bin
>> 5) sudo apt-get purge csound
>> 6) mkdir build
>> 7) cd build
>> 8) cmake
>> 9) make
>> 10) sudo make install
>> 11) 'which csound' is still present, is now 6.03.2 ;
>> ~/csound/build$ ./csound is of course 6.05
>> ?
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-28 19:33
FromForrest Curo
SubjectRe: compilation problem --ubuntu 15.04
AttachmentsNone  None  
No:
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
and /usr/local/bin continues to hold csound 6.03.2

On Mon, Sep 28, 2015 at 11:07 AM, Steven Yi <stevenyi@gmail.com> wrote:
Hi Forrest,

You might check your PATH variable to see if /usr/bin comes before
/usr/local/bin. Not sure that'd be it, but thought it worth checking.

steven

On Mon, Sep 28, 2015 at 11:35 AM, Forrest Curo <treegestalt@gmail.com> wrote:
> [This was incrementally upgraded from 10.4 or 10.10 (unsure which),
> inexpertly messed-with by me over the years, and is sometimes a quirky
> system.]
> After downloading the latest csound I
> 1) sent build directory to trash
> 2) purged w apt-get:
> "Package 'csound' is not installed, so not removed"
> 3)forrest@lapcritter:~$ sudo apt-get install csound
> 4) 'which csound' is still 6.05 in /usr/local/bin
> 5) sudo apt-get purge csound
> 6) mkdir build
> 7) cd build
> 8) cmake
> 9) make
> 10) sudo make install
> 11) 'which csound' is still present, is now 6.03.2 ;
> ~/csound/build$ ./csound is of course 6.05
> ?
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Date2015-09-28 19:36
FromForrest Curo
SubjectRe: compilation problem --ubuntu 15.04
AttachmentsNone  None  
Hadn't.
forrest@lapcritter:~$ whereis csound
csound: /usr/lib/csound /usr/local/bin/csound /usr/local/lib/csound /usr/include/csound /usr/share/csound

And this might explain a lot.

On Mon, Sep 28, 2015 at 11:30 AM, jpff <jpff@codemist.co.uk> wrote:
Hae you tried the "whereis" command?  Often helps finding extra versions.
Also check $PATH and any aliases
As Steven says, just an idea


On Mon, 28 Sep 2015, Steven Yi wrote:

> Hi Forrest,
>
> You might check your PATH variable to see if /usr/bin comes before
> /usr/local/bin. Not sure that'd be it, but thought it worth checking.
>
> steven
>
> On Mon, Sep 28, 2015 at 11:35 AM, Forrest Curo <treegestalt@gmail.com> wrote:
>> [This was incrementally upgraded from 10.4 or 10.10 (unsure which),
>> inexpertly messed-with by me over the years, and is sometimes a quirky
>> system.]
>> After downloading the latest csound I
>> 1) sent build directory to trash
>> 2) purged w apt-get:
>> "Package 'csound' is not installed, so not removed"
>> 3)forrest@lapcritter:~$ sudo apt-get install csound
>> 4) 'which csound' is still 6.05 in /usr/local/bin
>> 5) sudo apt-get purge csound
>> 6) mkdir build
>> 7) cd build
>> 8) cmake
>> 9) make
>> 10) sudo make install
>> 11) 'which csound' is still present, is now 6.03.2 ;
>> ~/csound/build$ ./csound is of course 6.05
>> ?
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Date2015-09-29 02:17
FromForrest Curo
SubjectRe: compilation problem --ubuntu 15.04
AttachmentsNone  None  
sudo rm /usr/lib/csound (etc)
revealed that most of those 'csound's were directories.
But that first file should have been out of there.
None the less, after sudo make install
there are no errors reported but

'which csound'
is /usr/local/bin
and csound [there] proclaims itself (still) version 6.03.2
while
./csound in the build directory truly is version 6.05

If I copy _that_ to /usr/local/bin, should that version then be installed correctly?

On Mon, Sep 28, 2015 at 11:36 AM, Forrest Curo <treegestalt@gmail.com> wrote:
Hadn't.
forrest@lapcritter:~$ whereis csound
csound: /usr/lib/csound /usr/local/bin/csound /usr/local/lib/csound /usr/include/csound /usr/share/csound

And this might explain a lot.

On Mon, Sep 28, 2015 at 11:30 AM, jpff <jpff@codemist.co.uk> wrote:
Hae you tried the "whereis" command?  Often helps finding extra versions.
Also check $PATH and any aliases
As Steven says, just an idea


On Mon, 28 Sep 2015, Steven Yi wrote:

> Hi Forrest,
>
> You might check your PATH variable to see if /usr/bin comes before
> /usr/local/bin. Not sure that'd be it, but thought it worth checking.
>
> steven
>
> On Mon, Sep 28, 2015 at 11:35 AM, Forrest Curo <treegestalt@gmail.com> wrote:
>> [This was incrementally upgraded from 10.4 or 10.10 (unsure which),
>> inexpertly messed-with by me over the years, and is sometimes a quirky
>> system.]
>> After downloading the latest csound I
>> 1) sent build directory to trash
>> 2) purged w apt-get:
>> "Package 'csound' is not installed, so not removed"
>> 3)forrest@lapcritter:~$ sudo apt-get install csound
>> 4) 'which csound' is still 6.05 in /usr/local/bin
>> 5) sudo apt-get purge csound
>> 6) mkdir build
>> 7) cd build
>> 8) cmake
>> 9) make
>> 10) sudo make install
>> 11) 'which csound' is still present, is now 6.03.2 ;
>> ~/csound/build$ ./csound is of course 6.05
>> ?
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



Date2015-09-29 02:33
FromSteven Yi
SubjectRe: compilation problem --ubuntu 15.04
It may be that it is linking to the libcsound that is 6.03.2.  The
reported version would come from the libcsound and not csound
executable, I think.

Why do you have both a version installed from apt-get and the one that
is custom built?  It'd be a lot simpler if you just removed the
apt-get version.

On Mon, Sep 28, 2015 at 9:17 PM, Forrest Curo  wrote:
> sudo rm /usr/lib/csound (etc)
> revealed that most of those 'csound's were directories.
> But that first file should have been out of there.
> None the less, after sudo make install
> there are no errors reported but
>
> 'which csound'
> is /usr/local/bin
> and csound [there] proclaims itself (still) version 6.03.2
> while
> ./csound in the build directory truly is version 6.05
>
> If I copy _that_ to /usr/local/bin, should that version then be installed
> correctly?
>
> On Mon, Sep 28, 2015 at 11:36 AM, Forrest Curo 
> wrote:
>>
>> Hadn't.
>> forrest@lapcritter:~$ whereis csound
>> csound: /usr/lib/csound /usr/local/bin/csound /usr/local/lib/csound
>> /usr/include/csound /usr/share/csound
>>
>> And this might explain a lot.
>>
>> On Mon, Sep 28, 2015 at 11:30 AM, jpff  wrote:
>>>
>>> Hae you tried the "whereis" command?  Often helps finding extra versions.
>>> Also check $PATH and any aliases
>>> As Steven says, just an idea
>>>
>>>
>>> On Mon, 28 Sep 2015, Steven Yi wrote:
>>>
>>> > Hi Forrest,
>>> >
>>> > You might check your PATH variable to see if /usr/bin comes before
>>> > /usr/local/bin. Not sure that'd be it, but thought it worth checking.
>>> >
>>> > steven
>>> >
>>> > On Mon, Sep 28, 2015 at 11:35 AM, Forrest Curo 
>>> > wrote:
>>> >> [This was incrementally upgraded from 10.4 or 10.10 (unsure which),
>>> >> inexpertly messed-with by me over the years, and is sometimes a quirky
>>> >> system.]
>>> >> After downloading the latest csound I
>>> >> 1) sent build directory to trash
>>> >> 2) purged w apt-get:
>>> >> "Package 'csound' is not installed, so not removed"
>>> >> 3)forrest@lapcritter:~$ sudo apt-get install csound
>>> >> 4) 'which csound' is still 6.05 in /usr/local/bin
>>> >> 5) sudo apt-get purge csound
>>> >> 6) mkdir build
>>> >> 7) cd build
>>> >> 8) cmake
>>> >> 9) make
>>> >> 10) sudo make install
>>> >> 11) 'which csound' is still present, is now 6.03.2 ;
>>> >> ~/csound/build$ ./csound is of course 6.05
>>> >> ?
>>> >>
>>> >>
>>> >> ------------------------------------------------------------------------------
>>> >>
>>> >> _______________________________________________
>>> >> Csound-users mailing list
>>> >> Csound-users@lists.sourceforge.net
>>> >> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> >> Send bugs reports to
>>> >>         https://github.com/csound/csound/issues
>>> >> Discussions of bugs and features can be posted here
>>> >>
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > _______________________________________________
>>> > Csound-users mailing list
>>> > Csound-users@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-users
>>> > Send bugs reports to
>>> >        https://github.com/csound/csound/issues
>>> > Discussions of bugs and features can be posted here
>>> >
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>         https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-29 04:20
Fromthorin kerr
SubjectRe: compilation problem --ubuntu 15.04
AttachmentsNone  None  
Completely naive chime from non-expert linux user:
After 'sudo make install'
Shouldn't you do:

sudo ldconfig 


tk



On Tue, Sep 29, 2015 at 1:35 AM, Forrest Curo <treegestalt@gmail.com> wrote:
[This was incrementally upgraded from 10.4 or 10.10 (unsure which), inexpertly messed-with by me over the years, and is sometimes a quirky system.]
After downloading the latest csound I
1) sent build directory to trash
2) purged w apt-get:
"Package 'csound' is not installed, so not removed"
3)forrest@lapcritter:~$ sudo apt-get install csound
4) 'which csound' is still 6.05 in /usr/local/bin
5) sudo apt-get purge csound
6) mkdir build
7) cd build
8) cmake
9) make
10) sudo make install
11) 'which csound' is still present, is now 6.03.2 ;
~/csound/build$ ./csound is of course 6.05
?

------------------------------------------------------------------------------

_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



Date2015-09-29 19:57
FromForrest Curo
SubjectRe: compilation problem --ubuntu 15.04
AttachmentsNone  None  
I think "completely naive chime" has it, because I'm now doing this over on my debian partition... and find it among the steps. (I was working from an incomplete list of steps. Arrrgh! Sorry.)

On Mon, Sep 28, 2015 at 8:20 PM, thorin kerr <thorin.kerr@gmail.com> wrote:
Completely naive chime from non-expert linux user:
After 'sudo make install'
Shouldn't you do:

sudo ldconfig 


tk



On Tue, Sep 29, 2015 at 1:35 AM, Forrest Curo <treegestalt@gmail.com> wrote:
[This was incrementally upgraded from 10.4 or 10.10 (unsure which), inexpertly messed-with by me over the years, and is sometimes a quirky system.]
After downloading the latest csound I
1) sent build directory to trash
2) purged w apt-get:
"Package 'csound' is not installed, so not removed"
3)forrest@lapcritter:~$ sudo apt-get install csound
4) 'which csound' is still 6.05 in /usr/local/bin
5) sudo apt-get purge csound
6) mkdir build
7) cd build
8) cmake
9) make
10) sudo make install
11) 'which csound' is still present, is now 6.03.2 ;
~/csound/build$ ./csound is of course 6.05
?

------------------------------------------------------------------------------

_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



------------------------------------------------------------------------------

_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here