LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   audacious, mcs from -current (https://www.linuxquestions.org/questions/slackware-14/audacious-mcs-from-current-548345/)

bioe007 04-23-2007 01:17 PM

audacious, mcs from -current
 
hi all,

I am running slack-11, 2.6.19.1 #2 in my sig.

With the death of xmms imminent decided to install audacious & mcs from -current.

my problem:

Code:

perry@phargrave:/usr/local/src$ audacious&
[1] 27395
perry@phargrave:/usr/local/src$ Failed to load plugin (/usr/lib/audacious/General/libscrobbler.so): libcurl.so.4: cannot open shared object file: No such file or directory
Failed to load plugin (/usr/lib/audacious/General/libcurl.so): libcurl.so.4: cannot open shared object file: No such file or directory
I/O warning : failed to load external entity "/home/perry/.config/audacious/playlist.xspf"

** (audacious:27395): WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM

I'm not too worried about the lack of playlist, but the libcurl.so.4 seems to be a -current vs. -11 issue.

1) is there great risk by upgrading libcurl to -current also?

2) anyone know that the alsa problem is about? admittedly i really never listen to music on this lappy...

3) would it be easier to just compile audacious for myself? (only problem is no libmcs in slack-11) where can find libmcs? google turned up some chemistry thing.. and the link in audacious readme was 404

in case this is relevant..
Code:

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
        Subsystem: Dell Unknown device 01cc
        Flags: bus master, fast devsel, latency 0, IRQ 21
        Memory at dfebc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>

many thanks!

raska 04-23-2007 01:27 PM

Did you install the audacious-plugins package? It is required for audacious to work. Basically you only need this from the Slackware-current tree:
Code:

~$ ls -l /var/log/packages/ | grep -i audacious
-rw-r--r-- 1 root root  10236 2007-04-13 10:31 audacious-1.3.2-i486-1
-rw-r--r-- 1 root root    6721 2007-04-13 10:31 audacious-plugins-1.3.2-i486-1
~$ ls -l /var/log/packages/ | grep -i mcs
-rw-r--r-- 1 root root    1169 2007-04-13 10:31 mcs-0.4.1-i486-1

Also looking at your problem, it seems like you don't have any modules loaded on your kernel for your audio device:
Quote:

Originally Posted by bioe007
** (audacious:27395): WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM

Try the alsamixer command, does it work?

Alien Bob 04-23-2007 01:35 PM

Generally speaking, it is a bad idea to selectively upgrade packages by picking them from slackware-current and install them into an earlier release. You may break your whole system if you pick the wrong package.

In your case, it is simply a matter of the audacious binary failing to find libraries that Slackware-current has, nothing worse.
If you don't care about the rest of Slackware-current it may be better for you to create your own packages for audacious, audacious-plugins and mcs by downloading their source directories:
Code:

http://slackware.mirrors.tds.net/pub/slackware/slackware-current/source/l/mcs/
http://slackware.mirrors.tds.net/pub/slackware/slackware-current/source/xap/audacious/
http://slackware.mirrors.tds.net/pub/slackware/slackware-current/source/xap/audacious-plugins/

Compile and install your packages in the above order by first running the <packagename>.SlackBuild scripts in their respective directories and running "installpkg /tmp/<packagename>*.tgz" after the build completes.
You'll end up with an audacious installation that is built for your specific version of Slackware.
Don't forget to remove these packages from slackware-current before you start compiling stuff!

Eric

bioe007 04-23-2007 03:43 PM

thanks for the replies-

Quote:

Originally Posted by raska
Try the alsamixer command, does it work?

yes..

Quote:

Originally Posted by Alien Bob
...it is a bad idea to selectively upgrade packages...it may be better for you to create your own packages for audacious, audacious-plugins and mcs by downloading their source directories

thanks! exactly the kind of advice I was looking for. will do!

bioe007 04-24-2007 12:48 AM

once again, thanks for the help. audacious is now up and running, still working on getting it to work with my media keys and xfce (reading...)

i still have this error tho'

Code:

** (audacious:10778): WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM
??? i'm clueless 'cause otherwise sound seems fine?

i get no alsa errors on boot (like I hadn't run alsaconf or alsamixer)

any ideas? do I need new alsa modules?

thanks!

General Failure 04-24-2007 05:32 AM

I have a mcs package (compiled on 11.0) here.

bioe007 04-24-2007 11:33 AM

thanks GeneralFailure, but I've already got mcs built and installed:
Code:

root@phargrave:/usr/local/src/linux-2.6.19.1# ls /var/log/packages/mcs-0.4.1-i486-1
/var/log/packages/mcs-0.4.1-i486-1

from slackware-current sources and associated slackbuilds. now I'm thinking there is some problem with 1) my kernel 2) my alsa driver?

I hadn't noticed this error before, but now I'm paying more attention :D
Code:

root@phargrave:/usr/local/src/linux-2.6.19.1# alsactl restore
alsactl: set_control:873: failed to obtain info for control #7 (No such file or directory)
root@phargrave:/usr/local/src/linux-2.6.19.1#

also see that near the end of bootup when init is running alsactl restore..

???

samwwwblack 04-24-2007 02:51 PM

Audacious assumes every card has PCM for it's software volume control; if you run alsamixer and there is no PCM slider, then you don't need to worry about it.
I've had these "error" messages all the while I've been using audacious (since 0.2 I think) with a Creative Labs SB Audigy LS soundcard.

bioe007 04-24-2007 04:52 PM

aaahhh..

Code:

perry@phargrave:/usr/local/src/conky-1.4.5$ amixer controls
numid=2,iface=MIXER,name='Master Playback Switch'
numid=1,iface=MIXER,name='Master Playback Volume'
[/b]numid=7,iface=MIXER,name='PCM Playback Volume'[/b]
numid=6,iface=MIXER,name='Capture Mux Volume'
numid=5,iface=MIXER,name='Capture Switch'
numid=4,iface=MIXER,name='Capture Volume'
numid=3,iface=MIXER,name='Input Source'
perry@phargrave:/usr/local/src/conky-1.4.5$

am i misunderstanding this output? (this is now a learning exercise as the audacious seems to be working fine)

I have a new question that is related to this, in my .conkyrc:

Code:

# set to yes if you want Conky to be forked in the background
background yes

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont Bitstream Courier 10 pitch:size=9

# Text alpha when using Xft
xftalpha 0.8

# Print everything to stdout?
out_to_console yes

# Update interval in seconds
update_interval 1.0

# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 280 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline yes

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders no

# Default colors and also border colors
default_color green
default_shade_color black
default_outline_color black

# Text alignment, other possible values are commented
alignment top_left

# same thing as passing -x at command line
gap_x 340
gap_y 0

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# set to 1 to disable averaging
cpu_avg_samples 2

# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer yes

TEXT
${color white}CPU:${offset 6}${color green}${cpu 1}/${offset 8}${cpu 2}%${offset 16}${color white}temp:${offset 6}${color green}${acpitemp}${color white}${offset 16}MEM/SWP:${offset 6}${color green}$memperc/$swapperc%${offset 12}${color white}FAN:${color green}${offset 6}${i8k_right_fan_rpm}${offset 12}${color white}BAT:${color green}$battery , $battery_time ${color white}DOWN: ${color green}${offset 6}${downspeed eth0}
${if_running audacious}${color white}Audacious:${color green} ${audacious_title 20} ${color RoyalBlue}${audacious_bar 8,45}${endif}

if get this error: sh: pidof: command not found

?? even though i find the ps -a shows audacious ??

aha, nevermind... pidof _is_ the command conky is using.. it is in my /sbin and conky was looking in /usr/local/bin..

samwwwblack 04-25-2007 11:33 AM

It appears you've PCM, which audacious isn't detecting. :rolleyes: As audacious is working fine, theres no need to worry :)

bioe007 04-25-2007 02:40 PM

can / should I do anything to get rid of this error?

samwwwblack 05-01-2007 04:58 AM

Short of bug hunting in the audacious source, don't worry about it :)


All times are GMT -5. The time now is 06:51 AM.