LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2004, 01:08 PM   #1
LitlJay
Newbie
 
Registered: Apr 2004
Posts: 28

Rep: Reputation: 15
Angry Can't install alsa, Xine, or kaffeine. WTF is going on?


Get ready folks. I'm incapable of a short post, and this one's a doozie.

I have a garden variety install of Fedora Core 1. I have installed a slew of updates using RedHat's up2date tool, including kernel 2.4.22.

I want to use Xine with the kaffeine front end. I already gave up on getting my Hercules Gamsurround Fortissimo III 7.1 to work. It's design is modified from the reference design provided by Crystal. Windows can't use a reference driver, and I assumed my problems in Linux were for the same reason (I know, alsa supports the Fortissimo II and it has the same chipset, but that doesn't change the fact that I can't get it to work). I have yanked my prized Hercules card and given up my optical output and the Dolby Labs' stamp of approval in favor of my mobo's Via 8235 southbridge, all in the name of migrating to linux.

When I decompressed xine-lib-1-rc4a.tar.gz into its own little directory and typed "./configure" it ran through the script and reported this partway through:

Code:
checking for ALSA version >= 0.9.0rc4... no
*** Could not run ALSA test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means ALSA was incorrectly installed.
*** All of ALSA dependent parts will be disabled ***
checking for esd-config... no
checking for ESD - version >= 0.2.8... no
*** The esd-config script installed by ESD could not be found
*** If ESD was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the ESD_CONFIG environment variable to the
*** full path to esd-config.
before finishing and reporting:

Code:
****************************************************************
xine-lib will be installed to /usr/local/lib

This path is not mentioned among the linker search paths in your
/etc/ld.so.conf. This means it is possible that xine-lib will
not be found when you try to compile or run a program using it.
If this happens, you should add /usr/local/lib to
the environment variable LD_LIBRARY_PATH like that:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

Alternatively you can add a line "/usr/local/lib"
to your /etc/ld.so.conf.
****************************************************************
Typing "modinfo soundcore" reports...

Code:
filename:    /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/sound/soundcore.o
description: "Core sound module"
author:      "Alan Cox"
license:     "GPL"
...so I downloaded and decompressed alsa-driver-1.0.5rc1.tar.bz2 and ran
"./configure --with-cards=via82xx --with-sequencer=yes;make;make install" and hit several "bumps":

Code:
checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC) 3.3.2 200
31022 (Red Hat Linux 3.3.2-1)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel
.
I don't know what compiler I should be looking for. up2date did it for me. Then further along:

Code:
ln: creating symbolic link `include/linux/pnp.h' to `../../support/pnp/pnp.h': O
peration not permitted
That can't be right. Then:

Code:
chmod: changing permissions of `./snddevices' (requested: 0755, actual: 0777): Operation not permitted
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
ln: creating symbolic link `include/sound' to `../alsa-kernel/include': Operation not permitted
I've seen something similar before when I couldn't change the permissions on my fat32 partitions, but that has since been corrected. It goes without saying that "make" and "make install" both fail after that, and I figure the error messages don't matter until I get the "./configure" to run right.

So basically I can't install kaffeine because I can't install Xine because I can't install alsa, and all the while this is with the sound card that I didn't want to use in the first place. Can you sense my frustration?

HELP!

J

Last edited by LitlJay; 06-01-2004 at 01:11 PM.
 
Old 06-01-2004, 01:26 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
just checking: did you run these commands as root? if you didn't, that at least explains the permissions problems..
 
Old 06-01-2004, 01:29 PM   #3
ahh
Member
 
Registered: May 2004
Location: UK
Distribution: Gentoo
Posts: 293

Rep: Reputation: 31
You should run make install as root.
 
Old 06-01-2004, 01:30 PM   #4
BorisMcHack
Member
 
Registered: May 2004
Location: uk
Distribution: debian sarge
Posts: 65

Rep: Reputation: 15
Yep, I can sense your frustration. And don't get your hopes up with my reply . I'll take a guess about the predefined kernel error messages. Have you got the kernel source and compiled/built your own kernel? - with the updated gcc? if not then try building that and for the sound config only set the main sound option - don't build any modules - leave that for alsa.

when it comes to compiling alsa you can either tell it where the kernel source is, if it is not in /usr/src/linux, or create a symlink to it.

just a stab in the dark!
 
Old 06-01-2004, 01:42 PM   #5
LitlJay
Newbie
 
Registered: Apr 2004
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
just checking: did you run these commands as root? if you didn't, that at least explains the permissions problems..
Quote:
You should run make install as root.
Yes, I have been working as root. I wish it were that simple.

Last edited by LitlJay; 06-01-2004 at 01:44 PM.
 
Old 06-01-2004, 05:02 PM   #6
LitlJay
Newbie
 
Registered: Apr 2004
Posts: 28

Original Poster
Rep: Reputation: 15
*bump*
 
Old 06-01-2004, 10:58 PM   #7
LitlJay
Newbie
 
Registered: Apr 2004
Posts: 28

Original Poster
Rep: Reputation: 15
NO ONE in the US has any ideas? I find this hard to believe. Maybe someone on the other side of the world will have an idea.

Also, I read that alsa is now integrated into the 2.6 kernel, but when I d/l it in rpm format from redhat and install, the system won't boot. kernel 2.6 has some major problems with my Promise card. That's why I'm using Fedora instead of Gentoo.

J
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kaffeine/xine broken ionmich SUSE / openSUSE 1 07-24-2005 05:29 AM
Problem using 5.1 (ALSA) output with Kaffeine/XINE justintime32 Linux - Software 2 06-04-2005 03:29 PM
XviD and Xine/Kaffeine? zenith_zth Linux - Software 1 10-26-2004 07:21 AM
Kaffeine, Xine Upgrade PlantPerson Linux - Newbie 1 07-16-2004 11:56 AM
how to install codecs for xine or kaffeine c0d3-z3r0 Linux - Software 4 06-14-2004 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration