LinuxSir.cn,穿越时空的Linuxsir!

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

【求助】安装MPlayer的怪问题

[复制链接]
发表于 2005-5-16 12:24:09 | 显示全部楼层 |阅读模式
我安装MPlayer时的错误信息,各位谁给的正解呀
我下了MPlayer的最新版
然后在编译的时候执行./configure就不行了,

[PHP]
linux:~ # cd MPlayer/MPlayer-1.0pre7
linux:/MPlayer/MPlayer-1.0pre7 # ./configure

-bash: ./configure: /bin/sh: bad interpreter: Permission denied
[/PHP]

第三行的是错误反馈,不知道这是怎么回事我该怎么办??
我看了好多关于MPlayer的安装教程,可是到了我这   执行congfigure命令就是不行

################################################


另外我已经下载了MPlayer的rmp安装包,并且已经成功安装了MPlayer,但是默认显示中文文件名都是乱码
这是我的 mplaer.conf文件,大家看看该怎么改呢?

[PHP]     ##
## MPlayer config file
##
## This file can be copied to /etc/mplayer.conf and/or ~/.mplayer/config .
## If both exist, the ~/.mplayer/config's settings override the
## /etc/mplayer.conf ones. And, of course command line overrides all.
## The options are the same as in the command line, but they can be specified
## more flexibly here. See below.
##

# vo=xv                        # To specify default video driver (see -vo help for
                        # list)

# ao=oss                # To specify default audio driver (see -ao help for
                        # list)

# fs=yes                # Enlarges movie window to your desktop's size.
                        # Used by drivers: all

# fsmode=0                # This option workarounds some problems when using
                        # specific windowmanagers and fullscreen mode. If you
                        # experience fullscreen problems, try changing this
                        # value between 0 and 7. Hint: either 0 or 1 should
                        # be sufficient.
                        # 0 = new method (since 0.18pre3)
                        # 1 = ICCCWM patch (for KDE2/icewm)
                        # 2 = old method (0.17a)
                        # 3 = ICCCWM patch + Motif method

# vm=no                        # Tries to change to a different videomode
                        # Used by drivers: dga2, x11, sdl

# bpp=0                        # Force changing display depth.
                        # Valid settings are: 0, 15, 16, 24, 32
                        # may need 'vm=yes' too.
                        # Used by drivers: fbdev, dga2, svga, vesa

# zoom=no                # Enable software scaling (powerful CPU needed)
                        # Used by drivers: svga, x11, vesa

# double=yes                # use double-buffering (recommended for xv with
                        # SUB/OSD usage)

# monitoraspect=4:3        # standard monitor size, with square pixels
# monitoraspect=16:9        # use this for widescreen monitor! non-square pixels

##
## Use GUI mode by default
##

# gui = yes

##
## Specify your preferred default skin here
## (skins are searched in /usr/local/share/mplayer/Skin/yourskin
##  and ~/.mplayer/Skin/yourskin)
##

# skin = default

##
## Multiple languages are available
##
## Hungarian        igen        nem
## English        yes        no
## German        ja        nein
## Spanish        si        no
## Binary        1        0
##
## You can also use spaces and/or tabs.
##

# sound                = 1
# nosound        = nein
# mixer                = /dev/mixer

##
## resample the fonts' alphamap
## 0        plain white fonts
## 0.75        very narrow black outline (default)
## 1        narrow black outline
## 10        bold black outline
##

# ffactor = 0.75

##
## FBdev driver: specify your monitor's timings, so resolutions
## can be autodetected.
## (see for example /etc/X11/XF86Config for timings!)
## ** CAUTION! IF YOUR DISPLAY DOESN'T SUPPORT AUTOMATICALLY TURNING OFF WHEN
##    OVERDRIVED (AND EVEN IF IT DOES), THIS MAY CAUSE DAMAGE TO YOUR DISPLAY!
##    WE AREN'T RESPONSIBLE, IT'S YOUR DECISION! **
##
## k, K : means multiply by 1000
## m, M : means multiply by 1.000.000
##

# fb = /dev/fb0                                # framebuffer device to use
# fbmode = 640x480-120                        # use this mode (read from fb.modes!)
# fbmodeconfig = /etc/fb.modes                # the fb.modes file
# monitor_hfreq = 31.5k-50k,70k                # horizontal frequency range
# monitor_vfreq = 50-90                        # vertical frequency range
# monitor_dotclock = 30M-300M                # dotclock (or pixelclock) range

##
## SDL driver
##

# vo = sdl:aalib        # use SDL video driver by default
                        # use "vo = sdl:aalib" or "vo sdl:dga" and so on,
                        # for specifying SDL subdrivers
# ao = sdl:esd                # use SDL audio driver by default
                        # use "ao = sdl:esd" to use SDL's ESD driver
# noxv = no                # whether to use XVideo hardware acceleration or not
# forcexv = yes                # force XVideo even if not detected


##
## Other (preferred to be default from configfile) switches
##

# framedrop         = yes        # drop frames, when not in sync (slow CPU, videocard,
                        # etc)

# vfm                = 5        # use libavcodec video codec family (you know,
                        # opensource DivX for example.. So preferred default on
                        # non-x86 boxes)

# cache                = 65536        # use 64Mb input cache by default

# slang                = en        # DVD : display english subtitles if available
# alang                = en        # DVD : play english audio tracks if available

# menu                 = yes        # enable OSD menu support

## This is the correct way to use "subconfig" type options in the
## configuration file. In the command line you use :
## -aop list=resample:fout=44100 , but here it is :
# aop=list=resample:fout=44100

##
## You can also include other configfiles
## Specify full path!
##
## Delete this default
##

# include = /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...       [/PHP]


能否把你们的 mplaer.conf 贴出来让我看看呢?
发表于 2005-5-16 13:01:36 | 显示全部楼层
你的locale编码和mplayer不一样就乱码。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-16 13:14:10 | 显示全部楼层
我的locale编码是zh-CN.UTF-8
mplayer的我该怎么改呢?
能说详细点吗?我是菜鸟呀

还有这个错误是怎么回事呢??
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-16 13:23:08 | 显示全部楼层
我的locale编码是zh-CN.UTF-8
mplayer的我该怎么改呢?
能说详细点吗?我是菜鸟呀

还有这个错误是怎么回事呢??
回复 支持 反对

使用道具 举报

发表于 2005-5-16 17:26:26 | 显示全部楼层
mplayer 只能在编译时修改界面的编码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-16 17:50:29 | 显示全部楼层
Post by bbbush
mplayer 只能在编译时修改界面的编码


那你能帮我看看

[PHP]
linux:~ # cd MPlayer/MPlayer-1.0pre7
linux:/MPlayer/MPlayer-1.0pre7 # ./configure

-bash: ./configure: /bin/sh: bad interpreter: Permission denied
[/PHP]
我的这个错误信息是怎么回事吗版主?
我也想编译呀,可是这个错误就不能执行configure命令
是在是郁闷的要命
回复 支持 反对

使用道具 举报

发表于 2005-5-16 17:53:11 | 显示全部楼层
ls /bin/sh看看有没有这个文件,权限如何。
回复 支持 反对

使用道具 举报

发表于 2005-5-16 18:54:31 | 显示全部楼层
Post by lszigui
那你能帮我看看

我的这个错误信息是怎么回事吗版主?
我也想编译呀,可是这个错误就不能执行configure命令
是在是郁闷的要命

你怎么解压缩的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-16 22:28:35 | 显示全部楼层
Post by bbbush
你怎么解压缩的?


我是在KDE图形界面下解压的,系统是SuSE,直接集成的类似于windows下的winrar的工具,
具体是什么软件名忘记了,双击之后打开MPlayer的tar.gz包,然后把里面的文件夹提取到linux分区。   就是这样

然后在桌面的命令行下用root权限执行的configure命令

你看有什么不对吗?
回复 支持 反对

使用道具 举报

发表于 2005-5-21 00:30:44 | 显示全部楼层
我装的也是这个版本我编译的时候忘记加--enable-gui这句导致不能在界面下使用mplayer希望高手指点我怎么修改
回复 支持 反对

使用道具 举报

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

本版积分规则

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