[Csnd] CsoundAC Ubuntu 10.10 installation
Date | 2011-02-25 03:11 |
From | Brian Redfern |
Subject | [Csnd] CsoundAC Ubuntu 10.10 installation |
I'm not building from source, I'm using Synaptic to install the Ubuntu 10.10 packages. All of the other csound packages (including the python package) work fine, but it seems that the CsoundAC package is actually empty. Does anyone know where its supposed to be installing CsoundAC.py and _CsoundAC.so? Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-02-25 11:40 |
From | Michael Gogins |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
They might go into python site-packages. On Feb 24, 2011 10:11 PM, "Brian Redfern" <brianwredfern@gmail.com> wrote:
> I'm not building from source, I'm using Synaptic to install the Ubuntu > 10.10 packages. All of the other csound packages (including the python > package) work fine, but it seems that the CsoundAC package is actually > empty. > > Does anyone know where its supposed to be installing CsoundAC.py and > _CsoundAC.so? > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > |
Date | 2011-02-25 14:33 |
From | Felipe Sateler |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
Brian, do you have python-csoundac installed? If so, what is the output of dpkg -L python-csoundac On Fri, Feb 25, 2011 at 11:40, Michael Gogins |
Date | 2011-02-25 19:14 |
From | Brian Redfern |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
I have it installed, I need to check this out when I get home and see what dpkg is doing. I've seen this same ongoing issue with ubuntu for a while. Vanilla debian csoundac works fine from synaptic, but the Ubuntu version needs some kind of post install configuration. Once I figure it out I want to create a how to for in on my blog for other Ubuntu csound users. On Fri, Feb 25, 2011 at 6:33 AM, Felipe Sateler |
Date | 2011-02-25 19:34 |
From | Felipe Sateler |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
Please file bugs so the package can get fixed. It seems ubuntu is doing something funky with the csound package... On Fri, Feb 25, 2011 at 19:14, Brian Redfern |
Date | 2011-02-26 03:23 |
From | Brian Redfern |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
Ok I ran dpkg and get this result (I'm thinking I just need to modify my python path and everything should then work, maybe debian is just properly modifying the python path when it installs the package): bredfern@bredfern-900:~$ dpkg -L python-csoundac /. /usr /usr/share /usr/share/doc /usr/share/doc/python-csoundac /usr/share/doc/python-csoundac/buildinfo.gz /usr/share/doc/python-csoundac/readme-csound5.txt /usr/share/doc/python-csoundac/AUTHORS /usr/share/doc/python-csoundac/copyright /usr/share/doc/python-csoundac/examples /usr/share/doc/python-csoundac/examples/Lindenmayer.py /usr/share/doc/python-csoundac/examples/StrangeAtrractor.py /usr/share/doc/python-csoundac/examples/GeneralMidi.py /usr/share/doc/python-csoundac/examples/Orbifold.py.gz /usr/share/doc/python-csoundac/examples/CsoundAC.csd.gz /usr/share/doc/python-csoundac/changelog.Debian.gz /usr/share/pyshared /usr/share/pyshared/CsoundAC.py /usr/share/pyshared-data /usr/share/pyshared-data/python-csoundac /usr/lib /usr/lib/python2.6 /usr/lib/python2.6/dist-packages /usr/lib/python2.6/dist-packages/_CsoundAC.so On Fri, Feb 25, 2011 at 6:33 AM, Felipe Sateler |
Date | 2011-02-26 09:04 |
From | Michael Gogins |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
There is another package needed, not sure of the name but it is the python interface to csound and includes csnd.py and corresponding shared library. On Feb 25, 2011 10:24 PM, "Brian Redfern" <brianwredfern@gmail.com> wrote:
> Ok I ran dpkg and get this result (I'm thinking I just need to modify > my python path and everything should then work, maybe debian is just > properly modifying the python path when it installs the package): > bredfern@bredfern-900:~$ dpkg -L python-csoundac > /. > /usr > /usr/share > /usr/share/doc > /usr/share/doc/python-csoundac > /usr/share/doc/python-csoundac/buildinfo.gz > /usr/share/doc/python-csoundac/readme-csound5.txt > /usr/share/doc/python-csoundac/AUTHORS > /usr/share/doc/python-csoundac/copyright > /usr/share/doc/python-csoundac/examples > /usr/share/doc/python-csoundac/examples/Lindenmayer.py > /usr/share/doc/python-csoundac/examples/StrangeAtrractor.py > /usr/share/doc/python-csoundac/examples/GeneralMidi.py > /usr/share/doc/python-csoundac/examples/Orbifold.py.gz > /usr/share/doc/python-csoundac/examples/CsoundAC.csd.gz > /usr/share/doc/python-csoundac/changelog.Debian.gz > /usr/share/pyshared > /usr/share/pyshared/CsoundAC.py > /usr/share/pyshared-data > /usr/share/pyshared-data/python-csoundac > /usr/lib > /usr/lib/python2.6 > /usr/lib/python2.6/dist-packages > /usr/lib/python2.6/dist-packages/_CsoundAC.so > > > On Fri, Feb 25, 2011 at 6:33 AM, Felipe Sateler <fsateler@gmail.com> wrote: >> Brian, do you have python-csoundac installed? If so, what is the output of >> >> dpkg -L python-csoundac >> >> >> On Fri, Feb 25, 2011 at 11:40, Michael Gogins <michael.gogins@gmail.com> wrote: >>> They might go into python site-packages. >>> >>> On Feb 24, 2011 10:11 PM, "Brian Redfern" <brianwredfern@gmail.com> wrote: >>>> I'm not building from source, I'm using Synaptic to install the Ubuntu >>>> 10.10 packages. All of the other csound packages (including the python >>>> package) work fine, but it seems that the CsoundAC package is actually >>>> empty. >>>> >>>> Does anyone know where its supposed to be installing CsoundAC.py and >>>> _CsoundAC.so? >>>> >>>> >>>> Send bugs reports to the Sourceforge bug tracker >>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >>>> Discussions of bugs and features can be posted here >>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe >>>> csound" >>>> >>> >> >> >> >> -- >> >> Saludos, >> Felipe Sateler >> >> >> Send bugs reports to the Sourceforge bug tracker >> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >> Discussions of bugs and features can be posted here >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" >> >> > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > |
Date | 2011-02-26 16:24 |
From | Brian Redfern |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
I'm able to run the import csnd command from python, so that part installs correctly, it looks like the CsoundAC packages are all there and I just need to update my python path. My roommate spilled a sugar drink on my netbook, so now I'm stuck with just a phone until I can figure out how to get my machine working again, but once I get it working I'm going to get CsoundAC working and then post the bug fix to the ubuntu bug tracker. On Sat, Feb 26, 2011 at 1:04 AM, Michael Gogins |
Date | 2011-02-26 16:44 |
From | Michael Gogins |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
Ok, thanks for your feedback so far and don't hesitate to ask any questions at any time. Regards, Mike On Sat, Feb 26, 2011 at 11:24 AM, Brian Redfern |
Date | 2011-02-26 19:07 |
From | Brian Redfern |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
I got my machine to work again, this is my python path: export PYTHONPATH=/usr/lib/python2.6/dist-packages:/usr/share/pyshared and this is the error I'm still getting: [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import csnd >>> import CsoundAC Traceback (most recent call last): File " |
Date | 2011-02-26 19:33 |
From | Michael Gogins |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
_ZTIN6csound4NodeE is a symbol in _CsoundAC.so, at least in the version that I have compiled on my own Ubuntu 10.04 -- I do not in fact have a libCsoundAC.so at all. Maybe you can create a symbolic link from _CsoundAC.so to libCsoundAC.so? or link from the one you have to the one you do not have. These are the components of CsoundAC that get built on my Linux computer, and it does work for me: CsoundAC.py _CsoundAC.so libCsoundAC.a If you do have a libCsoundAC.so, then make sure that it is not only in your PYTHONPATH, but also in your ldconfig or LD_LIBRARY_PATH, perhaps it is ldconfig that has not been invoked for the package. Hope this helps, Mike On Sat, Feb 26, 2011 at 2:07 PM, Brian Redfern |
Date | 2011-02-26 19:38 |
From | Michael Gogins |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
Of course I was too hasty... On actually reading your email I see you do seem to have _CsoundAC.so. Run nm on _CsoundAC.so and grep for _ZTIN6csound4NodeE and see if you have it or not. If not, then your .py and your .so don't match, and that is the problem. If you do have it, there is something funny about your PYTHONPATH or ldconfig. Regards, Mike On Sat, Feb 26, 2011 at 2:33 PM, Michael Gogins |
Date | 2011-02-26 21:56 |
From | Felipe Sateler |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
Brian, what is the error you get when you try to do "import CsoundAC"? On Sat, Feb 26, 2011 at 09:04, Michael Gogins |
Date | 2011-02-26 22:03 |
From | Felipe Sateler |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
On Sat, Feb 26, 2011 at 19:07, Brian Redfern |
Date | 2011-02-27 00:09 |
From | Brian Redfern |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
bredfern@felicia-900:~$ ldd /usr/lib/python2.6/dist-packages/_CsoundAC.so linux-gate.so.1 => (0xb77d7000) libcsnd.so.5.2 => /usr/lib/libcsnd.so.5.2 (0xb765a000) libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0xb7408000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb731c000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7300000) libc.so.6 => /lib/libc.so.6 (0xb71a2000) libcsound64.so.5.2 => /usr/lib/libcsound64.so.5.2 (0xb70d7000) libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0xb706f000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7055000) libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0xb700b000) libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0xb6ebc000) libz.so.1 => /lib/libz.so.1 (0xb6ea7000) libdl.so.2 => /lib/libdl.so.2 (0xb6ea3000) libutil.so.1 => /lib/libutil.so.1 (0xb6e9f000) libm.so.6 => /lib/libm.so.6 (0xb6e78000) /lib/ld-linux.so.2 (0xb77d8000) libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb6e2c000) libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb6cb4000) libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb6c8c000) libogg.so.0 => /usr/lib/libogg.so.0 (0xb6c85000) bredfern@felicia-900:~$ On Sat, Feb 26, 2011 at 2:03 PM, Felipe Sateler |
Date | 2011-02-27 21:26 |
From | Felipe Sateler |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
On Sun, Feb 27, 2011 at 00:09, Brian Redfern |
Date | 2011-02-27 22:39 |
From | Brian Redfern |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
I'm using ubuntu 10.10 netbook remix, but it seems to be a standard problem with unbuntu 10.10 of any "flavor," whether its the nbr or regular Ubuntu. On Sun, Feb 27, 2011 at 1:26 PM, Felipe Sateler |
Date | 2011-02-27 23:04 |
From | Felipe Sateler |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
OK. I'm currently trying to resolve this, it appears that the bug was fixed already in debian but the version in ubuntu did not get the fix. On Sun, Feb 27, 2011 at 22:39, Brian Redfern |
Date | 2011-02-27 23:40 |
From | Brian Redfern |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
Thanks for all your help guys. Although I could build from source it helps not to have to spend time doing that when my spare time is limited. On Sun, Feb 27, 2011 at 3:04 PM, Felipe Sateler |
Date | 2011-03-06 20:53 |
From | Felipe Sateler |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
Hi, just letting you know that I'm still looking into this. Looks like a bad interaction between the build system and the toolchain (gcc et al) in Ubuntu. I will keep you informed. On Sun, Feb 27, 2011 at 23:40, Brian Redfern |
Date | 2011-03-06 21:03 |
From | Michael Gogins |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
For various reasons, linkage of CsoundAC components is not consistent. The Python extensions are shared libraries, and the CsoundAC Python extension is a shared library that links to a static CsoundAC library. That is to say, _CsoundAC.so links with libCsoundAC.a. I do not recall exactly why I did it this way, but there were good reasons. Perhaps the tools and libraries have changed since I did this and it would now work with all .so's. Regards, Mike On Sun, Mar 6, 2011 at 3:53 PM, Felipe Sateler |
Date | 2011-03-06 21:41 |
From | Felipe Sateler |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
On Sun, Mar 6, 2011 at 21:03, Michael Gogins |
Date | 2011-03-06 23:08 |
From | Felipe Sateler |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
OK, I found the problem. For some reason, the scons in Ubuntu was inserting a bogus -fvisibility=hidden to some compiler lines, resulting in a useless CsoundAC (almost all symbols were then hidden). Now lets find a way for ubuntu people to fix this... |
Date | 2011-03-06 23:58 |
From | Michael Gogins |
Subject | Re: [Csnd] CsoundAC Ubuntu 10.10 installation |
I really appreciate your following up on this, and your expertise. I have time to create this stuff, and to use it, and to maintain it, but only 2 of the 3 and you can see which 2 I choose... Regards, Mike On Sun, Mar 6, 2011 at 6:08 PM, Felipe Sateler |