免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3887 | 回复: 8
打印 上一主题 下一主题

CentOS编译wine错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-11-17 11:36 |只看该作者 |倒序浏览
下面是编译,麻烦请指教!

--export ./dlls/windowscodecs/windowscodecs.spec
make[1]: Entering directory `/usr/wine-1.3.32/dlls/winecrt0'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/wine-1.3.32/dlls/winecrt0'
./tools/winebuild/winebuild  -w --def -o dlls/wined3d/libwined3d.def --export ./dlls/wined3d/wined3d.spec
./tools/winebuild/winebuild  -w --def -o dlls/winhttp/libwinhttp.def --export ./dlls/winhttp/winhttp.spec
./tools/winebuild/winebuild  -w --def -o dlls/wininet/libwininet.def --export ./dlls/wininet/wininet.spec
./tools/winebuild/winebuild  -w --def -o dlls/winmm/libwinmm.def --export ./dlls/winmm/winmm.spec
./tools/winebuild/winebuild  -w --def -o dlls/winnls32/libwinnls32.def --export ./dlls/winnls32/winnls32.spec
./tools/winebuild/winebuild  -w --def -o dlls/winscard/libwinscard.def --export ./dlls/winscard/winscard.spec
./tools/winebuild/winebuild  -w --def -o dlls/winspool.drv/libwinspool.def --export ./dlls/winspool.drv/winspool.drv.spec
./tools/winebuild/winebuild  -w --def -o dlls/wintab32/libwintab32.def --export ./dlls/wintab32/wintab32.spec
./tools/winebuild/winebuild  -w --def -o dlls/wintrust/libwintrust.def --export ./dlls/wintrust/wintrust.spec
./tools/winebuild/winebuild  -w --def -o dlls/wldap32/libwldap32.def --export ./dlls/wldap32/wldap32.spec
./tools/winebuild/winebuild  -w --def -o dlls/wnaspi32/libwnaspi32.def --export ./dlls/wnaspi32/wnaspi32.spec
./tools/winebuild/winebuild  -w --def -o dlls/wow32/libwow32.def --export ./dlls/wow32/wow32.spec
./tools/winebuild/winebuild  -w --def -o dlls/ws2_32/libws2_32.def --export ./dlls/ws2_32/ws2_32.spec
./tools/winebuild/winebuild  -w --def -o dlls/wsock32/libwsock32.def --export ./dlls/wsock32/wsock32.spec
./tools/winebuild/winebuild  -w --def -o dlls/wtsapi32/libwtsapi32.def --export ./dlls/wtsapi32/wtsapi32.spec
./tools/winebuild/winebuild  -w --def -o dlls/xinput1_3/libxinput.def --export ./dlls/xinput1_3/xinput1_3.spec
msgfmt -o po/ar.mo po/ar.po
po/ar.po:124: 关键字“msgctxt”未知
po/ar.po:124:8: parse error
po/ar.po:161: 关键字“msgctxt”未知
po/ar.po:161:8: parse error
po/ar.po:539: 关键字“msgctxt”未知
po/ar.po:539:8: parse error
po/ar.po:683: 关键字“msgctxt”未知
po/ar.po:683:8: parse error
po/ar.po:1222: 关键字“msgctxt”未知
po/ar.po:1222:8: parse error
po/ar.po:1235: 关键字“msgctxt”未知
po/ar.po:1235:8: parse error
po/ar.po:1236: 重复的消息定义
po/ar.po:126: ...这是第一次定义的位置
po/ar.po:1253: 关键字“msgctxt”未知
po/ar.po:1253:8: parse error
po/ar.po:2008: 关键字“msgctxt”未知
po/ar.po:2008:8: parse error
po/ar.po:2070: 关键字“msgctxt”未知
po/ar.po:2070:8: parse error
po/ar.po:2175: 关键字“msgctxt”未知
msgfmt: 错误太多,中止
make: *** [po/ar.mo] 错误 1
[root@localhost wine-1.3.32]#

论坛徽章:
0
2 [报告]
发表于 2011-11-17 12:02 |只看该作者
回复 1# gz011568


    缺依赖吧
    加个epel 源  直接 yum  install  wine

论坛徽章:
0
3 [报告]
发表于 2011-11-19 15:22 |只看该作者
yum install wine 我试用过,我的不能安装

论坛徽章:
0
4 [报告]
发表于 2011-11-19 15:31 |只看该作者
回复 3# gz011568


    加个epel 源  然后 yum

论坛徽章:
0
5 [报告]
发表于 2011-11-20 15:34 |只看该作者
谢谢!呵呵!

论坛徽章:
0
6 [报告]
发表于 2012-07-12 11:53 |只看该作者
我的到这个错误不知道怎么弄了
configure: error: X development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.  
按你说的[root@localhost wine-1.2]yum -y groupinstall "X Software Development"出现了又一个错误

[root@centos6 wine-1.3.35]# yum -y groupinstall "X Software Development"
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* rpmforge: ftp.riken.jp
* updates: mirrors.btte.net
Setting up Group Process
Checking for new repos for mirrors
Warning: Group X Software Development does not exist.
No packages in any requested group available to install or update
请问要怎么解决  我装1.4版本的wine 一样的错误  我新手  不太明白  希望能帮我解决

论坛徽章:
0
7 [报告]
发表于 2012-07-12 11:53 |只看该作者
加个epel 源  然后 yum   具体要怎么加 啊  我新手不懂啊  请指点下

论坛徽章:
0
8
发表于 2012-07-12 11:55
我 root下  yum install  wine   出现如下错误   

checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/strtio.h usability... no
checking sys/strtio.h presence... no
checking for sys/strtio.h... no
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/tihdr.h usability... no
checking sys/tihdr.h presence... no
checking for sys/tihdr.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeout.h usability... no
checking sys/timeout.h presence... no
checking for sys/timeout.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/vm86.h usability... yes
checking sys/vm86.h presence... yes
checking for sys/vm86.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking syscall.h usability... yes
checking syscall.h presence... yes
checking for syscall.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking tiffio.h usability... no
checking tiffio.h presence... no
checking for tiffio.h... no
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking whether stat file-mode macros are broken... no
checking for sys/mount.h... yes
checking for sys/statfs.h... yes
checking for sys/sysctl.h... yes
checking for sys/user.h... yes
checking for sys/vfs.h... yes
checking for netinet/ip.h... yes
checking for net/if.h... yes
checking for net/if_arp.h... yes
checking for net/if_dl.h... no
checking for net/if_types.h... no
checking for net/route.h... yes
checking for netinet/if_ether.h... yes
checking for netinet/if_inarp.h... no
checking for netinet/in_pcb.h... no
checking for netinet/ip_icmp.h... yes
checking for netinet/ip_var.h... no
checking for netinet/udp.h... yes
checking for netipx/ipx.h... yes
checking for netinet/tcp_timer.h... no
checking for netinet/udp_var.h... no
checking for netinet/icmp_var.h... no
checking for netinet/tcp_var.h... no
checking for linux/ipx.h... yes
checking for linux/irda.h... yes
checking for mach-o/dyld_images.h... no
checking for resolv.h... yes
checking for ifaddrs.h... yes
checking for ucontext.h... yes
checking for sys/thr.h... no
checking for pthread_np.h... no
checking for linux/videodev.h... yes
checking for linux/videodev2.h... yes
checking for linux/capi.h... yes
checking for ldd... /usr/bin/ldd
checking whether we can build a GNU style ELF dll... yes
checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... yes
checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... yes
checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... yes
checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... yes
checking whether the compiler supports -fPIC -Wl,--export-dynamic... yes
checking whether the compiler supports -fPIC -Wl,--rpath,$ORIGIN/../lib... yes
checking whether the compiler supports -Wl,--enable-new-dtags... yes
checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... yes
checking for prelink... /usr/sbin/prelink
checking for i686-w64-mingw32-gcc... no
checking for i586-w64-mingw32-gcc... no
checking for i486-w64-mingw32-gcc... no
checking for i386-w64-mingw32-gcc... no
checking for i686-pc-mingw32-gcc... no
checking for i586-pc-mingw32-gcc... no
checking for i486-pc-mingw32-gcc... no
checking for i386-pc-mingw32-gcc... no
checking for i686-mingw32msvc-gcc... no
checking for i586-mingw32msvc-gcc... no
checking for i486-mingw32msvc-gcc... no
checking for i386-mingw32msvc-gcc... no
checking for i686-mingw32-gcc... no
checking for i586-mingw32-gcc... no
checking for i486-mingw32-gcc... no
checking for i386-mingw32-gcc... no
checking for pthread_create in -lpthread... yes
checking for X... no
configure: error: X development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.
[root@centos6 wine-1.3.35]# configure: error: X development files not found. Wine will be built
-bash: configure:: command not found
[root@centos6 wine-1.3.35]# without X support, which probably isn't what you want. You will need
> to install development packages of Xlib/Xfree86 at the very least.
> Use the --without-x option if you really want this.
> ^C
[root@centos6 wine-1.3.35]# yum -y groupinstall "X Software Development
> ^C
[root@centos6 wine-1.3.35]# yum -y groupinstall "X Software Development"
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* rpmforge: ftp.riken.jp
* updates: mirrors.btte.net
Setting up Group Process
Checking for new repos for mirrors
Warning: Group X Software Development does not exist.
No packages in any requested group available to install or update
[root@centos6 wine-1.3.35]# [root@centos6 wine-1.3.35]# yum -y groupinstall "X Software Development"
L-bash: [root@centos6: command not found
[root@centos6 wine-1.3.35]# Loaded plugins: fastestmirror, refresh-packagekit, security
* extras: mirrors.btte.net
* rpmforge: ftp.riken.jp
* updates: mirrors.btte.net
Setting up Group Process
Checking for new repos for mirrors
-bash: Loaded: command not found
Warning: Group X Software Development does not exist.
[root@centos6 wine-1.3.35]# Loading mirror speeds from cached hostfile
-bash: Loading: command not found
[root@centos6 wine-1.3.35]#  * base: mirrors.btte.net
-bash: aclocal.m4: command not found
[root@centos6 wine-1.3.35]#  * extras: mirrors.btte.net
-bash: aclocal.m4: command not found
[root@centos6 wine-1.3.35]#  * rpmforge: ftp.riken.jp
-bash: aclocal.m4: command not found
[root@centos6 wine-1.3.35]#  * updates: mirrors.btte.net
-bash: aclocal.m4: command not found
[root@centos6 wine-1.3.35]# Setting up Group Process
-bash: Setting: command not found
[root@centos6 wine-1.3.35]# Checking for new repos for mirrors
-bash: Checking: command not found
[root@centos6 wine-1.3.35]# Warning: Group X Software Development does not exist.
-bash: Warning:: command not found
[root@centos6 wine-1.3.35]# No packages in any requested group available to install or update
-bash: No: command not found
[root@centos6 wine-1.3.35]# yum install wine*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: ftp.yz.yamagata-u.ac.jp
* rpmforge: mirror.hmc.edu
* updates: mirrors.163.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package wine.i386 0:1.2.3-1.el5.rf will be installed
---> Package wine-capi.i386 0:1.2.3-1.el5.rf will be installed
---> Package wine-cms.i386 0:1.2.3-1.el5.rf will be installed
---> Package wine-core.i386 0:1.2.3-1.el5.rf will be installed
--> Processing Dependency: libmpg123.so.0 for package: wine-core-1.2.3-1.el5.rf.i386
--> Processing Dependency: /usr/bin/xmessage for package: wine-core-1.2.3-1.el5.rf.i386
---> Package wine-devel.i386 0:1.2.3-1.el5.rf will be installed
---> Package wine-esd.i386 0:1.2.3-1.el5.rf will be installed
---> Package wine-gecko.i386 0:1.0.0-1.nodist.rf will be installed
---> Package wine-jack.i386 0:1.2.3-1.el5.rf will be installed
---> Package wine-ldap.i386 0:1.2.3-1.el5.rf will be installed
--> Processing Dependency: libldap_r-2.3.so.0 for package: wine-ldap-1.2.3-1.el5.rf.i386
--> Processing Dependency: liblber-2.3.so.0 for package: wine-ldap-1.2.3-1.el5.rf.i386
---> Package wine-nas.i386 0:1.2.3-1.el5.rf will be installed
---> Package wine-twain.i386 0:1.2.3-1.el5.rf will be installed
--> Running transaction check
---> Package compat-openldap.i686 1:2.3.43-2.el6 will be installed
---> Package mpg123.i386 0:1.14.2-1.el5.rf will be installed
--> Processing Dependency: libltdl.so.3 for package: mpg123-1.14.2-1.el5.rf.i386
---> Package xorg-x11-apps.i686 0:7.4-10.el6 will be installed
--> Processing Dependency: libXaw.so.7 for package: xorg-x11-apps-7.4-10.el6.i686
--> Running transaction check
---> Package libXaw.i686 0:1.0.6-4.1.el6 will be installed
--> Processing Dependency: libXpm.so.4 for package: libXaw-1.0.6-4.1.el6.i686
---> Package mpg123.i386 0:1.14.2-1.el5.rf will be installed
--> Processing Dependency: libltdl.so.3 for package: mpg123-1.14.2-1.el5.rf.i386
--> Running transaction check
---> Package libXpm.i686 0:3.5.8-2.el6 will be installed
---> Package mpg123.i386 0:1.14.2-1.el5.rf will be installed
--> Processing Dependency: libltdl.so.3 for package: mpg123-1.14.2-1.el5.rf.i386
--> Finished Dependency Resolution
Error: Package: mpg123-1.14.2-1.el5.rf.i386 (rpmforge)
           Requires: libltdl.so.3
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
要怎么办啊 头都大了   我的centos 6.2  

论坛徽章:
0
9 [报告]
发表于 2012-07-13 09:16 |只看该作者
本帖最后由 叶子红了 于 2012-07-13 09:16 编辑

缺少X环境,yum groupinstall “X Software Development”
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP