LINUX.ORG.RU

Компиляция ALSA


0

0

Имеем: Ubuntu 8.04 Server 64 бита на сервере или таже версия 32 бита на виртуалке для экспериментов.

Что нужно: Нужен звук на сервере.

Alsa из репозитория старая, не определяет звуковуху на сервере. Скачал пакет исходников — версии 1.0.17 и версии 1.0.18b одна и таже фигня:

./configure кроме прочего выдает:

checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) *** 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. checking for built-in ALSA... no ..... config.status: WARNING: Makefile.conf.in seems to ignore the --datarootdir setting

make выдает:

if [ ! -d include/sound -a ! -L include/sound ]; then \ ln -sf ../alsa-kernel/include include/sound ; \ fi cp -puvf include/version.h include/sound/version.h make dep make[1]: Entering directory `/home/lradio/alsa-driver-1.0.18rc3' make[2]: Entering directory `/home/lradio/alsa-driver-1.0.18rc3/acore' copying file alsa-kernel/core/info.c /home/lradio/alsa-driver-1.0.18rc3/utils/patch-alsa: 24: patch: not found make[2]: *** [info.c] Error 1 make[2]: Leaving directory `/home/lradio/alsa-driver-1.0.18rc3/acore' make[1]: *** [dep] Error 1 make[1]: Leaving directory `/home/lradio/alsa-driver-1.0.18rc3' make: *** [include/sndversions.h] Error 2

Я так понимаю, что скорее всего ./configure нужно передать эту самую --datarootdir. ./configure --help дает спрваку: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] Но я не могу понять, что за директорию нужно указать.

Добавлю только, что на Debian 4.0 все отлично компилируется и этих сообщений при ./configure не появляется.


Прошу прощения, не справился я с сдешним парсером, попробую написать сообщения еще раз:

./configure кроме прочего выдает:

checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
*** 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.
checking for built-in ALSA... no
.....
config.status: WARNING:  Makefile.conf.in seems to ignore the --datarootdir setting

make выдает:

if [ ! -d include/sound -a ! -L include/sound ]; then \
          ln -sf ../alsa-kernel/include include/sound ; \
        fi
cp -puvf include/version.h include/sound/version.h
make dep
make[1]: Entering directory `/home/lradio/alsa-driver-1.0.18rc3'
make[2]: Entering directory `/home/lradio/alsa-driver-1.0.18rc3/acore'
copying file alsa-kernel/core/info.c
/home/lradio/alsa-driver-1.0.18rc3/utils/patch-alsa: 24: patch: not found
make[2]: *** [info.c] Error 1
make[2]: Leaving directory `/home/lradio/alsa-driver-1.0.18rc3/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/home/lradio/alsa-driver-1.0.18rc3'
make: *** [include/sndversions.h] Error 2

homm
() автор топика
Ответ на: комментарий от JB

Ояблагадарю!

Спасибо большое! Скомпилировалось.

homm
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.