LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   weird alsaconf problem (https://www.linuxquestions.org/questions/linux-software-2/weird-alsaconf-problem-426943/)

D_O_Y_L_E 03-21-2006 10:22 AM

weird alsaconf problem
 
Im trying to get my sound to work and when i try to run "alsaconf" i get this:

root@darkstar:~# alsaconf
which: no awk in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin)
Error, awk not found. Can't continue.
root@darkstar:~#

any suggestions

camorri 03-21-2006 10:36 AM

awk is a binary that the system is looking for. On my system it is located in /bin. Do a locate awk and see if you have it installed in some path your system does not look in. If you can not find it, you will have to install it.

Please post the distro and release, that will help us help you.

D_O_Y_L_E 03-21-2006 10:55 AM

oh sorry
it is slackware 10.2
oh also now my locate command isn't working

i get

root@darkstar:~# locate awk
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
root@darkstar:~#

??????????

camorri 03-22-2006 10:38 AM

The slocate DB is not there until you create it. As root run the following command :

slocate -u

That should create the db in the "/" . Once the db is there, you will find it needs to be updated, I think the default is 8 days.
Don't worry about that, all you need to do is run the above command before you use it, if the 8 days has gone by.

After you have the db, do a locate awk and see if you have the file, and post back.

D_O_Y_L_E 03-23-2006 09:23 AM

everythings alirght now i reinstalled slackware and awk was installed..
i must of not installed the first time by accident..
alsa config works great and thanks for the tip on creating the data base for locate
adam


All times are GMT -5. The time now is 03:05 PM.