FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My alsa is not working.
whenever i type command alsaconf as root i m getting the message that command not found..
I am unable to install it using yum .
so somebody plz help me..
I'm fairly certain that alsaconf is a slackware specific command. since you've posted in the fedora forum, I'm assuming you're using fedora, which is why you're getting the error message "command not found".
What are you trying to achieve? There's presumably another way of doing it in fedora.
edit: i might be wrong about alsaconf...
edit 2: might be worth trying checking if you have alsa installed on your machine, since alsaconf is a part of that. if it's not, install in (via yum if you wish) and then you should have alsaconf as root.
sorry , i forgotten to mention my distro . I am using FC 5
Alsa is not installed . I have tried to get it using yum but it has not been able to find it newhr. So, plz give me some repo so tht i can add tht to my yumrepos.d.
I have alsamixer but not alsaconf.
Help me out.
Thanx
alsaconf is not a slackware specific command. It is in a package called alsa-tools. I use FC5 as well and being this is the fedora forum you are in the right place. I'm not sure if that package is in livna, it may be. But just go to the alsa website and download the alsa-tools package and it will install a few cool things on your computer including alsaconf.
I've just had a look at files included in alsa-tools-1.0.10-2.fc5.i386.rpm and surprisingly alsaconf is not included ! So, you should try to get it from alsa-project.org site and compile it yourself. Another work around would be, download an RPM that contains alsaconf, convert it to cpio using "rpm2cpio" and then extract the contents using command "cpio". Once done, simply copy it over to /usr/sbin.
Or, you might wanna search for a version/RPM that includes alsaconf.
Ya I ididn't think I had found any rpms which is why i suggested compiling it yourself. If I remember correctly just run the ./configure && make && make install and it should add the binary file to the bin or sbin directory so you should be could after your install. And actually I just took a look for you and it isn't in alsa-tools its in alsa-utils.
Sorry frnd the above method didn't worked.
I have tried as u told me , I was able to configure it but not able to make install.
Here i am showing the messages tht i got.
./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
[root@localhost newt-0.50.8]# ./install-sh
install: no input file specified
[root@localhost newt-0.50.8]# install
install: missing file operand
Try `install --help' for more information.
[root@localhost newt-0.50.8]# make install
cc -Wall -I/usr/include/slang -g -DVERSION=\"0.50.8\" -c -o newt.o newt.c
newt.c: In function ‘newtInit’:
newt.c:189: warning: statement with no effect
newt.c: In function ‘newtOpenWindow’:
newt.c:396: warning: passing argument 1 of ‘SLsmg_read_raw’ from incompatible po
inter type
newt.c: In function ‘newtPopWindow’:
newt.c:461: warning: passing argument 1 of ‘SLsmg_write_raw’ from incompatible p
ointer type
ar rv libnewt.a newt.o
ar: creating libnewt.a
a - newt.o
cc -Wall -I/usr/include/slang -g -c -o button.o button.c
ar rv libnewt.a button.o
a - button.o
cc -Wall -I/usr/include/slang -g -c -o form.o form.c
ar rv libnewt.a form.o
a - form.o
cc -Wall -I/usr/include/slang -g -c -o checkbox.o checkbox.c
ar rv libnewt.a checkbox.o
a - checkbox.o
cc -Wall -I/usr/include/slang -g -c -o entry.o entry.c
ar rv libnewt.a entry.o
a - entry.o
cc -Wall -I/usr/include/slang -g -c -o label.o label.c
ar rv libnewt.a label.o
a - label.o
cc -Wall -I/usr/include/slang -g -c -o listbox.o listbox.c
ar rv libnewt.a listbox.o
a - listbox.o
cc -Wall -I/usr/include/slang -g -c -o scrollbar.o scrollbar.c
ar rv libnewt.a scrollbar.o
a - scrollbar.o
cc -Wall -I/usr/include/slang -g -c -o textbox.o textbox.c
ar rv libnewt.a textbox.o
a - textbox.o
cc -Wall -I/usr/include/slang -g -c -o scale.o scale.c
ar rv libnewt.a scale.o
a - scale.o
cc -Wall -I/usr/include/slang -g -c -o grid.o grid.c
ar rv libnewt.a grid.o
a - grid.o
cc -Wall -I/usr/include/slang -g -c -o windows.o windows.c
ar rv libnewt.a windows.o
a - windows.o
cc -Wall -I/usr/include/slang -g -c -o buttonbar.o buttonbar.c
ar rv libnewt.a buttonbar.o
a - buttonbar.o
cc -Wall -I/usr/include/slang -g -c -o checkboxtree.o checkboxtree.c
ar rv libnewt.a checkboxtree.o
a - checkboxtree.o
mkdir -p shared
cc -fPIC -Wall -I/usr/include/slang -g -DVERSION=\"0.50.8\" -c -o shared/newt.
o newt.c
newt.c: In function ‘newtInit’:
newt.c:189: warning: statement with no effect
newt.c: In function ‘newtOpenWindow’:
newt.c:396: warning: passing argument 1 of ‘SLsmg_read_raw’ from incompatible po
inter type
newt.c: In function ‘newtPopWindow’:
newt.c:461: warning: passing argument 1 of ‘SLsmg_write_raw’ from incompatible p
ointer type
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/button.o button.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/form.o form.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/checkbox.o checkbox.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/entry.o entry.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/label.o label.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/listbox.o listbox.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/scrollbar.o scrollbar.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/textbox.o textbox.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/scale.o scale.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/grid.o grid.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/windows.o windows.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/buttonbar.o buttonbar.c
cc -fPIC -c -Wall -I/usr/include/slang -g -o shared/checkboxtree.o checkboxtre
e.c
gcc -shared -o libnewt.so.0.50.8 -Wl,-soname,libnewt.so.0.50 shared/newt.o share
d/button.o shared/form.o shared/checkbox.o shared/entry.o shared/label.o shared/
listbox.o shared/scrollbar.o shared/textbox.o shared/scale.o shared/grid.o share
d/windows.o shared/buttonbar.o shared/checkboxtree.o -lslang -lm -lc
cc -Wall -I/usr/include/slang -g -c -o whiptcl.o whiptcl.c
whiptcl.c:7:17: error: tcl.h: No such file or directory
whiptcl.c:19: error: expected ‘)’ before ‘data’
whiptcl.c:21: error: expected ‘)’ before ‘data’
whiptcl.c:23: error: expected ‘)’ before ‘data’
whiptcl.c:26: error: expected ‘)’ before ‘clientData’
whiptcl.c:33: error: expected ‘)’ before ‘clientData’
whiptcl.c:55: error: expected ‘)’ before ‘clientData’
whiptcl.c:247: error: expected ‘)’ before ‘data’
whiptcl.c:259: error: expected ‘)’ before ‘data’
whiptcl.c:274: error: expected ‘)’ before ‘data’
whiptcl.c:290: error: expected ‘)’ before ‘*’ token
make: *** [whiptcl.o] Error 1
rm textbox.o checkbox.o checkboxtree.o windows.o grid.o scrollbar.o entry.o form
.o scale.o label.o button.o listbox.o buttonbar.o
You are not supposed to run install-sh manually. It will be called by make internally.
Normal steps are: "./configure" followed by "make" and then, finally "make install"
The very first thing before you start compiling is RTFM !
Change to the directory where you extracted the files and look for README and INSTALL files. Read them, as these files would let you know what other packages the compilation depends on. Now, you need to install those packages as well. Without that, you will not be able to compile !
I'd suggest, you download another version of alsa RPM or simply get alsaconf binary from some binary RPM and copy it over to /usr/sbin. Make sure that the alsaconf binary you copy over is the same version as your alsa package, atleast close to it.
the command './configure && make && make install' will execute all three steps for you. you can just copy and paste it into your terminal. Also you do have the option of just going into the alsaconf directory and just installing the alsaconf program itself.
on another note - if you go to the website and click on alsa-utils on the top right side you can view all the releases and download the one for the alsa version that you currently have. that might save you some headache.
you could try just to get the binary for alsaconf as suggested above but I do believe it has some of its own libraries that you would need. I might be wrong tho. anyway, keep us posted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.