LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2219|回复: 6

安装alsa-oss

[复制链接]
发表于 2006-2-19 22:47:48 | 显示全部楼层 |阅读模式
在解压alsa-oss-1.0.8.tar.gz2,
安装./configure出现下列提示

checking for ALSA CFLAGS...
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... not present.
configure: error: Sufficiently new version of libasound not found.
[root@localhost alsa-oss-1.0.8]#

是缺少什么,在哪里可以找到呢?
发表于 2006-2-20 20:11:50 | 显示全部楼层
checking for libasound headers version >= 0.9.0... not present.
configure: error: Sufficiently new version of libasound not found.

这不是指明了说你没有>=0.9.0的libasound headers吗?
什么发行版?
如果是debian的话我用的是sid
可以参考一下下面信息
  1. [usr @root tmp]$ acsh libasound2-dev
  2. Package: libasound2-dev
  3. Priority: optional
  4. Section: libdevel
  5. Installed-Size: 1656
  6. Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>
  7. Architecture: i386
  8. Source: alsa-lib
  9. Version: 1.0.10-2
  10. Replaces: libasound2 (<< 0.9.0rc7-2), alsa-headers
  11. Provides: libasound-dev
  12. Depends: libc6-dev | libc-dev, libasound2 (= 1.0.10-2)
  13. Suggests: libasound2-doc
  14. Conflicts: libasound-dev, alsa-headers
  15. Filename: pool/main/a/alsa-lib/libasound2-dev_1.0.10-2_i386.deb
  16. Size: 450012
  17. MD5sum: 7e83882b99c10ab04b267f9ef9cd7814
  18. Description: ALSA library development files
  19. This package contains files required for developing software
  20. that makes use of libasound2, the ALSA library.
  21. .
  22. ALSA is the Advanced Linux Sound Architecture.
  23. Tag: devel::library, role::sw:devel-lib, works-with::audio
  24. [usr@root tmp]$ acs alsa-oss
  25. alsa-oss - ALSA wrapper for OSS applications
  26. [skald@darkstar tmp]$ acsh alsa-oss
  27. Package: alsa-oss
  28. Priority: optional
  29. Section: sound
  30. Installed-Size: 216
  31. Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>
  32. Architecture: i386
  33. Version: 1.0.10-1
  34. Depends: libasound2 (>> 1.0.9), libc6 (>= 2.3.5-1)
  35. Filename: pool/main/a/alsa-oss/alsa-oss_1.0.10-1_i386.deb
  36. Size: 50184
  37. MD5sum: d947ef79da9c2c5f87fbd6745bf36cc7
  38. Description: ALSA wrapper for OSS applications
  39. This package contains a program loader, aoss, which wraps
  40. applications written for OSS in a compatibility library,
  41. thus allowing them to work with ALSA.
  42. .
  43. There are two ways of getting an application to work with
  44. ALSA if the application was written for OSS. The first way
  45. is to load the special ALSA drivers that emulate the OSS
  46. kernel interface; these allow the application to open
  47. /dev/dsp0 and other OSS device files. The second way is
  48. to wrap the application in the libaoss library provided
  49. in this package; the wrapper causes the application to
  50. access native ALSA device files such as /dev/snd/pcmC0D0c
  51. instead of OSS device files.
  52. .
  53. Use of the alsa-oss library is recommended over the use of
  54. OSS-emulation drivers if you want to use ALSA's PCM plugin
  55. layer.
  56. .
  57. ALSA is the Advanced Linux Sound Architecture:
  58.      http://alsa.sourceforge.net
  59. OSS is the free version of the Open Sound System.
  60. Tag: admin::hardware, interface::commandline, role::sw:utility, use::converting, use::playing, works-with::audio
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-2-20 20:53:14 | 显示全部楼层
Post by linuxcpp
checking for libasound headers version >= 0.9.0... not present.
configure: error: Sufficiently new version of libasound not found.

这不是指明了说你没有>=0.9.0的libasound headers吗?
什么发行版?
如果是debian的话我用的是sid
可以参考一下下面信息

  1. [usr @root tmp]$ acsh libasound2-dev
  2. Package: libasound2-dev
  3. Priority: optional
  4. Section: libdevel
  5. Installed-Size: 1656
  6. Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>
  7. Architecture: i386
  8. Source: alsa-lib
  9. Version: 1.0.10-2
  10. Replaces: libasound2 (<< 0.9.0rc7-2), alsa-headers
  11. Provides: libasound-dev
  12. Depends: libc6-dev | libc-dev, libasound2 (= 1.0.10-2)
  13. Suggests: libasound2-doc
  14. Conflicts: libasound-dev, alsa-headers
  15. Filename: pool/main/a/alsa-lib/libasound2-dev_1.0.10-2_i386.deb
  16. Size: 450012
  17. MD5sum: 7e83882b99c10ab04b267f9ef9cd7814
  18. Description: ALSA library development files
  19. This package contains files required for developing software
  20. that makes use of libasound2, the ALSA library.
  21. .
  22. ALSA is the Advanced Linux Sound Architecture.
  23. Tag: devel::library, role::sw:devel-lib, works-with::audio

  24. [usr@root tmp]$ acs alsa-oss
  25. alsa-oss - ALSA wrapper for OSS applications
  26. [skald@darkstar tmp]$ acsh alsa-oss
  27. Package: alsa-oss
  28. Priority: optional
  29. Section: sound
  30. Installed-Size: 216
  31. Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>
  32. Architecture: i386
  33. Version: 1.0.10-1
  34. Depends: libasound2 (>> 1.0.9), libc6 (>= 2.3.5-1)
  35. Filename: pool/main/a/alsa-oss/alsa-oss_1.0.10-1_i386.deb
  36. Size: 50184
  37. MD5sum: d947ef79da9c2c5f87fbd6745bf36cc7
  38. Description: ALSA wrapper for OSS applications
  39. This package contains a program loader, aoss, which wraps
  40. applications written for OSS in a compatibility library,
  41. thus allowing them to work with ALSA.
  42. .
  43. There are two ways of getting an application to work with
  44. ALSA if the application was written for OSS. The first way
  45. is to load the special ALSA drivers that emulate the OSS
  46. kernel interface; these allow the application to open
  47. /dev/dsp0 and other OSS device files. The second way is
  48. to wrap the application in the libaoss library provided
  49. in this package; the wrapper causes the application to
  50. access native ALSA device files such as /dev/snd/pcmC0D0c
  51. instead of OSS device files.
  52. .
  53. Use of the alsa-oss library is recommended over the use of
  54. OSS-emulation drivers if you want to use ALSA's PCM plugin
  55. layer.
  56. .
  57. ALSA is the Advanced Linux Sound Architecture:
  58.      http://alsa.sourceforge.net
  59. OSS is the free version of the Open Sound System.
  60. Tag: admin::hardware, interface::commandline, role::sw:utility, use::converting, use::playing, works-with::audio

复制代码




兄弟你这里面的两条命令
acsh和acs是干什么的,我怎么没查到?
回复 支持 反对

使用道具 举报

发表于 2006-2-20 21:28:57 | 显示全部楼层
Post by gdxk
兄弟你这里面的两条命令
acsh和acs是干什么的,我怎么没查到?

应该是alias.
alias acs='apt-cache search '
alias acsh='apt-cache show '
回复 支持 反对

使用道具 举报

发表于 2006-2-21 10:17:11 | 显示全部楼层
自己编绎alsa需要内核头文件。如果是用Debian Linux,直接aptitude安装,很方便。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-21 11:55:59 | 显示全部楼层
我 用是RH9
回复 支持 反对

使用道具 举报

发表于 2006-2-21 12:43:21 | 显示全部楼层
还有版本应该要一致才行吧,driver,lib,utils,oss的都一致吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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