当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 12 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ALSA的问题
帖子发表于 : 2009-03-17 21:52 

注册: 2009-03-17 21:47
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
我在用ALSA驱动声卡的时候出现下面的问题,请大家指点一下,谢谢了

[root@dxb Desktop]# cd alsa-utils-1.0.19
[root@dxb alsa-utils-1.0.19]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... 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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cross-compiler... gcc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.16... found.
checking for snd_ctl_open in -lasound... yes
checking for xmlto... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for ncurses5-config... 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 special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating alsactl/Makefile
config.status: creating alsactl/init/Makefile
config.status: creating alsamixer/Makefile
config.status: creating amidi/Makefile
config.status: creating amixer/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating alsaconf/alsaconf
config.status: creating alsaconf/Makefile
config.status: creating alsaconf/po/Makefile
config.status: WARNING: alsaconf/po/Makefile.in seems to ignore the --datarootdir setting
config.status: creating aplay/Makefile
config.status: creating include/Makefile
config.status: creating iecset/Makefile
config.status: creating utils/Makefile
config.status: creating utils/alsa-utils.spec
config.status: creating seq/Makefile
config.status: creating seq/aconnect/Makefile
config.status: creating seq/aplaymidi/Makefile
config.status: creating seq/aseqdump/Makefile
config.status: creating seq/aseqnet/Makefile
config.status: creating speaker-test/Makefile
config.status: creating speaker-test/samples/Makefile
config.status: creating include/aconfig.h
config.status: include/aconfig.h is unchanged
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
[root@dxb alsa-utils-1.0.19]# make
Making all in include
make[1]: Entering directory `/root/Desktop/alsa-utils-1.0.19/include'
make all-am
make[2]: Entering directory `/root/Desktop/alsa-utils-1.0.19/include'
make[2]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/include'
make[1]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/include'
Making all in alsactl
make[1]: Entering directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
Making all in init
make[2]: Entering directory `/root/Desktop/alsa-utils-1.0.19/alsactl/init'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/alsactl/init'
make[2]: Entering directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
xmlto man alsactl_init.xml
make[2]: xmlto:命令未找到
make[2]: *** [alsactl_init.7] 错误 127
make[2]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/Desktop/alsa-utils-1.0.19/alsactl'
make: *** [all-recursive] 错误 1

我的另外两个包(driver和lib)都能正常,就是这个包有这种问题,是什么原因呀,我要怎么解决呀


页首
 用户资料  
 
2 楼 
 文章标题 : Re: ALSA的问题
帖子发表于 : 2009-03-17 23:12 
头像

注册: 2007-11-28 5:39
帖子: 358
送出感谢: 0 次
接收感谢: 0 次
安裝alsa 1.0.19最方便的方法:
http://myubuntu.ca/download/AlsaUpgrade ... .sh.tar.gz

sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh -di


页首
 用户资料  
 
3 楼 
 文章标题 : Re: ALSA的问题
帖子发表于 : 2009-03-18 13:02 

注册: 2006-11-27 12:25
帖子: 458
送出感谢: 0 次
接收感谢: 0 次
用新立得安装xmlto软件。


页首
 用户资料  
 
4 楼 
 文章标题 : Re: ALSA的问题
帖子发表于 : 2009-03-18 13:59 
头像

注册: 2007-11-29 9:41
帖子: 8455
送出感谢: 0 次
接收感谢: 0 次
这年头没有编译安装alsa的了,呵呵,apt吧


页首
 用户资料  
 
5 楼 
 文章标题 : Re: ALSA的问题
帖子发表于 : 2009-03-20 13:28 

注册: 2009-03-17 21:47
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
ellon 写道:
安裝alsa 1.0.19最方便的方法:
http://myubuntu.ca/download/AlsaUpgrade ... .sh.tar.gz

sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh -di



用了这个方法不行呀
root@dxb alsa]# ./AlsaUpgrade-1.0.x-rev-1.16.sh.tar.tar -di
bash: ./AlsaUpgrade-1.0.x-rev-1.16.sh.tar.tar: cannot execute binary file


页首
 用户资料  
 
6 楼 
 文章标题 : Re: ALSA的问题
帖子发表于 : 2009-03-20 13:33 

注册: 2009-03-17 21:47
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
lerosua 写道:
这年头没有编译安装alsa的了,呵呵,apt吧



apt怎么用呀,说具体一点呀,我是菜鸟呀。先谢谢了


页首
 用户资料  
 
7 楼 
 文章标题 : Re: ALSA的问题
帖子发表于 : 2009-03-21 15:27 
头像

注册: 2007-11-28 5:39
帖子: 358
送出感谢: 0 次
接收感谢: 0 次
dxb20040101 写道:
ellon 写道:
安裝alsa 1.0.19最方便的方法:
http://myubuntu.ca/download/AlsaUpgrade ... .sh.tar.gz

sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh -di



用了这个方法不行呀
root@dxb alsa]# ./AlsaUpgrade-1.0.x-rev-1.16.sh.tar.tar -di
bash: ./AlsaUpgrade-1.0.x-rev-1.16.sh.tar.tar: cannot execute binary file


不是AlsaUpgrade-1.0.x-rev-1.16.sh.tar.tar,
是AlsaUpgrade-1.0.x-rev-1.16.sh.tar.gz解壓縮成AlsaUpgrade-1.0.x-rev-1.16.sh
你沒有正確解壓縮吖!
在Gnome用文件瀏覽器,右鍵解壓縮。(估計你到Windows裡解壓縮了??如果用命令行,是tar -zxf AlsaUpgrade-1.0.x-rev-1.16.sh.tar.gz)


页首
 用户资料  
 
8 楼 
 文章标题 : Re: ALSA的问题
帖子发表于 : 2009-03-21 16:37 

注册: 2009-03-17 21:47
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
ellon 写道:
dxb20040101 写道:
ellon 写道:
安裝alsa 1.0.19最方便的方法:
http://myubuntu.ca/download/AlsaUpgrade ... .sh.tar.gz

sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh -di



用了这个方法不行呀
root@dxb alsa]# ./AlsaUpgrade-1.0.x-rev-1.16.sh.tar.tar -di
bash: ./AlsaUpgrade-1.0.x-rev-1.16.sh.tar.tar: cannot execute binary file


不是AlsaUpgrade-1.0.x-rev-1.16.sh.tar.tar,
是AlsaUpgrade-1.0.x-rev-1.16.sh.tar.gz解壓縮成AlsaUpgrade-1.0.x-rev-1.16.sh
你沒有正確解壓縮吖!
在Gnome用文件瀏覽器,右鍵解壓縮。(估計你到Windows裡解壓縮了??如果用命令行,是tar -zxf AlsaUpgrade-1.0.x-rev-1.16.sh.tar.gz)



不行呀,首先下载下来的文件才5K
其次
[root@dxb Desktop]# tar -zxf AlsaUpgrade-1.0.x-rev-1.16.sh.tar.gz)
bash: syntax error near unexpected token `)'

我先说明一下我用的系统是红旗


附件:
文件注释: 下载的文件才5K
as0.jpg
as0.jpg [ 30.51 KiB | 被浏览 500 次 ]
页首
 用户资料  
 
9 楼 
 文章标题 : Re: ALSA的问题
帖子发表于 : 2009-03-22 0:45 
头像

注册: 2007-11-28 5:39
帖子: 358
送出感谢: 0 次
接收感谢: 0 次
dxb20040101 写道:
不行呀,首先下载下来的文件才5K
其次
[root@dxb Desktop]# tar -zxf AlsaUpgrade-1.0.x-rev-1.16.sh.tar.gz)
bash: syntax error near unexpected token `)'

我先说明一下我用的系统是红旗


原來是紅旗,紅旗用KDE的。所以解壓縮系統有點不同。
你可以用那個指令解壓縮,
tar -zxf AlsaUpgrade-1.0.x-rev-1.16.sh.tar.gz
(你自己之前把")"也貼上了)
還有,紅旗不能用AlsaUpgrade升級ALSA的。是Ubuntu轉用的。文件5K是對的,運行時是會自動在網上下載alsa。
樓主為什麼要用紅旗呢? 要折磨自己的吖? 紅旗跟Ubuntu相比,套件管理系統太不成熟了~


页首
 用户资料  
 
10 楼 
 文章标题 : Re: ALSA的问题
帖子发表于 : 2009-03-23 10:52 

注册: 2008-09-22 12:58
帖子: 211
送出感谢: 0 次
接收感谢: 0 次
ellon 写道:
安裝alsa 1.0.19最方便的方法:
http://myubuntu.ca/download/AlsaUpgrade ... .sh.tar.gz

sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh -di


执行以上命令,编译出错。大意是找不到"linux-herders-2.6.24-23"(记不太清楚了),可是我的内核是更高版本的2.6.27(Ubuntu 8.10)。难道要恢复成低版本的内核?


页首
 用户资料  
 
11 楼 
 文章标题 : Re: ALSA的问题
帖子发表于 : 2009-03-25 21:42 

注册: 2009-03-17 21:47
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
先谢过楼上的各位兄弟,9楼说的我现在还没有试,等试了结果再帖出来


页首
 用户资料  
 
12 楼 
 文章标题 : Re: ALSA的问题
帖子发表于 : 2009-03-25 22:05 

注册: 2009-03-17 21:47
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
还是不行呀,
首先[root@dxb Desktop]# tar -zxf AlsaUpgrade-1.0.x-rev-1.16.sh.tar.gz之后会创建一个可执行文件AlsaUpgrade-1.0.x-rev-1.16.sh,但是

[root@dxb Desktop]# ./AlsaUpgrade-1.0.x-rev-1.16.sh
./AlsaUpgrade-1.0.x-rev-1.16.sh: line 87: dpkg: command not found

Usage: ./AlsaUpgrade-1.0.x-rev-1.16.sh [OPTION]...

Available options:
-di Download (to /usr/src), compile and install the packages
This option will compeletely upgrade your ALSA in one step
-d Download the packages only
In case you want to tweak/patch the official packages or
you'd like to install the snapshot on top of the official
packages prior to compiling and installating them
-c Compilation only
Kind of dry-run option to see if the configuration and compilation
works
-i Compilation and installation of packages
Sources must exist under /usr/src. Run script with -d or -di options first.
The option is useful to speed up your installation in case Ubuntu upgrades
have overwritten your ALSA installation. It is also useful if you want to
keep your patched version or snapshot version, when reinstalling the packages
-r Restore ALSA
Kernel and all ALSA relevant Ubuntu packages will be restored
(done by re-installation of relevant packages)
-snap Download, compile and install of latest ALSA driver-sources-snapshot
Please run script using -d option first. Recommended for troubleshooting.
(The snapshot is not an offical ALSA release or even pre-release,
it is the latest snapshot taken from the design-tree!)
-h Help - this page

Please visit http://ubuntuforums.org/showthread.php?t=962695
to report any issues you might encounter by using this script.

这是不是说明这个文件不能在红旗下用呀


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 12 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译