man, 05 09 2011 kl. 10:30 +0200, skrev Fredrik Lingvall:
> On 09/02/11 21:09, Miguel Bazdresch wrote:
> > On Fri, Sep 2, 2011 at 5:17 AM, Fredrik Lingvall 
> >> I sent the reply by misstake to the alsa-devel list, instead of the
> >> oct-dev list, so I'm resending it to OctDev.
> >>
> >> And Miguel,
> >>
> >> Check that you have the ALSA dev package(s) installed (I'm using Gentoo
> >> so I don't know what they are called on Arch Linux).
> >>
> >> /Fredrik
> > The installation works flawlessly if I install it as root. When
> > installing as a normal user, I get:
> >
> > octave:2> pkg install aaudio-0.2.1.tar.gz
> > warning: load_path:
> > /home/miguel/octave/aaudio-0.2.1/i686-pc-linux-gnu-api-v45+: No such
> > file or directory
> > /home/miguel/octave/aaudio-0.2.1/i686-pc-linux-gnu-api-v45+/aplayrec.oct:
> > failed to load:
> > /home/miguel/octave/aaudio-0.2.1/i686-pc-linux-gnu-api-v45+/aplayrec.oct:
> > undefined symbol: snd_pcm_sw_params_set_start_threshold
> > error: called from `gen_doc_cache>create_cache' in file
> > /usr/share/octave/3.4.2/m/help/gen_doc_cache.m near line 93, column 17
> > error: called from:
> > error:   /usr/share/octave/3.4.2/m/pkg/pkg.m at line 832, column 5
> > error:   /usr/share/octave/3.4.2/m/pkg/pkg.m at line 361, column 9
> > octave:2>
> >
> > It looks like it's trying to install to a global directory even though
> > I'm installing as a restricted user.
> >
>  I don't know why pkg does this. There is nothing in the src/Makefile
> that installs anything. Perhaps someone on the octave-dev list knows this?

This appears to happen during the caching of help texts. Basically, what
happens is that 'pkg' extracts the help text of all functions, which is
done by loading the function into memory. This appears to fail in this
case with the error:

  undefined symbol: snd_pcm_sw_params_set_start_threshold

So what you are seeing is that the function 'aplayrec' cannot be loaded
due to some linking issue. My guess is that you do not have the right
dependencies for the package installed or that your linking paths are
not correctly setup.

Søren


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to