LinuxSir.cn,穿越时空的Linuxsir!

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

我的Mplayer编译错误,帮忙看一下吧。

[复制链接]
发表于 2006-3-13 21:45:59 | 显示全部楼层 |阅读模式
$ ./configure --prefix=/usr --enable-x11 --disable-arts --enable-gui \
    --disable-runtime-cpudetection --disable-smb --enable-sdl \
    --enable-theora --with-win32libdir=/usr/lib/win32 --confdir=/etc/mplayer \
    --enable-external-faad --enable-tv-v4l --enable-tv-v4l2 --disable-liblzo \
    --disable-libdv --disable-aa --disable-xvid --disable-divx4linux

....
Checking for gethostbyname2 ... yes
Checking for GUI ... yes

Error: X11 support required for GUI compilation

Check "configure.log" if you do not understand why it failed.
############################################################
####### Please run ./configure again - it's changed! #######
############################################################
make: *** [config.h] Error 1

请问是少了什么东西啊?
发表于 2006-3-14 04:54:52 | 显示全部楼层
去掉--enable-x11就应该可以了
回复 支持 反对

使用道具 举报

发表于 2006-3-14 09:04:14 | 显示全部楼层
应该是,看我的选项:
  1. #./configure --prefix=/opt --enable-gui --enable-freetype --enable-xmms --enable-menu --enable-live --with-livelibdir=/opt/lib/codecs_live --with-codecsdir=/opt/lib/codecs --with-win32libdir=/opt/lib/codecs_win32
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-14 10:04:24 | 显示全部楼层
还是不行,只要加入--enable-gui就报错。
总不能不用gui吧。
回复 支持 反对

使用道具 举报

发表于 2006-3-14 12:38:55 | 显示全部楼层
你没安装libx11/libx11-dev吧?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-14 15:26:57 | 显示全部楼层
安装了libx11了,我用的是archlinux,没有libx11-dev这个包。
回复 支持 反对

使用道具 举报

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

本版积分规则

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