免费注册 查看新帖 |

Chinaunix

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

在fedora linux中,wine 成功安装手记 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-23 11:30 |只看该作者 |倒序浏览
               
                我用的是wine0.9.47,下载wine-0.9.47.tar.zip
用wineinstall安装:用普通用户登录,解压wine-0.9.10.tar.zip,解压后的目录就是原码字体包,进入该目录。运行:./tools/wineinstall按提示回答就可以了。
即:1。    su yhcgh (以普通用户yhcgh运行)
2.。   unzip wine-0.9.47.tar.zip -d /home/yhcgh/wine/(解压目录)
3。    cd \home\yhcgh\wine
  4。   tar jxvf wine-0.9.47.tar.bz2
  5。 cd wine-0.9.47
  6。   cd tools
   7。  ./wineinstall(安装释放文件)
   8。  之后它会运行./configure,然后显示:We need to install wine as root user, do you want us to build wine,'su root' and install Wine? Enter 'no' to continue without installing(yes/no)
  yes 回车
  如果在此处出现错误,请检查此命令的输出,如果他没有找到一些需要的包,而你又希望使用那个包提供的功能时,请字体相应的 devel 包。
  如果你root用户设置了密码,还会提示你输入密码。
  待屏幕上出现:
  Installation complete for now. Good luck (this is still alpha software).
  If you have problems with WINE, please read the documentation first,
  as many kinds of potential problems are explained there.
  则表示字体成功了。
   在shell下运行wine,第一次运行不成功,这是正常,因为没有在/root/.wine/config文件里配置好.找到这些吧。  [Drive C]
  "Path" = "/usr/share/win_c"
  "Type" = "hd"
  "Label" = "MS-DOS"
  "Filesystem" = "win95"
  改为:[Drive C]
  "Path" = "/winc"
  "Type" = "hd"
  "Label" = "MS-DOS"
  "Filesystem" = "win95"  就可以了,如果你字体了simsun字体.wine默认就会找到这个字体的,下边就是我的/root/.wine/config。  WINE REGISTRY Version 2
  ;; All keys relative to MachineSoftwareWineWineConfig  ;;
  ;; MS-DOS drives configuration
  ;;
  ;; Each section has the following format:
  ;; [Drive X]
  ;; "Path"="xxx" (Unix path for drive root)
  ;; "Type"="xxx" (supported types are 'floppy', 'hd', 'cdrom' and 'network')
  ;; "Label"="xxx" (drive label, at most 11 characters)
  ;; "Serial"="xxx" (serial number, 8 characters hexadecimal number)
  ;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
  ;; This is the FS Wine is supposed to emulate on a certain
  ;; directory structure.
  ;; Recommended:
  ;; - "win95" for ext2fs, VFAT and FAT32
  ;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
  ;; DON'T use "unix" unless you intend to port programs using Winelib !
  ;; "Device"="/dev/xx" (only if you want to allow raw device
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/93926/showart_1875040.html

论坛徽章:
0
2 [报告]
发表于 2014-01-13 11:04 |只看该作者
make[2]: Entering directory `/home/eda/Desktop/wine-20050930/tools/wrc'
gcc -c -I. -I. -I../../include -I../../include  -DINCLUDEDIR="\"/usr/local/include/wine\""  -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith  -g -O2  -o lex.yy.o lex.yy.c
lex.yy.c:9221: error: expected ‘;’, ‘,’ or ‘)’ before numeric constant
make[2]: *** [lex.yy.o] Error 1
make[2]: Leaving directory `/home/eda/Desktop/wine-20050930/tools/wrc'
make[1]: *** [wrc] Error 2
make[1]: Leaving directory `/home/eda/Desktop/wine-20050930/tools'
make: *** [tools] Error 2

Compilation failed, aborting install.
您好,我在安装时出现了上面的问题,该如何解决
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP