Results 1 to 3 of 3

Thread: How to "install" libportaudio.sa

  1. #1
    Join Date
    Jan 2017
    Beans
    3

    How to "install" libportaudio.sa

    Hi fellow Ubuntu devs,

    I have a bit of a newb question --
    I have a Python module called "pyaudio" which is meant to wrap "portaudio".
    Now, "apt-get install portaudio" is not sufficient for me, I had to build portaudio in order to have ALSA support.

    So I did configure && make. Now what?
    Documentation doesn't tell me how to "install" it at the operating system level. How do I replace the installed 'portaudio19-dev' package with my newly compiled binaries?

    cheers,
    Jordan

    A little more background.
    PyAudio is dependent on PortAudio:

    Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
    [GCC 7.3.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import pyaudio
    >>> pyaudio
    <module 'pyaudio' from '/home/jorxster/anaconda3/envs/tf-gpu/lib/python3.6/site-packages/pyaudio.py'>


    which uses a cpython so of portaudio:
    >>> import _portaudio
    >>> _portaudio
    <module '_portaudio' from '/home/jorxster/anaconda3/envs/tf-gpu/lib/python3.6/site-packages/_portaudio.cpython-36m-x86_64-linux-gnu.so'>

    This _portaudio cpython file has nothing to do with the portaudio I have compiled separately with ALSA support. But how do I get my compiled binaries to replace my system portaudio?
    Last edited by jorxster; February 15th, 2019 at 09:59 AM.

  2. #2
    Join Date
    Sep 2006
    Beans
    1,491
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: How to "install" libportaudio.sa

    Hello,

    if the previous commands you issued were successful and gave no errors, then
    sudo make install
    should work.

    Regards!

  3. #3
    Join Date
    Jan 2017
    Beans
    3

    Re: How to "install" libportaudio.sa

    Thank you so much Claus7, can't believe it was that simple!

    configure,
    make,
    make install

    success!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •