Re: [LAU] nama

From: alex stone <compose59@email-addr-hidden>
Date: Mon Oct 25 2010 - 03:22:42 EEST

On Mon, Oct 25, 2010 at 4:13 AM, alex stone <compose59@email-addr-hidden> wrote:
> On Mon, Oct 25, 2010 at 2:06 AM, Joel Roth <joelz@email-addr-hidden> wrote:
>> On Sun, Oct 24, 2010 at 09:51:13PM +0400, alex stone wrote:
>>> On Sun, Oct 24, 2010 at 6:36 PM, alex stone <compose59@email-addr-hidden> wrote:
>>> > On Sun, Oct 24, 2010 at 5:58 PM, Joel Roth <joelz@email-addr-hidden> wrote:
>>> >> On Sun, Oct 24, 2010 at 04:52:38PM +0400, alex stone wrote:
>>> >>> I get the following error when attempting to start nama:
>>> >>>
>>> >>> illegal return value, stopped at
>>> >>> /usr/lib64/perl5/site_perl/5.12.2/Audio/Nama.pm line 1421.
>>> >>>
>>> >>> The app then stops.
>>> >>
>>> >>> For those using this (and this is my first time), is this a regular
>>> >>> error, or am i deep in the swamp with the alligators circling, so to
>>> >>> speak?
>>> >>
>>> >> Hi Alex,
>>> >>
>>> >> That (admittedly cryptic) message means that
>>> >> Nama sent a command to Ecasound using the Ecasound's Net-ECI
>>> >> interface, and got a return value other than 256.
>>> >>
>>> >> I don't know much about it, except that it has happened
>>> >> before. The alligators usually swim off. :-)
>>> >>
>>> >> To help me understand your environment can I ask:
>>> >>
>>> >> - what OS version are you using?
>>> >> - how did you install Nama?
>>> >> - how did you install Ecasound?
>>> >>
>>> >> Here are some things to try:
>>> >>
>>> >> 1) Start Nama with the -D (debugging info) flag.
>>> >> You'll see what was sent and what came back before Nama
>>> >> decided to fall on its sword.
>>> >>
>>> >> 2) Start Ecasound in server mode in a separate terminal with debugging
>>> >> turned on:
>>> >>
>>> >>    ecasound -K -ddd --server
>>> >>
>>> >>
>>> >> Then start Nama again.  This will enable you to observe what
>>> >> happens in Ecasound.
>>> >>
>>> >> 3) Install Audio::Ecasound to provide an alternative
>>> >> interface to Net-ECI.
>>> >>
>>> >>    cpan Audio::Ecasound
>>> >>
>>> >>    -OR-
>>> >>
>>> >>    apt-get install libaudio-ecasound-perl
>>> >>
>>> >>    (The package is available for Debian 'sid' but will install
>>> >>    on any Debian distribution.)
>>> >>
>>> >> Note that Nama will always use Audio::Ecasound if available.
>>> >> You will need to use the -n flag if you want to force it to
>>> >> use Net-ECI.
>>> >>
>>> >> Hope this helps.
>>> >>
>>> >> Joel
>>> >>
>>> >>> Alex.
>>> >
>>> > Joel, i'm well and truly lost here, (first time using perl,Cpan, etc)
>>> > but here's the info:
>>> >
>>> > Ecasound 2.6.0 installed from an ebuild in Gentoo. (64bit)
>>
>>> > I tried nama from cpan, removed it (with the intent of trying again),
>>> > then after the 2nd try it told me nama was up to date. Good to know,
>>> > but how do i then install it from there? first time (obviously) it
>>> > installed the app automatically. 2nd time, well, the alligators are
>>> > laughing their heads off at my ineptitude.....
>>> > I assume from this, there's a nama module on my system somewhere that
>>> > i have to somehow bring to life.
>>
>> Yes, in /usr/lib64/perl5/site_perl/5.12.2/Audio/Nama.pm
>> according to your error message above.
>>
>> (And also the stuff in /usr/lib64/perl5/site_perl/5.12.2/Audio/Nama/)
>>
>>> > Alex.
>>> >
>>> > p.s. On the nama site it says i can install cpan
>>> > audio::ecasound::multitrack (presumably a clever way to install nama),
>>> > but when i try, it tells me the module is not in the repo. Have i
>>> > misunderstood this? And is the version up to date?
>>
>> A::E::M is an old name for the module...
>>
>> Your version is up-to-date (at least relative to CPAN).
>>
>> Does Nama crash repeatedly? If so, I'm happy to have an
>> opportunity to understand this problem better.
>>
>> I suggest you try:
>>
>> $ nama -D
>>
>> This will show a lot of debug information. The last
>> thing you see spit out to the terminal before Nama crashes
>> may be useful :-)
>>
>> Please let me know what happens!
>>
>>
>> Next, as a workaround, try installing Audio::Ecasound, the same way
>> you installed Nama.
>>
>> $ cpan Audio::Ecasound
>>
>>> Joel, i've got the docs open, so i'll learn a bit about basic cpan
>>> commands, and see what happens from there.
>>
>> You shouldn't need to know much to use the cpan client, but
>> of course, more knowledge helps -- sometimes just to
>> make bigger, better mistakes. :-) :-)
>>
>> Joel
>>
>> --
>> Joel Roth
>>
>
> I'd appreciate the help! Nama won't start unless i cd to the dir it's
> in, and i can only start it with
>
> perl Nama.pm
>
> It then attempts to start, but crashes before i get anywhere near a
> gui. Here's the error:
>
> alex@email-addr-hidden /usr/lib/perl5/site_perl/5.12.2/Audio $ perl Nama.pm
> Can't locate Params/Util.pm in @INC (@INC contains:
> /usr/lib64/perl5/site_perl/5.12.2/x86_64-linux-thread-multi
> /usr/lib64/perl5/site_perl/5.12.2
> /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi
> /usr/lib64/perl5/vendor_perl/5.12.2
> /usr/lib64/perl5/5.12.2/x86_64-linux-thread-multi
> /usr/lib64/perl5/5.12.2 /usr/lib64/perl5/site_perl
> /usr/lib64/perl5/vendor_perl .) at
> /usr/lib64/perl5/site_perl/5.12.2/Data/OptList.pm line 7.
> BEGIN failed--compilation aborted at
> /usr/lib64/perl5/site_perl/5.12.2/Data/OptList.pm line 7.
> Compilation failed in require at
> /usr/lib64/perl5/site_perl/5.12.2/Sub/Exporter.pm line 7.
> BEGIN failed--compilation aborted at
> /usr/lib64/perl5/site_perl/5.12.2/Sub/Exporter.pm line 7.
> Compilation failed in require at
> /usr/lib64/perl5/site_perl/5.12.2/Data/Section.pm line 13.
> BEGIN failed--compilation aborted at
> /usr/lib64/perl5/site_perl/5.12.2/Data/Section.pm line 13.
> Compilation failed in require at Nama.pm line 49.
> BEGIN failed--compilation aborted at Nama.pm line 49.
> alex@email-addr-hidden /usr/lib/perl5/site_perl/5.12.2/Audio $
>
> Params::Util is installed as a module.
>
> I can't help thinking i'm missing something basic here.
>
> Audio::Ecasound is already installed, but i suspect there's a rogue
> install i did from an Ebuild (server shows net-aci or whatever it is),
> so i'm off to excise the last of that, and see what happens.
>
>
> Alex.
>
> --
> www.openoctave.org
>
> midi-subscribe@email-addr-hidden
> development-subscribe@email-addr-hidden
>

Joel, some more info:

parchmentstudios alex # cpan

cpan shell -- CPAN exploration and modules installation (v1.9456)
Enter 'h' for help.

cpan[1]> install Audio::Ecasound
Going to read '/root/.cpan/Metadata'
  Database was generated on Sat, 23 Oct 2010 23:31:27 GMT
Audio::Ecasound is up to date (1.01).

cpan[2]> make Audio::Ecasound
Running make for module 'Audio::Ecasound'
Running make for B/BO/BOWMANBS/Audio-Ecasound-1.01.tar.gz
Checksum for /root/.cpan/sources/authors/id/B/BO/BOWMANBS/Audio-Ecasound-1.01.tar.gz
ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE

  CPAN.pm: Going to build B/BO/BOWMANBS/Audio-Ecasound-1.01.tar.gz

Checking if your kit is complete...
Looks good
Running ecasoundc-config failed: No such file or directory
The ecasoundc-config program is used to find the version of the
ecasoundc library. You need 2.4.5 or higher.

Proceed anyway? [y]

I can't find a module for ecasoundc-config, so can i assume it's
supposed to be in the Ecasound module by default?

Alex.

-- 
www.openoctave.org
midi-subscribe@email-addr-hidden
development-subscribe@email-addr-hidden
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Oct 25 04:15:03 2010

This archive was generated by hypermail 2.1.8 : Mon Oct 25 2010 - 04:15:03 EEST