本不喜欢wine,可是要看android源码,看android源码在linux又找不到像Source Insight这样简单的东西。。。。
权衡一下,只好安wine。。。。。
然后开始苦海。。。。
进商店,报这个
- senrsl@senrsl-ubuntu:~$ sudo apt-get install wine
- [sudo] password for senrsl:
- 正在读取软件包列表... 完成
- 正在分析软件包的依赖关系树
- 正在读取状态信息... 完成
- 有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
- 因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
- 包尚未被创建或是它们已被从新到(Incoming)目录移出。
- 下列信息可能会对解决问题有所帮助:
- 下列软件包有未满足的依赖关系:
- wine : 依赖: wine1.6 但是它将不会被安装
- E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
然后试试aptitude。。。。
- 下列软件包未满足的依赖关系:
- wine1.6: Depends: wine1.6-amd64 (= 1:1.6.2-0ubuntu4) 但是将要安装 1:1.6.2-0ubuntu4
- Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4) 但是它是虚拟软件包
折腾老半天,新立德,aptitude之类的各种尝试,一直是已损坏依赖
- senrsl@senrsl-ubuntu:~$ sudo aptitude install wine
- [sudo] password for senrsl:
- 下列"新"软件包将被安装。
- attr{a} binfmt-support{a} fonts-horai-umefont{a} fonts-unfonts-core{a}
- fonts-wqy-microhei{a} gnome-exe-thumbnailer{a} icoutils{a}
- libasn1-8-heimdal:i386{a} libasound2-plugins:i386{a} libasyncns0:i386{a}
- libcapi20-3{a} libcapi20-3:i386{a} libdb5.3:i386{a} libflac8:i386{a}
- libgd3:i386{a} libgif4:i386{a} libglu1-mesa:i386{a} libgphoto2-6:i386{ab}
- libgphoto2-port10:i386{ab} libgssapi3-heimdal:i386{a}
- libgstreamer-plugins-base0.10-0:i386{a} libgstreamer0.10-0:i386{a}
- libhcrypto4-heimdal:i386{a} libhdb9-heimdal{a}
- libheimbase1-heimdal:i386{a} libheimntlm0-heimdal:i386{a}
- libhx509-5-heimdal:i386{a} libice6:i386{a} libieee1284-3:i386{a}
- libjack-jackd2-0:i386{a} libjson-c2:i386{ab} libkdc2-heimdal{a}
- libkrb5-26-heimdal:i386{a} liblcms2-2:i386{a} libldap-2.4-2:i386{a}
- libltdl7:i386{a} libmpg123-0:i386{a} libogg0:i386{a} libopenal1:i386{a}
- liborc-0.4-0:i386{a} libosmesa6{ab} libosmesa6:i386{ab}
- libp11-kit-gnome-keyring:i386{a} libpulse0:i386{a}
- libroken18-heimdal:i386{a} libsamplerate0:i386{a} libsane:i386{ab}
- libsane-common:i386{ab} libsasl2-2:i386{a} libsasl2-modules:i386{a}
- libsasl2-modules-db:i386{a} libsm6:i386{a} libsndfile1:i386{a}
- libspeexdsp1:i386{a} libssl1.0.0:i386{ab} libusb-1.0-0:i386{a}
- libuuid1:i386{ab} libv4l-0:i386{a} libv4lconvert0:i386{a}
- libvorbis0a:i386{a} libvorbisenc2:i386{a} libvpx1:i386{a}
- libwind0-heimdal:i386{a} libwrap0:i386{a} libxml2:i386{ab}
- libxpm4:i386{a} libxslt1.1:i386{a} libxt6:i386{a} ocl-icd-libopencl1{a}
- ocl-icd-libopencl1:i386{a} odbcinst{a} odbcinst1debian2{a}
- p11-kit-modules:i386{a} p7zip{a} python-dnspython{a} samba{ab}
- samba-dsdb-modules{ab} samba-vfs-modules{ab} tdb-tools{a}
- ttf-wqy-microhei{a} unixodbc{a} winbind{ab} wine wine-gecko2.21{a}
- wine-gecko2.21:i386{a} wine-mono0.0.8{a} wine1.6{a} wine1.6-amd64{a}
- wine1.6-i386:i386{a} winetricks{a}
- 0 个软件包被升级,新安装 90 个, 0 个将被删除, 同时 0 个将不升级。
- 需要获取 159 MB 的存档。 解包后将要使用 530 MB。
- 下列软件包存在未满足的依赖关系:
- libssl1.0.0 : 破坏: libssl1.0.0:i386 (!= 1.0.1f-1ubuntu2.7) 但是 1.0.1f-1ubuntu2 将被安装。
- libssl1.0.0:i386 : 破坏: libssl1.0.0 (!= 1.0.1f-1ubuntu2) 但是 1.0.1f-1ubuntu2.7 已安装。
- libsane-common : 冲突: libsane-common:i386 但是 1.0.23-3ubuntu3 将被安装。
- libsane-common:i386 : 冲突: libsane-common 但是 1.0.23-3ubuntu3.1 已安装。
- winbind : 依赖: libwbclient0 (= 2:4.1.6+dfsg-1ubuntu2) 但是 2:4.1.6+dfsg-1ubuntu2.14.04.2 已安装。
- 依赖: samba-libs (= 2:4.1.6+dfsg-1ubuntu2) 但是 2:4.1.6+dfsg-1ubuntu2.14.04.2 已安装。
- libjson-c2 : 破坏: libjson-c2:i386 (!= 0.11-3ubuntu1.2) 但是 0.11-3ubuntu1 将被安装。
- libjson-c2:i386 : 破坏: libjson-c2 (!= 0.11-3ubuntu1) 但是 0.11-3ubuntu1.2 已安装。
- samba : 依赖: samba-common (= 2:4.1.6+dfsg-1ubuntu2) 但是 2:4.1.6+dfsg-1ubuntu2.14.04.2 已安装。
- 依赖: samba-common-bin (= 2:4.1.6+dfsg-1ubuntu2) 但是 2:4.1.6+dfsg-1ubuntu2.14.04.2 已安装。
- 依赖: samba-libs (= 2:4.1.6+dfsg-1ubuntu2) 但是 2:4.1.6+dfsg-1ubuntu2.14.04.2 已安装。
- libuuid1 : 破坏: libuuid1:i386 (!= 2.20.1-5.1ubuntu20.1) 但是 2.20.1-5.1ubuntu20 将被安装。
- libuuid1:i386 : 破坏: libuuid1 (!= 2.20.1-5.1ubuntu20) 但是 2.20.1-5.1ubuntu20.1 已安装。
- samba-dsdb-modules : 依赖: samba-libs (= 2:4.1.6+dfsg-1ubuntu2) 但是 2:4.1.6+dfsg-1ubuntu2.14.04.2 已安装。
- libgphoto2-port10 : 破坏: libgphoto2-port10:i386 (!= 2.5.3.1-1ubuntu2.2) 但是 2.5.3.1-1ubuntu2 将被安装。
- libgphoto2-port10:i386 : 破坏: libgphoto2-port10 (!= 2.5.3.1-1ubuntu2) 但是 2.5.3.1-1ubuntu2.2 已安装。
- libxml2 : 破坏: libxml2:i386 (!= 2.9.1+dfsg1-3ubuntu4.3) 但是 2.9.1+dfsg1-3ubuntu4 将被安装。
- libxml2:i386 : 破坏: libxml2 (!= 2.9.1+dfsg1-3ubuntu4) 但是 2.9.1+dfsg1-3ubuntu4.3 已安装。
- libsane : 破坏: libsane:i386 (!= 1.0.23-3ubuntu3.1) 但是 1.0.23-3ubuntu3 将被安装。
- libsane:i386 : 破坏: libsane (!= 1.0.23-3ubuntu3) 但是 1.0.23-3ubuntu3.1 已安装。
- libosmesa6 : 依赖: libglapi-mesa (= 10.1.0-4ubuntu5) 但是 10.1.3-0ubuntu0.1 已安装。
- libosmesa6:i386 : 依赖: libglapi-mesa:i386 (= 10.1.0-4ubuntu5) 但是 10.1.3-0ubuntu0.1 已安装。
- libgphoto2-6 : 破坏: libgphoto2-6:i386 (!= 2.5.3.1-1ubuntu2.2) 但是 2.5.3.1-1ubuntu2 将被安装。
- libgphoto2-6:i386 : 破坏: libgphoto2-6 (!= 2.5.3.1-1ubuntu2) 但是 2.5.3.1-1ubuntu2.2 已安装。
- samba-vfs-modules : 依赖: samba-libs (= 2:4.1.6+dfsg-1ubuntu2) 但是 2:4.1.6+dfsg-1ubuntu2.14.04.2 已安装。
- 打开:93;关闭;1255;defer: 19; 冲突;22 .下列动作将解决这些依赖关系:
- 保持 下列软件包于其当前版本:
- 1) libasound2-plugins:i386 [未安装的]
- 2) libgphoto2-6:i386 [未安装的]
- 3) libgphoto2-port10:i386 [未安装的]
- 4) libgstreamer-plugins-base0.10-0:i386 [未安装的]
- 5) libgstreamer0.10-0:i386 [未安装的]
- 6) libjson-c2:i386 [未安装的]
- 7) libosmesa6 [未安装的]
- 8) libosmesa6:i386 [未安装的]
- 9) libpulse0:i386 [未安装的]
- 10) libsane:i386 [未安装的]
- 11) libsane-common:i386 [未安装的]
- 12) libsasl2-modules:i386 [未安装的]
- 13) libsm6:i386 [未安装的]
- 14) libssl1.0.0:i386 [未安装的]
- 15) libuuid1:i386 [未安装的]
- 16) libxml2:i386 [未安装的]
- 17) libxslt1.1:i386 [未安装的]
- 18) libxt6:i386 [未安装的]
- 19) samba [未安装的]
- 20) samba-dsdb-modules [未安装的]
- 21) samba-vfs-modules [未安装的]
- 22) winbind [未安装的]
- 23) wine [未安装的]
- 24) wine1.6 [未安装的]
- 25) wine1.6-amd64 [未安装的]
- 26) wine1.6-i386:i386 [未安装的]
- 保留下列未解决的依赖关系:
- 27) wine1.6 推荐 winbind
- 28) wine1.6-amd64 推荐 libosmesa6
- 29) winetricks 推荐 wine
- 30) libsasl2-2:i386 推荐 libsasl2-modules:i386 (>= 2.1.25.dfsg1-17build1)
- 31) libopenal1:i386 推荐 libpulse0:i386 (>= 1:0.99.1)
- 32) wine1.6-i386:i386 推荐 libosmesa6:i386
- 33) wine1.6-i386:i386 推荐 libsane:i386
- 是否接受该解决方案?[Y/n/q/?] Y
- 下列"新"软件包将被安装。
- binfmt-support{a} fonts-unfonts-core{a} fonts-wqy-microhei{a}
- ocl-icd-libopencl1{a} odbcinst{a} odbcinst1debian2{a} ttf-wqy-microhei{a}
- unixodbc{a}
- 0 个软件包被升级,新安装 8 个, 0 个将被删除, 同时 0 个将不升级。
- 需要获取 16.2 MB 的存档。 解包后将要使用 40.4 MB。
- 您要继续吗?[Y/n/?] Y
- 读取: 1 http://cn.archive.ubuntu.com/ubuntu/ trusty/main fonts-unfonts-core all 1.0.3.is.1.0.2-080608-10ubuntu1 [14.4 MB]
- 读取: 2 http://cn.archive.ubuntu.com/ubuntu/ trusty/main odbcinst amd64 2.2.14p2-5ubuntu5 [12.6 kB]
- 读取: 3 http://cn.archive.ubuntu.com/ubuntu/ trusty/main odbcinst1debian2 amd64 2.2.14p2-5ubuntu5 [40.6 kB]
- 读取: 4 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe ocl-icd-libopencl1 amd64 2.1.3-4 [28.1 kB]
- 读取: 5 http://cn.archive.ubuntu.com/ubuntu/ trusty/main binfmt-support amd64 2.1.4-1 [49.0 kB]
- 读取: 6 http://cn.archive.ubuntu.com/ubuntu/ trusty/main fonts-wqy-microhei all 0.2.0-beta-2 [1,607 kB]
- 读取: 7 http://cn.archive.ubuntu.com/ubuntu/ trusty/main ttf-wqy-microhei all 0.2.0-beta-2 [2,566 B]
- 读取: 8 http://cn.archive.ubuntu.com/ubuntu/ trusty/main unixodbc amd64 2.2.14p2-5ubuntu5 [19.8 kB]
- 已下载 16.2 MB,耗时 25秒 (634 kB/s)
- Selecting previously unselected package fonts-unfonts-core.
- (正在读取数据库 ... 系统当前共安装有 214584 个文件和目录。)
- Preparing to unpack .../fonts-unfonts-core_1.0.3.is.1.0.2-080608-10ubuntu1_all.deb ...
- Unpacking fonts-unfonts-core (1.0.3.is.1.0.2-080608-10ubuntu1) ...
- Selecting previously unselected package odbcinst.
- Preparing to unpack .../odbcinst_2.2.14p2-5ubuntu5_amd64.deb ...
- Unpacking odbcinst (2.2.14p2-5ubuntu5) ...
- Selecting previously unselected package odbcinst1debian2:amd64.
- Preparing to unpack .../odbcinst1debian2_2.2.14p2-5ubuntu5_amd64.deb ...
- Unpacking odbcinst1debian2:amd64 (2.2.14p2-5ubuntu5) ...
- Selecting previously unselected package ocl-icd-libopencl1:amd64.
- Preparing to unpack .../ocl-icd-libopencl1_2.1.3-4_amd64.deb ...
- Unpacking ocl-icd-libopencl1:amd64 (2.1.3-4) ...
- Selecting previously unselected package binfmt-support.
- Preparing to unpack .../binfmt-support_2.1.4-1_amd64.deb ...
- Unpacking binfmt-support (2.1.4-1) ...
- Selecting previously unselected package fonts-wqy-microhei.
- Preparing to unpack .../fonts-wqy-microhei_0.2.0-beta-2_all.deb ...
- Unpacking fonts-wqy-microhei (0.2.0-beta-2) ...
- Selecting previously unselected package ttf-wqy-microhei.
- Preparing to unpack .../ttf-wqy-microhei_0.2.0-beta-2_all.deb ...
- Unpacking ttf-wqy-microhei (0.2.0-beta-2) ...
- Selecting previously unselected package unixodbc.
- Preparing to unpack .../unixodbc_2.2.14p2-5ubuntu5_amd64.deb ...
- Unpacking unixodbc (2.2.14p2-5ubuntu5) ...
- Processing triggers for fontconfig (2.11.0-0ubuntu4.1) ...
- Processing triggers for man-db (2.6.7.1-1) ...
- Processing triggers for doc-base (0.10.5) ...
- Processing 1 added doc-base file...
- Registering documents with scrollkeeper...
- Processing triggers for ureadahead (0.100.0-16) ...
- ureadahead will be reprofiled on next reboot
- 正在设置 fonts-unfonts-core (1.0.3.is.1.0.2-080608-10ubuntu1) ...
- 正在设置 ocl-icd-libopencl1:amd64 (2.1.3-4) ...
- 正在设置 binfmt-support (2.1.4-1) ...
- binfmt-support start/running
- 正在设置 fonts-wqy-microhei (0.2.0-beta-2) ...
- 正在设置 ttf-wqy-microhei (0.2.0-beta-2) ...
- 正在设置 odbcinst (2.2.14p2-5ubuntu5) ...
- 正在设置 odbcinst1debian2:amd64 (2.2.14p2-5ubuntu5) ...
- 正在设置 unixodbc (2.2.14p2-5ubuntu5) ...
- Processing triggers for libc-bin (2.19-0ubuntu6) ...
- Processing triggers for ureadahead (0.100.0-16) ...
- senrsl@senrsl-ubuntu:~$ wine
- 未找到 'wine' 命令,您要输入的是否是:
- 命令 'xine' 来自于包 'xine-ui' (universe)
- 命令 'line' 来自于包 'util-linux' (main)
- 命令 'win' 来自于包 'wily' (universe)
- 命令 'wipe' 来自于包 'wipe' (universe)
- 命令 'wing' 来自于包 'wing' (universe)
- wine:未找到命令
然后就在google搜老半天,找到了www.sysads.co.uk/2014/07/install-wine-1-7-22- ubuntu-14-04/,他提供了两套方案:
之前第一套方案已经试遍了,不行,然后第二套方案,wget sourcefoget,已经被封的下载速度一直几K。。。。
- Method 1: Install via PPA
- sudo add-apt-repository ppa:ubuntu-wine/ppa
- sudo apt-get update
- sudo apt-get install wine1.7
- Method 2: Compile from source
- sudo apt-get install flex bison qt4-qmake xorg-dev
- wget http://prdownloads.sourceforge.net/wine/wine-1.7.22.tar.bz2 tar -xjvf wine-1.7.22.tar.bz2 cd wine-1.7.22
- 32-bit OS
- ./configure
- make
- sudo make install
- ./wine --version
- 64-bit OS
- ./configure --enable-win64
- make
- sudo make install
- ./wine64 --version
然后到github上,搜到了这个github.com/wine-mirror/wine
然后把他下载下来,按他说的折腾。
提他里面提供了64位怎么弄(wiki.winehq.org/Wine64),其实就跟上面一样的。
依次行之
这里面make要等好久啊,不过 make install 很快。
- senrsl@senrsl-ubuntu:~/tools/wine-master$ cd tools/wine-master/
- senrsl@senrsl-ubuntu:~/tools/wine-master$ ./configure --enable-win64
- senrsl@senrsl-ubuntu:~/tools/wine-master$ make
- senrsl@senrsl-ubuntu:~/tools/wine-master$ sudo make install
- senrsl@senrsl-ubuntu:~/tools/wine-master$ ./wine64 --version
- wine-1.7.41
然后启动一个
- senrsl@senrsl-ubuntu:~/tools/wine-master$ ./wine64 ~/share/putty.exe
这地方要点安装,要不然之后再启动别的就启动不起来,如果点了取消,就把~/.wine文件夹删了,他又会弹出来。
然后下载
2015年04月27日21:19:11
就让他慢慢下吧。。。。。
第二天来了发现卡这了2015年04月28日10:13:10
然后删了那个.wine,在重新执行一下
- senrsl@senrsl-ubuntu:~/tools/wine-master$ ./wine64 ~/share/putty.exe
- wine: created the configuration directory '/home/senrsl/.wine'
- fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
- fixme:wininet:set_cookie Unknown additional option L"Max-Age=315360000; Path=/"
- fixme:wininet:set_cookie Unknown additional option L"Max-Age=315360000; Path=/"
- fixme:wininet:set_cookie Unknown additional option L"Max-Age=315360000; Path=/"
- err:process:__wine_kernel_init boot event wait timed out
- senrsl@senrsl-ubuntu:~/tools/wine-master$ fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
- fixme:wininet:set_cookie Unknown additional option L"Max-Age=315360000; Path=/"
- fixme:wininet:set_cookie Unknown additional option L"Max-Age=315360000; Path=/"
- fixme:wininet:set_cookie Unknown additional option L"Max-Age=315360000; Path=/"
- fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
- fixme:dwmapi:DwmIsCompositionEnabled 0x6d1e8a90
- fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69e5e647, context 0x7a13c0, init_notify 0, handle 0x102e1c0): stub
- fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
- wine: configuration in '/home/senrsl/.wine' has been updated.
看.wine的目录,运行内置的程序
- senrsl@senrsl-ubuntu:~/tools/wine-master$ ./wine64 ~/share/mingw-get-setup.exe
- wine: created the configuration directory '/home/senrsl/.wine'
- fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
- fixme:wininet:set_cookie Unknown additional option L"Max-Age=315360000; Path=/"
- fixme:wininet:set_cookie Unknown additional option L"Max-Age=315360000; Path=/"
- fixme:wininet:set_cookie Unknown additional option L"Max-Age=315360000; Path=/"
- fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
- err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
- fixme:dwmapi:DwmIsCompositionEnabled 0x6d1e8a90
- fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69e5e647, context 0x7a13c0, init_notify 0, handle 0x102e1c0): stub
- fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
- wine: configuration in '/home/senrsl/.wine' has been updated.
- senrsl@senrsl-ubuntu:~/tools/wine-master$ ./wine64 ~/share/mingw-get-setup.exe
- senrsl@senrsl-ubuntu:~/tools/wine-master$ ./wine64 ~/share/mingw-get-setup.exe
- senrsl@senrsl-ubuntu:~/tools/wine-master$ ./wine64 ~/share/mingw-get-setup.exe
- wine: created the configuration directory '/home/senrsl/.wine'
- fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- err:mscoree:LoadLibraryShim error reading registry key for installroot
- fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
- err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
- fixme:dwmapi:DwmIsCompositionEnabled 0x6d1e8a90
- fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69e5e647, context 0x7a13c0, init_notify 0, handle 0x102e1c0): stub
- fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
- wine: configuration in '/home/senrsl/.wine' has been updated.
- senrsl@senrsl-ubuntu:~/tools/wine-master$
发现内置的可以启动
- senrsl@senrsl-ubuntu:~/tools/wine-master$ ./wine64 /home/senrsl/.wine/drive_c/windows/notepad.exe
发现一下命令行,这是已经注册了
- senrsl@senrsl-ubuntu:~$ wine
- wine64 wineconsole wineg++ wineserver
- wine64-preloader winecpp winegcc winetricks
- wineboot winedbg winemaker
- winebuild winedump winemine
- winecfg winefile winepath
这看来是一个问题
卸掉所有跟wine相关,重启机器。2015年04月28日12:29:05
- senrsl@senrsl-ubuntu:~/下载$ wine64 Si3576Setup.exe
- err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
- fixme:dwmapi:DwmIsCompositionEnabled 0x6d1e8a90
- fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69e5e647, context 0x7a1390, init_notify 0, handle 0x102e1c0): stub
- fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
- wine: configuration in '/home/senrsl/.wine' has been updated.
然后重新折腾,本想安x32的,发现安的时候就一堆库找不到,好吧,重新弄x64.
wine make install后,要先执行winecfg,执行的使用会找不到wine,因为x64叫wine64,就给他挂个链接
这样就启动起来wine的配置界面了。。。。。。。。。
- senrsl@senrsl-ubuntu:~/tools/wine-master$ winecfg
- /usr/local/bin/winecfg: 52: exec: wine: not found
- senrsl@senrsl-ubuntu:~/tools/wine-master$ ln -s /usr/local/bin/wine64 /usr/local/bin/wine
- ln: 无法创建符号链接"/usr/local/bin/wine": 权限不够
- senrsl@senrsl-ubuntu:~/tools/wine-master$ sudo ln -s /usr/local/bin/wine64 /usr/local/bin/wine
- senrsl@senrsl-ubuntu:~/tools/wine-master$ winecfg
终于有点希望了
然后安装winetricks.
驱动器不显示
- senrsl@senrsl-ubuntu:~/下载$ wget http://kegel.com/wine/winetricks
- --2015-04-28 13:56:12-- http://kegel.com/wine/winetricks
- 正在解析主机 kegel.com (kegel.com)... 216.92.86.126
- 正在连接 kegel.com (kegel.com)|216.92.86.126|:80... 已连接。
- 已发出 HTTP 请求,正在等待回应... 200 OK
- 长度: 643780 (629K) [text/plain]
- 正在保存至: "winetricks"
- 100%[======================================>] 643,780 238KB/s 用时 2.6s
- 2015-04-28 13:56:16 (238 KB/s) - 已保存 "winetricks" [643780/643780])
- senrsl@senrsl-ubuntu:~/下载$ chmod +x winetricks
- senrsl@senrsl-ubuntu:~/下载$ sudo cp winetricks /usr/local/bin
- [sudo] password for senrsl:
- senrsl@senrsl-ubuntu:~/下载$ winetricks dotnet20
- ------------------------------------------------------
- You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
- ------------------------------------------------------
- Executing w_do_call dotnet20
- Executing load_dotnet20
- Executing mkdir -p /home/senrsl/.cache/winetricks/dotnet20
- Downloading http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/dotnetfx.exe to /home/senrsl/.cache/winetricks/dotnet20
- --2015-04-28 13:58:13-- http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/dotnetfx.exe
- 正在解析主机 download.lenovo.com (download.lenovo.com)... 69.192.12.110
- 正在连接 download.lenovo.com (download.lenovo.com)|69.192.12.110|:80... 已连接。
- 已发出 HTTP 请求,正在等待回应... 200 OK
- 长度: 23510720 (22M) [application/octet-stream]
- 正在保存至: "dotnetfx.exe"
- 100%[======================================>] 23,510,720 593KB/s 用时 38s
- 2015-04-28 13:58:51 (608 KB/s) - 已保存 "dotnetfx.exe" [23510720/23510720])
- Executing w_do_call remove_mono
- Executing load_remove_mono
- fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
- fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
- Executing w_do_call fontfix
- Executing load_fontfix
- Setting Windows version to win2k
- Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20\set-winver.reg
- ------------------------------------------------------
- Working around wine bug 34803
- ------------------------------------------------------
- DELETE - HKLM\Software\Microsoft\.NETFramework\v2.0.50727\SBSDisabled (null) 0 0 0
- 错误:系统无法找到指定的注册表键或值
- Current wine does not have wine bug 30845, so not applying workaround
- Executing wine dotnetfx.exe
- wine: Bad EXE format for Y:\dotnet20\dotnetfx.exe.
- ------------------------------------------------------
- Note: command 'wine dotnetfx.exe' returned status 193. Aborting.
- ------------------------------------------------------
注册表
senrsl@senrsl-ubuntu:~$ regedit
winetricks竟然有窗口
用这个安个应用,弹出的提示
终端记录
- Would you like to help winetricks development by letting winetricks report statistics? You can turn reporting off at any time with the command 'winetricks --optout'
- OK, winetricks will *not* report statistics. You won't be asked this question again
- You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
- Working around wine bug 29636 -- Installing native riched20 to work around crash bug
- Working around wine bug 34567 -- Installing vcrun2005 to avoid installer crash
- Note: command 'wine vcredist_x86.EXE' returned status 193. Aborting.
还是这个问题
- senrsl@senrsl-ubuntu:~$ winetricks
- ------------------------------------------------------
- You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
- ------------------------------------------------------
- Executing w_do_call qq2012
- ------------------------------------------------------
- You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
- ------------------------------------------------------
- Executing load_qq2012
- Executing mkdir -p /home/senrsl/.cache/winetricks/qq2012
- Downloading http://dl_dir.qq.com/qqfile/qq/QQ2012/QQ2012.exe to /home/senrsl/.cache/winetricks/qq2012
- ------------------------------------------------------
- Working around wine bug 29636 -- Installing native riched20 to work around crash bug
- ------------------------------------------------------
- Executing w_do_call riched20
- Executing load_riched20
- Executing mkdir -p /home/senrsl/.cache/winetricks/win2ksp4
- Downloading http://download.microsoft.com/download/E/6/A/E6A04295-D2A8-40D0-A0C5-241BFECD095E/W2KSP4_EN.EXE to /home/senrsl/.cache/winetricks/win2ksp4
- Executing cabextract -q -d /home/senrsl/.local/share/wineprefixes/qq2012/dosdevices/c:/windows/temp/_riched20 -L -F i386/riched20.dl_ /home/senrsl/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
- Executing cabextract -q --directory=/home/senrsl/.local/share/wineprefixes/qq2012/dosdevices/c:/windows/syswow64/home/senrsl/.local/share/wineprefixes/qq2012/dosdevices/c:/windows/temp/_riched20/i386/riched20.dl_
- Using native,builtin override for following DLLs: riched20
- Executing winetricks_early_wine regedit C:\windows\Temp\_riched20\override-dll.reg
- Executing w_do_call msls31
- Executing load_msls31
- Executing mkdir -p /home/senrsl/.cache/winetricks/msls31
- Downloading http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe to /home/senrsl/.cache/winetricks/msls31
- Executing cabextract -q --directory=/home/senrsl/.local/share/wineprefixes/qq2012/dosdevices/c:/windows/temp/_msls31 /home/senrsl/.cache/winetricks/msls31/InstMsiW.exe
- Executing cp -f /home/senrsl/.local/share/wineprefixes/qq2012/dosdevices/c:/windows/temp/_msls31/msls31.dll/home/senrsl/.local/share/wineprefixes/qq2012/dosdevices/c:/windows/syswow64
- ------------------------------------------------------
- Working around wine bug 34567 -- Installing vcrun2005 to avoid installer crash
- ------------------------------------------------------
- Executing w_do_call vcrun2005
- Executing load_vcrun2005
- Executing mkdir -p /home/senrsl/.cache/winetricks/vcrun2005
- Downloading http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE to /home/senrsl/.cache/winetricks/vcrun2005
- Using native,builtin override for following DLLs: atl80 msvcm80 msvcp80 msvcr80 vcomp
- Executing winetricks_early_wine regedit C:\windows\Temp\_vcrun2005\override-dll.reg
- Executing wine vcredist_x86.EXE
- wine: Bad EXE format for Y:\vcrun2005\vcredist_x86.EXE.
- ------------------------------------------------------
- Note: command 'wine vcredist_x86.EXE' returned status 193. Aborting.
- ------------------------------------------------------
- senrsl@senrsl-ubuntu:~$
修改注册表
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes下面
上面俩MS,改,下面一个,加。
折腾折腾折腾。。。。。
心累。。。。。。。。。。。不搞了
使用第二套方案,虚拟机里安SI,然后ubuntu的源码映射过去看。。。。。
2015年04月28日15:18:42
Source Insight
安装source insight3.5,下载www.sourceinsight.com/distribute/Si3576Setup.exe,
然后,安上,然后SI3US-361500-17409,然后各种英文
然后汉化,下个3.5的汉化包,直接替换掉。
心累,心碎,wine,╮(╯▽╰)╭
虚拟机乱入
共享文件夹加上源码目录
效果是这样的
然后配置SourceInsight
菜单第四个项目--新项目,选择目录。
确定,然后
下一页,点击添加树
关闭这个窗口,就自动加进去了
乱码
源码是UTF-8的。
下载支持UTF-8的插件放到根目录,再打开就OK了。
中文中间有好大空格,这么搞
选项--参数--语法格式--风格--Comment--宋体,大小10,即时预览
目录结构
视图--项目窗口
第二个项目文件浏览器,就是目录结构
看起来不错
vim
然后,在ubuntu搭一个,使用vim
安装ctags
哎,好麻烦好麻烦,不搞了,还是虚拟机引用着吧。。。。
- senrsl@senrsl-ubuntu:~$ sudo apt-get install ctags
- 正在读取软件包列表... 完成
- 正在分析软件包的依赖关系树
- 正在读取状态信息... 完成
- 注意,选取 exuberant-ctags 而非 ctags
- 建议安装的软件包:
- vim nvi elvis vile emacsen
- 下列【新】软件包将被安装:
- exuberant-ctags
- 升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
- 需要下载 120 kB 的软件包。
- 解压缩后会消耗掉 334 kB 的额外空间。
- 获取:1 http://cn.archive.ubuntu.com/ubuntu/ trusty/main exuberant-ctags amd64 1:5.9~svn20110310-7 [120 kB]
- 下载 120 kB,耗时 0秒 (940 kB/s)
- Selecting previously unselected package exuberant-ctags.
- (正在读取数据库 ... 系统当前共安装有 213533 个文件和目录。)
- Preparing to unpack .../exuberant-ctags_1%3a5.9~svn20110310-7_amd64.deb ...
- Unpacking exuberant-ctags (1:5.9~svn20110310-7) ...
- Processing triggers for man-db (2.6.7.1-1) ...
- 正在设置 exuberant-ctags (1:5.9~svn20110310-7) ...
- update-alternatives: using /usr/bin/ctags-exuberant to provide /usr/bin/ctags (ctags) in 自动模式
- update-alternatives: using /usr/bin/ctags-exuberant to provide /usr/bin/etags (etags) in 自动模式
- senrsl@senrsl-ubuntu:~$ ctags
- ctags: No files specified. Try "ctags --help".
- senrsl@senrsl-ubuntu:~$ ctags --help
- Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert
- Compiled: Feb 17 2014, 15:22:03
- Addresses: <dhiebert@users.sourceforge.net>, http://ctags.sourceforge.net
- Optional compiled features: +wildcards, +regex
- Usage: ctags [options] [file(s)]
- -a Append the tags to an existing tag file.
- -B Use backward searching patterns (?...?).
- -e Output tag file for use with Emacs.
- -f <name>
- Write tags to specified file. Value of "-" writes tags to stdout
- ["tags"; or "TAGS" when -e supplied].
- -F Use forward searching patterns (/.../) (default).
- -h <list>
- Specify list of file extensions to be treated as include files.
- [".h.H.hh.hpp.hxx.h++"].
- -I <list|@file>
- A list of tokens to be specially handled is read from either the
- command line or the specified file.
- -L <file>
- A list of source file names are read from the specified file.
- If specified as "-", then standard input is read.
- -n Equivalent to --excmd=number.
- -N Equivalent to --excmd=pattern.
- -o Alternative for -f.
- -R Equivalent to --recurse.
- -u Equivalent to --sort=no.
- -V Equivalent to --verbose.
- -x Print a tabular cross reference file to standard output.
- --append=[yes|no]
- Should tags should be appended to existing tag file [no]?
- --etags-include=file
- Include reference to 'file' in Emacs-style tag file (requires -e).
- --exclude=pattern
- Exclude files and directories matching 'pattern'.
- --excmd=number|pattern|mix
- Uses the specified type of EX command to locate tags [mix].
- --extra=[+|-]flags
- Include extra tag entries for selected information (flags: "fq").
- --fields=[+|-]flags
- Include selected extension fields (flags: "afmikKlnsStz") [fks].
- --file-scope=[yes|no]
- Should tags scoped only for a single file (e.g. "static" tags
- be included in the output [yes]?
- --filter=[yes|no]
- Behave as a filter, reading file names from standard input and
- writing tags to standard output [no].
- --filter-terminator=string
- Specify string to print to stdout following the tags for each file
- parsed when --filter is enabled.
- --format=level
- Force output of specified tag file format [2].
- --help
- Print this option summary.
- --if0=[yes|no]
- Should C code within #if 0 conditional branches be parsed [no]?
- --<LANG>-kinds=[+|-]kinds
- Enable/disable tag kinds for language <LANG>.
- --langdef=name
- Define a new language to be parsed with regular expressions.
- --langmap=map(s)
- Override default mapping of language to source file extension.
- --language-force=language
- Force all files to be interpreted using specified language.
- --languages=[+|-]list
- Restrict files scanned for tags to those mapped to langauges
- specified in the comma-separated 'list'. The list can contain any
- built-in or user-defined language [all].
- --license
- Print details of software license.
- --line-directives=[yes|no]
- Should #line directives be processed [no]?
- --links=[yes|no]
- Indicate whether symbolic links should be followed [yes].
- --list-kinds=[language|all]
- Output a list of all tag kinds for specified language or all.
- --list-languages
- Output list of supported languages.
- --list-maps=[language|all]
- Output list of language mappings.
- --options=file
- Specify file from which command line options should be read.
- --recurse=[yes|no]
- Recurse into directories supplied on command line [no].
- --regex-<LANG>=/line_pattern/name_pattern/[flags]
- Define regular expression for locating tags in specific language.
- --sort=[yes|no|foldcase]
- Should tags be sorted (optionally ignoring case) [yes]?.
- --tag-relative=[yes|no]
- Should paths be relative to location of tag file [no; yes when -e]?
- --totals=[yes|no]
- Print statistics about source and tag files [no].
- --verbose=[yes|no]
- Enable verbose messages describing actions on each source file.
- --version
- Print version identifier to standard output.
- senrsl@senrsl-ubuntu:~$ ctags --version
- Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert
- Compiled: Feb 17 2014, 15:22:03
- Addresses: <dhiebert@users.sourceforge.net>, http://ctags.sourceforge.net
- Optional compiled features: +wildcards, +regex
- senrsl@senrsl-ubuntu:~$
安装taglist
不弄了。。。。。
就这样吧,试试eclipse。。。。2015年04月28日18:42:22
--
senRsl
2015年04月27日17:06:16
2015年04月27日17:06:16
没有评论 :
发表评论