Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Portaudio won't install via cpan

by Stoney2005 (Acolyte)
on May 25, 2011 at 17:28 UTC ( [id://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/PortAudio.so cp PortAudio.bs blib/arch/auto/Audio/PortAudio/PortAudio.bs chmod 644 blib/arch/auto/Audio/PortAudio/PortAudio.bs 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;

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-19 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found