LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: zerolin

让arch linux更动听(dmix多音流)

[复制链接]
发表于 2005-5-27 23:14:21 | 显示全部楼层
Post by diony
我这里alsa-utils编译失败。有成功的兄弟说一声,看看是个别现象还是都失败。



我的alsa-utils都是一样编译失败



  1. ==> WARNING: Fakeroot is not installed.  Building as an unprivileged user
  2.     will result in non-root ownership of the packaged files.
  3.     Install the fakeroot package to correctly build as a non-root
  4.     user.

  5. ==> Making package: alsa-utils  (五  5月 27 23:13:01 UTC 2005)
  6. ==> Checking Runtime Dependencies...
  7. ==> Checking Buildtime Dependencies...
  8. ==> Retrieving Sources...
  9. ==>     Found alsa-utils-1.0.9rc4a.tar.bz2 in build dir
  10. ==>     Found alsa in build dir
  11. ==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.==> Extracting Sources...
  12. ==>     tar --use-compress-program=bzip2 -xf alsa-utils-1.0.9rc4a.tar.bz2
  13. ==> Removing existing pkg/ directory...
  14. ==> Starting build()...
  15. checking for a BSD-compatible install... /bin/install -c
  16. checking whether build environment is sane... yes
  17. checking for gawk... no
  18. checking for mawk... mawk
  19. checking whether make sets $(MAKE)... yes
  20. checking whether NLS is requested... yes
  21. checking for msgfmt... /usr/bin/msgfmt
  22. checking for gmsgfmt... /usr/bin/msgfmt
  23. checking for xgettext... /usr/bin/xgettext
  24. checking for msgmerge... /usr/bin/msgmerge
  25. checking for style of include used by make... GNU
  26. checking for gcc... gcc
  27. checking for C compiler default output... a.out
  28. checking whether the C compiler works... yes
  29. checking whether we are cross compiling... no
  30. checking for suffix of executables...
  31. checking for suffix of object files... o
  32. checking whether we are using the GNU C compiler... yes
  33. checking whether gcc accepts -g... yes
  34. checking for gcc option to accept ANSI C... none needed
  35. checking dependency style of gcc... gcc3
  36. checking build system type... i686-pc-linux
  37. checking host system type... i686-pc-linux
  38. checking for ld used by GCC... /usr/bin/ld
  39. checking if the linker (/usr/bin/ld) is GNU ld... yes
  40. checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory
  41. done
  42. checking whether NLS is requested... yes
  43. checking for GNU gettext in libc... yes
  44. checking whether to use NLS... yes
  45. checking where the gettext function comes from... libc
  46. checking for cross-compiler... gcc
  47. checking for gcc... (cached) gcc
  48. checking whether we are using the GNU C compiler... (cached) yes
  49. checking whether gcc accepts -g... (cached) yes
  50. checking for gcc option to accept ANSI C... (cached) none needed
  51. checking dependency style of gcc... (cached) gcc3
  52. checking for a BSD-compatible install... /bin/install -c
  53. checking whether ln -s works... yes
  54. checking for ALSA CFLAGS...
  55. checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
  56. checking for libasound headers version >= 1.0.9... not present.
  57. configure: error: Sufficiently new version of libasound not found.
  58. make: *** 没有指明目标并且找不到 makefile。 停止。
  59. ==> ERROR: Build Failed.  Aborting...


复制代码
回复 支持 反对

使用道具 举报

发表于 2005-5-27 23:28:27 | 显示全部楼层
已经编译成功了。只要正常安装并使用新版本的alsa-driver和alsa-lib以后再编译alsa-utils即可。

你的问题和我不完全一样,不过也差不太多。


看来alsa-utils的makedepends里应该加个alsa-driver和alsa-lib比较好。
回复 支持 反对

使用道具 举报

发表于 2005-5-27 23:31:06 | 显示全部楼层
把前三个编译的包先安装了,之后再编译alsa-utils就是通过了!

不过我安装后在启动系统装载intel 8x0驱动模块的时候居然说找不到我的声卡驱动模块,我的也可以认作是intel 8x0! 估计是notebook的驱动与你的台式有点不同的原故吧!

估计不能偷懒了,重现完全编译alsa-driver再看看
回复 支持 反对

使用道具 举报

发表于 2005-5-28 00:12:07 | 显示全部楼层
-----------------------------------------------------------------------------------------------------------------------

to diony

好奇怪呢,我在重新编译的alsa-driver中也好象找不到intel 8x0的驱动,你能发你编译的alsa-driver 给我看看吗
----------------------------------------------------------------------------------------

哦,没有事了,找到了,我先自己看看问题出在那里!
回复 支持 反对

使用道具 举报

发表于 2005-5-28 00:53:27 | 显示全部楼层
我用的是oss的商业驱动,一直挺好
回复 支持 反对

使用道具 举报

发表于 2005-5-28 15:39:33 | 显示全部楼层
虽然安装了,不过最终还是不能成功装载 ! 你们的能?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-28 15:40:57 | 显示全部楼层
恩,编译kernel和编译ALSA的GCC要用同个版本,不然就不能识别。 HTH
回复 支持 反对

使用道具 举报

发表于 2005-5-28 16:09:23 | 显示全部楼层
哦,原来是这样,估计问题就出在这里吧,我的kernel是current中系统缺省,估计是用gcc 3.4 编译的吧!

而我自己加了testing源,好象gcc 升级成为gcc 4.0了
回复 支持 反对

使用道具 举报

发表于 2005-5-28 19:42:09 | 显示全部楼层
我把gcc 换成current 的3.4版本,再重新编译后!都是不能,看来只能等alsa的新版本进入current了

因为我用current上的alsa来驱动就没有问题,只是实现不了多音流
回复 支持 反对

使用道具 举报

发表于 2005-5-28 20:08:48 | 显示全部楼层
仔细阅读alsa-project上针对你的声卡的文档,细心大胆的设置,即使不用1.0.9也没有问题,可以实现多音频流的。

你可以做个试验:
1、把zerolin的那个.asoundrc放到你的用户目录下
2、修改/etc/libao.conf,内容改为default_driver=alsa09。没有这个文件的话创建一个。
3、用小巧的工具同时播放声音试试,比如用mpg321:

  1. # mpg321 001.mp3 &
  2. # mpg321 001.mp3
复制代码


如果没有问题,说明alsa的多音频流已经没问题了,剩下的只是使用声音的程序的设置。就像我第一页里提到过的,有些程序不会使用libao.conf,有些程序则干脆不用alsa。所以对于lumaqq,需要aoss 来执行等等。xmms设为用alsa驱动即可,gaim设为自动即可。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表