我测试已经成功了。不过你如果不会打patch,那么就没法测试了。1.1.11里面应该还来不及加入这个patch,除非我们运气好。lifefx 写了:呵呵,我很菜,看不太懂。只会安装那种操作。看来只有等1.1.11再测试了。

我测试已经成功了。不过你如果不会打patch,那么就没法测试了。1.1.11里面应该还来不及加入这个patch,除非我们运气好。lifefx 写了:呵呵,我很菜,看不太懂。只会安装那种操作。看来只有等1.1.11再测试了。
linxyz 写了:四个patch都要打?这个0001-gdi32-tests-Add-a-test-for-GdiGetCodePage.patch是作什么用的,与0002有冲突吗?
楼主先贴个gdi32.dll.so用先吧。
作者说,请删除.wine让它重新生成一次。不过这样你的autocad要重装了。或者你可以先rename,然后执行:linxyz 写了:藐似尚未完全解决呀
应该不需要注册表的copy。这个patch应该自动生成所需的注册表项目。你先mv .wine .winebak试试看。linxyz 写了:汗,没有重新生成.wine,simsun.ttc是拷过到Fonts,依然不行,新设置的注册表在哪?也传上来?
有没有cp SIMSUN.TTC?linxyz 写了:用了2号patch,重新生成.wine,似乎很正常了。
我不会用git,今天下了个。还不会用。请问wine-git $ patch -p1 < patch-file执行这个的时候,补丁文件是不要下载到某个目录啊?xrfang 写了:这样patch:
1)最好是安装git并且下载wine的git仓库,见此:
http://wiki.winehq.org/GitWine
如果看不懂这个git,也可以直接下载wine1.1.10的源代码。但官方要求测试patch在git的最新代码上测试。
2)进入wine的本地目录,比如 ~/wine-git,执行如下命令patch file 就是我上面贴的包里面的一个个patch文件,对每个patch都执行一次上述命令。代码: 全选
wine-git $ patch -p1 < patch-file
3)编译安装wine
我建议设定一个固定的根目录,上面是/usr/local/wine,这样目录结构有一点类似windows,没有包管理也可以干净的删除。代码: 全选
wine-git $ ./configure --prefix=/usr/local/wine wine-git $ make depend && make wine-git $ sudo make install
代码: 全选
./configure --prefix=/usr/local/wine
代码: 全选
linux@linux-desktop:~/wine-git$ ./configure --prefix=/usr/local/wine
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for the directory containing the Wine tools... $(TOPOBJDIR)
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.
代码: 全选
make depend && make
代码: 全选
linux@linux-desktop:~/wine-git$ make depend && make
make: *** 没有规则可以创建目标“depend”。 停止。