分页: 1 / 1
wine 运行任何exe都报 Bad EXE format for XXX.exe
发表于 : 2014-04-14 16:07
由 wangwpf
我的系统是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
不知道哪位遇到过?还请赐教。
Re: wine 运行任何exe都报 Bad EXE format for XXX.exe
发表于 : 2014-04-15 9:33
由 astolia
wine跑32位和跑64位的好像是分开的,你要么是用32位wine跑64位程序,要么是64位wine跑32位程序。
另外如果你不是要给wine打上一些补丁,没必要自己费时费力编译wine,直接用ppa源就行了
https://launchpad.net/~ubuntu-wine/+archive/ppa
Re: wine 运行任何exe都报 Bad EXE format for XXX.exe
发表于 : 2014-04-15 21:09
由 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
Re: wine 运行任何exe都报 Bad EXE format for XXX.exe
发表于 : 2014-07-13 11:23
由 curitis
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 --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.
这个问题我按照国内和国外的许多论坛上的解决方法安装了许多包但问题依旧,请问如何解决。
Re: wine 运行任何exe都报 Bad EXE format for XXX.exe
发表于 : 2014-07-17 21:44
由 lilydjwg
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.
这个问题我按照国内和国外的许多论坛上的解决方法安装了许多包但问题依旧,请问如何解决。
缺什么库安装什么库,记得要安装 32 位版本的。自己编译,特别是在 Ubuntu 这种拆包比较细的系统上可不容易。
Re: wine 运行任何exe都报 Bad EXE format for XXX.exe
发表于 : 2014-09-24 15:41
由 搞了两天wine真是醉了
楼主的问题解决了么?
求最终解决方案,我现在也遇到了同样的问题