wine0.9.24安装问题?
我想了两个方法。第一种方法是按照指示将两个文件lib1ber-2.3.so.0和libldap-r-2.3.so.0从openldap.*.rpm文件中提取出来。我用的是rpm2cpio openldap*.rpm |cpio -vi lib1ber-2.3.so.0和libldap-r-2.3.so.0,一个文件一行命令。之后,再次安装,仍然没有成功。是不是象windows那样有个命令注册这两个库文件呢?但知识有限,只能到此为止了。我的第一个方法失败了。第二种方法是安装源代码包文件。在/tmp下,解压后,进入其目录tools下,运行./wineinstall提示只能以非root用户运行,运行后提示冲突。只能通过手动安装了。运行./configure --prefix=/usr/lib/wine。make depend&&make,make install,经过漫长的等待,终于安装成功。运行wine --version 显示为wine 0.9.25。wine acdsee2.44.exe运行成功。但第二天时,运行wine --version时却显示为wine 0.9.7。因为是覆盖安装的,将其卸载make uninstall(wine 0.9.25),然后在运行rpm -e wine将wine 0.9.7卸载,但无法成功。只能通过包管理器打开wine0.9.7,在列表中列出了其安装细节。通过手动删除,将其清除。之后,在安装wine0.9.25。成功后,wine --version ,显示无法找到wine命令。想到了刚才的wine0.9.7的文件列表。将wine0.9.25按其文件列表分别拷贝到相应目录中。再次运行wine --version,显示wine 0.9.25但有两行显示fixme:nls:get_env_lcid charset.exe GB18030 was not recongnized.但不影响其运行,只有些碍眼。不能象wine0.9.7那样双击鼠标运行,只能在命令方式下运行,wine acdsee2.44.exe时却不能成功运行,其信息如下:
root@MagicLinux ACDsee]# wine ACDSee2.44.exe
wine: Unhandled page fault on read access to 0x0021fffc at address 0x7bc34990 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x0021fffc in 32-bit code (0x7bc34990).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
EIP:7bc34990 ESP:0033fda4 EBP:0033fdec EFLAGS:00210246( - 00 -RIZP1)
EAX:00110000 EBX:7bc78520 ECX:00220000 EDX:00000001
ESI:0021fff8 EDI:00110000
Stack dump:
0x0033fda4: 006b0000 006b0600 0033fdcc 7bc34283
0x0033fdb4: 0010f228 006b0de8 00010000 7bc351ce
0x0033fdc4: 006b0600 7bc78520 0033fe1c 7bc27f8a
0x0033fdd4: 006b0020 7ffdf000 0033fe18 7bc78520
0x0033fde4: 00110000 00000002 0033fe2c 7bc3578c
0x0033fdf4: 00000001 7b8aadc0 0033fe2c 006b0608
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119
Backtrace:
=>1 0x7bc34990 in ntdll (+0x24990) (0x0033fdec)
2 0x7bc3578c RtlFreeHeap+0x8c in ntdll (0x0033fe2c)
3 0x7b84c79b HeapFree+0x2b in kernel32 (0x0033fe4c)
4 0x7b8403f0 FreeEnvironmentStringsA+0x30 in kernel32 (0x0033fe6c)
5 0x004cffe2 in acdsee2.44 (+0xcffe2) (0x000007cc)
6 0x00000000 (0x00000000)
0x7bc34990: movl 0x4(%esi),%eax
Modules:
Module Address Debug info Name (79 modules)
PE 400000-593000 Export acdsee2.44
ELF 7b800000-7b91c000 Export kernel32<elf>
\-PE 7b820000-7b91c000 \ kernel32
ELF 7bc00000-7bc83000 Export ntdll<elf>
\-PE 7bc10000-7bc83000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7cc05000-7cc28000 Deferred libk5crypto.so.3
ELF 7cc28000-7cc9b000 Deferred libkrb5.so.3
ELF 7cc9b000-7ccb3000 Deferred libgssapi_krb5.so.2
ELF 7ccb3000-7cdaa000 Deferred libcrypto.so.4
ELF 7cdaa000-7cde0000 Deferred libssl.so.4
ELF 7cdf7000-7ce14000 Deferred libcups.so.2
ELF 7ce14000-7ce29000 Deferred midimap<elf>
\-PE 7ce20000-7ce29000 \ midimap
ELF 7ce50000-7ce68000 Deferred msacm32<elf>
\-PE 7ce60000-7ce68000 \ msacm32
ELF 7ce68000-7cea5000 Deferred wineoss<elf>
\-PE 7ce70000-7cea5000 \ wineoss
ELF 7e2cd000-7e300000 Deferred uxtheme<elf>
\-PE 7e2d0000-7e300000 \ uxtheme
ELF 7e300000-7e309000 Deferred libxcursor.so.1
ELF 7e320000-7e33d000 Deferred imm32<elf>
\-PE 7e330000-7e33d000 \ imm32
ELF 7e33d000-7e35a000 Deferred ximcp.so.2
ELF 7e35a000-7e360000 Deferred xlibi18n.so.2
ELF 7e360000-7e363000 Deferred libxinerama.so.1
ELF 7e363000-7e368000 Deferred libxfixes.so.3
ELF 7e368000-7e37a000 Deferred libgb.so
ELF 7e37a000-7e3e2000 Deferred libgl.so.1
ELF 7e3e2000-7e4c8000 Deferred libx11.so.6
ELF 7e4c8000-7e4d6000 Deferred libxext.so.6
ELF 7e4d6000-7e4ee000 Deferred libice.so.6
ELF 7e4ee000-7e4f7000 Deferred libsm.so.6
ELF 7e4f7000-7e4fa000 Deferred libkrb5support.so.0
ELF 7e4fa000-7e4ff000 Deferred euc-cn.so
ELF 7e505000-7e50e000 Deferred libxrender.so.1
ELF 7e50e000-7e59b000 Deferred winex11<elf>
\-PE 7e520000-7e59b000 \ winex11
ELF 7e59b000-7e5bb000 Deferred libexpat.so.0
ELF 7e5bb000-7e617000 Deferred libfontconfig.so.1
ELF 7e617000-7e684000 Deferred libfreetype.so.6
ELF 7e684000-7e6b4000 Deferred winspool<elf>
\-PE 7e690000-7e6b4000 \ winspool
ELF 7e6b4000-7e750000 Deferred comdlg32<elf>
\-PE 7e6c0000-7e750000 \ comdlg32
ELF 7e750000-7e7da000 Deferred winmm<elf>
\-PE 7e760000-7e7da000 \ winmm
ELF 7e7da000-7e7ed000 Deferred libresolv.so.2
ELF 7e7ed000-7e80b000 Deferred iphlpapi<elf>
\-PE 7e7f0000-7e80b000 \ iphlpapi
ELF 7e80b000-7e85e000 Deferred rpcrt4<elf>
\-PE 7e820000-7e85e000 \ rpcrt4
ELF 7e85e000-7e8f5000 Deferred ole32<elf>
\-PE 7e870000-7e8f5000 \ ole32
ELF 7e8f5000-7e94e000 Deferred shlwapi<elf>
\-PE 7e900000-7e94e000 \ shlwapi
ELF 7e94e000-7ea3b000 Deferred shell32<elf>
\-PE 7e960000-7ea3b000 \ shell32
ELF 7ea3b000-7ea5b000 Deferred mpr<elf>
\-PE 7ea40000-7ea5b000 \ mpr
ELF 7ea5b000-7eaef000 Deferred gdi32<elf>
\-PE 7ea70000-7eaef000 \ gdi32
ELF 7eaef000-7ec28000 Deferred user32<elf>
\-PE 7eb10000-7ec28000 \ user32
ELF 7ec28000-7ecec000 Deferred comctl32<elf>
\-PE 7ec30000-7ecec000 \ comctl32
ELF 7ecec000-7ed31000 Deferred advapi32<elf>
\-PE 7ed00000-7ed31000 \ advapi32
ELF 7efc6000-7efe9000 Deferred libm.so.6
ELF 7efea000-7efee000 Deferred libxrandr.so.2
ELF 7efee000-7f000000 Deferred libz.so.1
ELF b7ca0000-b7ca3000 Deferred libcom_err.so.2
ELF b7ca3000-b7cae000 Deferred libnss_files.so.2
ELF b7caf000-b7cb3000 Deferred libdl.so.2
ELF b7cb3000-b7ddd000 Deferred libc.so.6
ELF b7e00000-b7e02000 Deferred xlocale.so.2
ELF b7e02000-b7e07000 Deferred libxxf86vm.so.1
ELF b7e07000-b7f18000 Deferred libwine.so.1
ELF b7f18000-b7f2f000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\mnt\hda5\Program Files\ACDsee\ACDSee2.44.exe
00000009 0 <==
#
我知道问题出在什么地方,在wine0.9.7时,是可以运行acdsee的。而安装了wine0.9.25时却不能运行了。
在运行 wine EBookReader.exe时,ebookreader可以运行,在软件选择打开文件时,却无法显示打开文件的选择框。下面是在命令行下运行时的信息,希望有能了解的朋友指教一二。在下先拜谢了。
# wine EBookReader.exe
fixme:font:WineEngCreateFontInstance Dirty hack. Default and ansi charset is translated to getenv("WINE_DEFAULT_CODEPAGE")
errle:get_inproc_class_object couldn't load in-process dll L"Z:\\mnt\\hda5\\Program Files\\EBookReader\\taleMP3.dat"
errle:create_server class {3b00b10d-6ef0-11d1-a6aa-0020afe4de54} not registered
errle:CoGetClassObject no class object {3b00b10d-6ef0-11d1-a6aa-0020afe4de54} could be created for context 0x5
fixme:font:WineEngCreateFontInstance Dirty hack. Default and ansi charset is translated to getenv("WINE_DEFAULT_CODEPAGE")
fixme:font:WineEngCreateFontInstance Dirty hack. Default and ansi charset is translated to getenv("WINE_DEFAULT_CODEPAGE")
fixme:font:WineEngCreateFontInstance Dirty hack. Default and ansi charset is translated to getenv("WINE_DEFAULT_CODEPAGE")
fixme:font:WineEngCreateFontInstance Dirty hack. Default and ansi charset is translated to getenv("WINE_DEFAULT_CODEPAGE")
看来成功安装后还有很多工作要做.。水平有限,也只能到这了.
另外,无意间再次运行了wine-0.9.24.rpm文件时,将其检查依赖关系的复选框取消,居然成功安装。不知是上面所提的两个文件,还是这次取消检查依赖关系,我想可能是后一种的可能大一些。折腾了这么长的时间,是希望给大家一些关于安装的思路。还有是希望高手能帮助解决一下上面的几个疑问? 软件包的依赖请查看相关文章。
wine 从源代码安装,需要做一些设置,不然经常出问题。
而且 wine 在很多版本里,还加上了官方没有包含的补丁。
建议完全卸载全部的 wine 包。
进行 rpmbuild --rebuild 一个 0.9.24 的 src.rpm 来自己编译一个二进制包 怎么没人跟贴
页:
[1]