# Portaudio

**URL:** <https://www.ruby-forum.com/t/portaudio/219149>\
**Category:** GNU Radio\
**Created:** [April 22, 2012, 4:05am UTC](https://www.ruby-forum.com/t/portaudio/219149 "2012-04-22T04:05:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [April 22, 2012, 4:05am UTC](https://www.ruby-forum.com/t/portaudio/219149/1 "2012-04-22T04:05:01Z")

</div>

Under what circumstances will the build be dependent on portaudio?

–  
Marcus L.  
Principal Investigator  
Shirleys Bay Radio Astronomy Consortium

> **[Live Draw HK Tercepat | Result HK | HK Pools | Live HK | HK Prize Hari Ini](https://www.sbrac.org/)**
>
> Temukan live draw hk tercepat melalui halaman hk pools yang resmi dan dapatkan result hk prize melalui live hk secara langsung di situs kami.

---

<div class="post-metadata">

**Author:** ![Marcus\_DSLeech](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/74df32/32.png) [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Post date:** [April 22, 2012, 4:37am UTC](https://www.ruby-forum.com/t/portaudio/219149/2 "2012-04-22T04:37:17Z")

</div>

On Sat, Apr 21, 2012 at 19:03, Marcus D. Leech [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Under what circumstances will the build be dependent on portaudio?

If cmake finds portaudio during build, it will compile the portaudio  
source and sink blocks in gr-audio. If not, it won’t. Same for the  
other audio systems.

Not sure if this answers your question.

Johnathan

---

<div class="post-metadata">

**Author:** ![Marcus\_DSLeech](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/74df32/32.png) [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Post date:** [April 22, 2012, 4:52am UTC](https://www.ruby-forum.com/t/portaudio/219149/3 "2012-04-22T04:52:46Z")

</div>

On 04/21/2012 10:36 PM, Johnathan C. wrote:

> If cmake finds portaudio during build, it will compile the portaudio  
> source and sink blocks in gr-audio. If not, it won’t. Same for the  
> other audio systems.
> 
> Not sure if this answers your question.
> 
> Johnathan

Had a user complain that build-gnuradio didn’t do portaudio pre-reqs,  
and so his build failed during portaudio. Which I found confusing.  
So, I wonder if his system had just-enough of portaudio installed to  
confuse the build into thinking portaudio was there, but when it went  
to build it baffed?

–  
Marcus L.  
Principal Investigator  
Shirleys Bay Radio Astronomy Consortium

> **[Live Draw HK Tercepat | Result HK | HK Pools | Live HK | HK Prize Hari Ini](https://www.sbrac.org/)**
>
> Temukan live draw hk tercepat melalui halaman hk pools yang resmi dan dapatkan result hk prize melalui live hk secara langsung di situs kami.

---

<div class="post-metadata">

**Author:** ![Marcus\_DSLeech](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/74df32/32.png) [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Post date:** [October 2, 2012, 11:22pm UTC](https://www.ruby-forum.com/t/portaudio/219149/4 "2012-10-02T23:22:28Z")

</div>

Perhaps they were confused in that the script doesn’t find the install  
package and then fails when trying to build with that support built  
in:

– found jack, version 0.121.2  
– Found jack: /usr/lib/i386-linux-gnu/libjack.so  
– checking for module ‘portaudio’  
– package ‘portaudio’ not found  
– Found PORTAUDIO: /usr/include  
– checking for module ‘comedilib’  
– package ‘comedilib’ not found

^ For me it does this - package portaudio not found… yet then tries  
to build and fails:

> <https://pastebin.com/YsiQ6SkK>

How can I get the bash script to pass an option to cmake and avoid  
using portaudio?

On Sun, Apr 22, 2012 at 3:51 AM, Marcus D. Leech [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Had a user complain that build-gnuradio didn’t do portaudio pre-reqs, and so  
> Marcus L.  
> Principal Investigator  
> Shirleys Bay Radio Astronomy Consortium  
> [http://www.sbrac.org](http://www.sbrac.org)
> 
> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

–  
Sites supported: [http://moneybutnofixedabode.blogspot.com/](http://moneybutnofixedabode.blogspot.com/)  
[http://justfortheloveofit.org/](http://justfortheloveofit.org/)

---

<div class="post-metadata">

**Author:** ![Marcus\_DSLeech](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/74df32/32.png) [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Post date:** [April 22, 2012, 5:09am UTC](https://www.ruby-forum.com/t/portaudio/219149/5 "2012-04-22T05:09:36Z")

</div>

On Sat, Apr 21, 2012 at 19:51, Marcus D. Leech [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Had a user complain that build-gnuradio didn’t do portaudio pre-reqs, and so  
> his build failed during portaudio. Which I found confusing.  
> So, I wonder if his system had just-enough of portaudio installed to  
> confuse the build into thinking portaudio was there, but when it went  
> to build it baffed?

Could be. We’d need the output of the cmake run and then of ‘make  
VERBOSE=1’ at the error point.

Johnathan
