Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Portaudio won't install via cpan

by Stoney2005 (Acolyte)
on May 25, 2011 at 17:28 UTC ( #906681=perlquestion: print w/ replies, xml ) Need Help??
Stoney2005 has asked for the wisdom of the Perl Monks concerning the following question:

Oh wonderful and all knowing Monks... I seek your help in my unfortunate despair. Portaudio wont install from cpan. $ sudo cpan Audio::PortAudio
chmod 755 blib/arch/auto/Audio/PortAudio/ cp blib/arch/auto/Audio/PortAudio/ chmod 644 blib/arch/auto/Audio/PortAudio/ Manifying blib/man3/Audio::PortAudio.3pm JDIEPEN/Audio-PortAudio-0.03.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basic.t .. 1/3 No device found at t/01basic.t line 14. # Looks like your test exited with 255 just after 3. t/01basic.t .. Dubious, test returned 255 (wstat 65280, 0xff00) All 3 subtests passed
I've got the portaudio libs installed. I use pulseaudio which might be causing issues. but I'm looking for how to resolve this issue so it will install or a module for me to capture audio input that is avaliable on windows and linux. the broken part from t/01basic.t is my $device  = $api->default_output_device;

Comment on Portaudio won't install via cpan
Select or Download Code
Replies are listed 'Best First'.
Re: Portaudio won't install via cpan
by Khen1950fx (Canon) on May 25, 2011 at 21:23 UTC
    I had the same problem until I did
    export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
      Thanks. I tried that but no such luck. :( did that as both normal user and root. followed each of those by trying to install the module. UPDATE: I went ahead and forced it to install. Portaudio says i dont have any host_apis. yay. lol. now to figure out why.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://906681]
Approved by planetscape
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2016-05-27 13:20 GMT
Find Nodes?
    Voting Booth?