compilation problem --ubuntu 15.04
Date | 2015-09-28 16:35 |
From | Forrest Curo |
Subject | compilation problem --ubuntu 15.04 |
Attachments | None 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 I1) 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 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 ? |
Date | 2015-09-28 19:07 |
From | Steven Yi |
Subject | Re: 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 |
Date | 2015-09-28 19:30 |
From | jpff |
Subject | Re: 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 |
Date | 2015-09-28 19:33 |
From | Forrest Curo |
Subject | Re: compilation problem --ubuntu 15.04 |
Attachments | None None |
No: and /usr/local/bin continues to hold csound 6.03.2"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" On Mon, Sep 28, 2015 at 11:07 AM, Steven Yi <stevenyi@gmail.com> wrote: Hi Forrest, |
Date | 2015-09-28 19:36 |
From | Forrest Curo |
Subject | Re: compilation problem --ubuntu 15.04 |
Attachments | None None |
Hadn't. And this might explain a lot.forrest@lapcritter:~$ whereis csound csound: /usr/lib/csound /usr/local/bin/csound /usr/local/lib/csound /usr/include/csound /usr/share/csound 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. |
Date | 2015-09-29 02:17 |
From | Forrest Curo |
Subject | Re: compilation problem --ubuntu 15.04 |
Attachments | None 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:
|
Date | 2015-09-29 02:33 |
From | Steven Yi |
Subject | Re: 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 |
Date | 2015-09-29 04:20 |
From | thorin kerr |
Subject | Re: compilation problem --ubuntu 15.04 |
Attachments | None 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:
|
Date | 2015-09-29 19:57 |
From | Forrest Curo |
Subject | Re: compilation problem --ubuntu 15.04 |
Attachments | None 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:
|