我的系统是ubuntu13.10, 按照 http://www.linuxidc.com/Linux/2013-10/91667.htm 这个贴子中的方法安装了wine 1.7.16由于第一次没有安装帖子前半部分的依赖库,导致编译出来的wine运行有问题。就重新安装了那些依赖包后,重新./configure 再make 及make install. 现在运行任何exe都报 wine:Bad EXE format for XXX.exe, 只有内置的notepad与internetExplorer可以正常使用。
尝试了将~/.wine目录删除掉再运行winecfg, 问题依旧
另外, config的时候用了win64的参数: ./configure --enable-win64
不知道哪位遇到过?还请赐教。
wine 运行任何exe都报 Bad EXE format for XXX.exe
-
- 帖子: 24
- 注册时间: 2014-04-11 14:41
- 系统: ubuntu
- astolia
- 论坛版主
- 帖子: 6570
- 注册时间: 2008-09-18 13:11
Re: wine 运行任何exe都报 Bad EXE format for XXX.exe
wine跑32位和跑64位的好像是分开的,你要么是用32位wine跑64位程序,要么是64位wine跑32位程序。
另外如果你不是要给wine打上一些补丁,没必要自己费时费力编译wine,直接用ppa源就行了
https://launchpad.net/~ubuntu-wine/+archive/ppa
另外如果你不是要给wine打上一些补丁,没必要自己费时费力编译wine,直接用ppa源就行了
https://launchpad.net/~ubuntu-wine/+archive/ppa
-
- 帖子: 40
- 注册时间: 2012-07-25 10:49
Re: wine 运行任何exe都报 Bad EXE format for XXX.exe
若只需要安装新版,参考楼上ppa源
------
./configure --enable-win64 这样只支持64位程序
如需32/64位共存,参考http://wiki.winehq.org/Wine64
------
./configure --enable-win64 这样只支持64位程序
如需32/64位共存,参考http://wiki.winehq.org/Wine64
代码: 全选
cd wine-1.7.16
mkdir build
cd build
mkdir wine64
cd wine64
../../configure --enable-win64
make
cd ..
mkdir wine32
cd wine32
../../configure --with-wine64=../wine64
make
#make install
#cd ../wine64
#make install
-
- 帖子: 1
- 注册时间: 2014-02-06 18:39
- 系统: ubuntu
Re: wine 运行任何exe都报 Bad EXE format for XXX.exe
在运行了楼上的../../configure --with-wine64=../wine64命令后,终端中提示:liuyc 写了:若只需要安装新版,参考楼上ppa源
------
./configure --enable-win64 这样只支持64位程序
如需32/64位共存,参考http://wiki.winehq.org/Wine64
代码: 全选
cd wine-1.7.16 mkdir build cd build mkdir wine64 cd wine64 ../../configure --enable-win64 make cd .. mkdir wine32 cd wine32 ../../configure --with-wine64=../wine64 make #make install #cd ../wine64 #make install
configure: error: X 32-bit development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install 32-bit development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.
然后下一步无法执行make了,提示找不到makefile.
这个问题我按照国内和国外的许多论坛上的解决方法安装了许多包但问题依旧,请问如何解决。
- lilydjwg
- 论坛版主
- 帖子: 4252
- 注册时间: 2009-04-11 23:46
- 系统: Arch Linux
- 联系:
Re: wine 运行任何exe都报 Bad EXE format for XXX.exe
缺什么库安装什么库,记得要安装 32 位版本的。自己编译,特别是在 Ubuntu 这种拆包比较细的系统上可不容易。curitis 写了:在运行了楼上的../../configure --with-wine64=../wine64命令后,终端中提示:
configure: error: X 32-bit development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install 32-bit development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.
然后下一步无法执行make了,提示找不到makefile.
这个问题我按照国内和国外的许多论坛上的解决方法安装了许多包但问题依旧,请问如何解决。
-
- 帖子: 1
- 注册时间: 2014-09-24 14:31
- 系统: ubuntu12.04 64bit
Re: wine 运行任何exe都报 Bad EXE format for XXX.exe
楼主的问题解决了么?
求最终解决方案,我现在也遇到了同样的问题
求最终解决方案,我现在也遇到了同样的问题