PDA

Visualizza la versione completa : impoossibile installare driver audio su mandriva07


ss121
28-02-2007, 09:56
Ho scaricato i driver alsa-driver-1.0.14rc2 eseguo prima il copmando ./configure

[root@HOMEWORK alsa-driver-1.0.14rc2]# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/max/alsa-driver-1.0.14rc2
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /usr/src/linux/include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
Poi quando eseguo il comando make mi da questa scritta

[root@HOMEWORK alsa-driver-1.0.14rc2]# make
make all-deps
make[1]: Entering directory `/home/max/alsa-driver-1.0.14rc2'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/home/max/alsa-driver-1.0.14rc2'

Please, run the configure script as first...
E quando eseguo make install mi da errore

[root@HOMEWORK alsa-driver-1.0.14rc2]# make install
if [ -L /include/sound ]; then \
rm -f /include/sound; \
ln -sf /home/max/alsa-driver-1.0.14rc2/include/sound /include/sound; \
else \
rm -rf /include/sound; \
install -d -m 755 -g root -o root /include/sound; \
for f in include/sound/*.h; do \
install -m 644 -g root -o root $f /include/sound; \
done \
fi
install: impossibile fare stat di `include/sound/*.h': No such file or directory
make: *** [install-headers] Error 1
che cosa dovrei fare per installare sti benedetti driver?

GunMan
28-02-2007, 10:14
credo che l'errore sia questo:


The file /usr/src/linux/include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution

ti dice esattamente qual il problema, non puoi compilare il software senza avere il kernel source appropriato...

non potresti usare software gi pacchettizzato?

:ciauz:

ss121
28-02-2007, 10:29
non potresti usare software gi pacchettizzato?


sono nuovo nel mondo di linux :zizi: quindi non saprei che software pacchettizato dovrei utilizzare :dh:

GunMan
28-02-2007, 10:37
prova semplicemente con:


urpmi alsa (con i privilegi di root)

:ciauz:

ss121
28-02-2007, 10:43
quindi dovro scrivere
[root@HOMEWORK alsa-driver-1.0.14rc2]# urpmi alsa ?

GunMan
28-02-2007, 10:45
si, prova in questo modo, dovrebbe installarti il pacchetto alsa ed le eventuali dipendenze necessarie.

se qualcosa non dovesse funzionare posta l'output che ricevi in modo da poter cercare una possibile soluzione.

:ciauz:

ss121
28-02-2007, 14:02
dopo aver eseguito urpmi alsa ho installato kernel-legacy-2.6.17.11mdv
poi ho rieseguito il comando ./configure e i make ma mi da sempere errore :dh:


[root@HOMEWORK alsa-driver-1.0.14rc2]# urpmi alsa
E' gi tutto installato
The following package names were assumed: kernel-legacy-2.6.17.11mdv
[root@HOMEWORK alsa-driver-1.0.14rc2]# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/max/alsa-driver-1.0.14rc2
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /usr/src/linux/include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

GunMan
28-02-2007, 14:05
no aspetta, stai facendo un p di confusione, alsa gi installato sul sistema, quindi inutile riconfigurarlo.

prova a dare da console (sempre con i privilegi di root)


alsaconf

:ciauz:

ss121
28-02-2007, 21:08
con il comando alsaconf son riuscito ad installare i driver della scheda audio per al riavvio del pc non sento piu nulla pur avendo i driver installati e per ripsristinare il tutto devo reinserire il comando alsaconf, cosa devo fare per non installare i driver ad ogni riavvio? esiste qualcosa in linuzx che mi permette di alzare e abbasare il voleme delll'audio e del mic?

GunMan
28-02-2007, 21:14
prova con alsamixer

:ciauz:

Loading