Aqualung
January 5th, 2008, 06:09 AM
I just downloaded the Realtek Linux drivers from the Realtek website, and I wanted to install the sound drivers for my mobo-embedded ALC888 sound chip. The readme file says I should execute ./install for an "Automatic install," which is precisely what I did, with all the permissions required and all that jazz. The result of running the ./install file, however, contains lots of negative statements like "configure: error: C compiler cannot create executables," "install: cannot stat `include/sound/*.h': No such file or directory," "./snddevices: not found" etc. (see below in detail), which makes me wonder whether the drivers got installed after all. The difference from the "before" state is almost zero; among others, the sound settings window keeps making reference to an ALC883 instead of ALC888 .
What am I doing wrong?
Here's now the detailed result of running the ./install file:
sudo ./install
.....Decompress Driver source v1.0.15rc3-4.07a
.....Decompress ALSA Library source v1.0.14
.....Decompress ALSA Utility v1.0.14
Remove old sound driver
Compile Driver........
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make all-deps
make[1]: Entering directory `/home/cristi/Desktop/realtek-linux-audiopack-4.07a/alsa-driver-rt20071002'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/home/cristi/Desktop/realtek-linux-audiopack-4.07a/alsa-driver-rt20071002'
Please, run the configure script as first...
if [ -L /include/sound ]; then \
rm -f /include/sound; \
ln -sf /home/cristi/Desktop/realtek-linux-audiopack-4.07a/alsa-driver-rt20071002/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: cannot stat `include/sound/*.h': No such file or directory
make: *** [install-headers] Error 1
./install: 39: ./snddevices: not found
Remove old alsa library
Compile ALSA Library.....
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Compile ALSA Utility......
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: cannot stat `/usr/lib/libasound.*': No such file or directory
cp: cannot stat `/usr/lib/pkgconfig/alsa.pc': No such file or directory
Remove Folder.....
./install: 100: alsaconf: not found
cristi@SpongeBob:~/Desktop/realtek-linux-audiopack-4.07a$
What am I doing wrong?
Here's now the detailed result of running the ./install file:
sudo ./install
.....Decompress Driver source v1.0.15rc3-4.07a
.....Decompress ALSA Library source v1.0.14
.....Decompress ALSA Utility v1.0.14
Remove old sound driver
Compile Driver........
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make all-deps
make[1]: Entering directory `/home/cristi/Desktop/realtek-linux-audiopack-4.07a/alsa-driver-rt20071002'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/home/cristi/Desktop/realtek-linux-audiopack-4.07a/alsa-driver-rt20071002'
Please, run the configure script as first...
if [ -L /include/sound ]; then \
rm -f /include/sound; \
ln -sf /home/cristi/Desktop/realtek-linux-audiopack-4.07a/alsa-driver-rt20071002/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: cannot stat `include/sound/*.h': No such file or directory
make: *** [install-headers] Error 1
./install: 39: ./snddevices: not found
Remove old alsa library
Compile ALSA Library.....
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Compile ALSA Utility......
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: cannot stat `/usr/lib/libasound.*': No such file or directory
cp: cannot stat `/usr/lib/pkgconfig/alsa.pc': No such file or directory
Remove Folder.....
./install: 100: alsaconf: not found
cristi@SpongeBob:~/Desktop/realtek-linux-audiopack-4.07a$