
Ubuntu日本語フォーラム

ログインしていません。
alsa-driver-1.0.9を拾ってきて展開した後 ./configure を実行。その後 make を実行したのですが、
$ make
make all-deps
make[1]: ディレクトリ `/tmp/alsa-driver-1.0.9' に入ります
make[1]: `all-deps' に対して行うべき事はありません.
make[1]: ディレクトリ `/tmp/alsa-driver-1.0.9' から出ます
Please, run the configure script as first...
と言われてしまいます。 これはコンパイルに必要なライブラリが不足しているということでしょうか?
解決方法などご教授いただければ嬉しく思います。
オフライン
因みに ./configure 実行時には下記のメッセージが流れます。
$ ./configure
checking for gcc... gcc
checking for C compiler default output... 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... /tmp/alsa-driver-1.0.9
checking cross compile...
checking for directory with kernel source... /lib/modules/3.8.0-27-generic/build
checking for directory with kernel build...
checking for kernel version... The file /lib/modules/3.8.0-27-generic/build/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 /lib/modules/3.8.0-27-generic/build).
オフライン
>does not exist.
>Please, install the package with full kernel sources for your distribution
と言ってます。
linux-source パッケージは、入ってますか?
オフライン
si による投稿:
linux-source パッケージは、入ってますか?
この場合、パッケージ「linux-source」のインストールは十分条件ではありません。
mine-mine による投稿:
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 /lib/modules/3.8.0-27-generic/build).
パッケージ「linux-headers-3.8.0-27-generic」が十分条件となります。
ただ、私の経験上、古いalsa-driverを新しめのLinuxにインストールするのは結構ハードル高いです。何故かというと、ビルドに必要なファイルの位置が変わっていたりするからです。
さて気になるのは
mine-mine による投稿:
alsa-driver-1.0.9を拾ってきて展開した後 ./configure を実行。その後 make を実行したのですが、
alsa-driver-1.0.9はだいぶ古いものなので、特別な理由がなければ、Ubuntu 13.04に入れる必要はないと思います(なぜならalsaの最新のドライバーがすでに入っているため)。差し支えなければ、インストールしたい理由を教えていただけると、何かしらのアドバイスができるかもしれません。
オフライン