• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 298  文章 - 377  trackbacks - 0
            <2007年8月>
            2930311234
            567891011
            12131415161718
            19202122232425
            2627282930311
            2345678

            常用鏈接

            留言簿(34)

            隨筆分類

            隨筆檔案

            文章檔案

            相冊

            收藏夾

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            Ubuntu Hardy under VMware Fusion

            The latest version of Ubuntu (8.04 a.k.a. Ubuntu Hardy - the world’s most popular Linux distribution) came out yesterday on April 24th. I downloaded it right away to play with on VMware Fusion, my Mac virtualization tool of choice (though I’ve now been told this works in VMware Workstation and VMware Player on the PC too!). It worked pretty well out of the box, with even seamless mouse support working right away, but I needed, of course, to install VMware Tools too, as any good VMware user would do. From there, things turned sour, and I was bombarded with error messages similar to:

            In file included from /tmp/vmware-config8/vmblock-only/linux/os.h:35,
            from /tmp/vmware-config8/vmblock-only/linux/block.c:26:
            /tmp/vmware-config8/vmblock-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
            include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
            In file included from /tmp/vmware-config8/vmblock-only/linux/vmblockInt.h:40,
            from /tmp/vmware-config8/vmblock-only/linux/block.c:29:
            /tmp/vmware-config8/vmblock-only/./include/vm_basic_types.h:184: error: conflicting types for ‘uintptr_t’
            include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
            make[2]: *** [/tmp/vmware-config8/vmblock-only/linux/block.o] Error 1
            make[1]: *** [_module_/tmp/vmware-config8/vmblock-only] Error 2
            make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
            make: *** [vmblock.ko] Error 2
            make: Leaving directory `/tmp/vmware-config8/vmblock-only’
            Unable to build the vmblock module.

            After banging my head against the wall for a while, trying a “vmware-any-any” patch that didn’t quite do the trick, and scouring the VMWare Fusion and Ubuntu Forums, I eventually came across a link to a page that described how to solve the problem. The credit for this solution rests entirely on the guy who wrote that page and a guy called Mufassa who posted a shorter explanation to the VMware Fusion forums.

            I wanted to write this up into a proper blog post though for two reasons. Firstly, I wanted to show how to fix the problem in a more, direct line by line way (just in case you’re a novice or would rather follow some command line instructions). Secondly, I know posts on this blog appear in Google very quickly, so I want people Googling for “vmware fusion” and “ubuntu hardy” (like I was earlier) to find this page and have their problem solved! So, credit to those other guys, but..

            Steps To Getting VMware Tools installed on Ubuntu Hardy under VMware Fusion:

            Use the “Install VMware Tools” option in VMWare Fusion, and drag the .tar file (not the RPM!) to the Ubuntu desktop.

            Open a Terminal (Applications menu -> Accessories -> Terminal). We’ll do all the work from the Terminal. First, we need to install some dependencies:

            sudo apt-get install build-essential libgtk2.0-dev
            sudo apt-get install libproc-dev libdumbnet-dev xorg-dev
            cd Desktop/

            wget http://mesh.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2008.04.14-87182.tar.gz

            Next, we need to unpack the tar files we have at hand:

            tar xzvf VMware*.gz
            tar xzvf open-vm-tools*.gz

            Next, we’ll build the open-vm-tools:

            cd open-vm-tools-2008.04.14-87182/
            ./configure && make
            cd modules/linux/

            In the modules/linux folder we have the vmblock, vmhgfs, vmmemctl, vmsync and vmxnet modules that we need to tar up and place into the official VMware tools tarball:

            for i in *; do mv ${i} ${i}-only; tar -cf ${i}.tar ${i}-only; done
            cd ../../..

            mv -f open-vm-tools-2008.04.14-87182/modules/linux/*.tar vmware-tools-distrib/lib/modules/source/

            Now we can run the regular VMware tools installer:

            cd vmware-tools-distrib/
            sudo ./vmware-install.pl

            Once this is done, the best tactic is to restart Ubuntu entirely. Once you boot back up, things should seem a bit smoother. The resolution of the VM will stick to the size of the VM, etc, and you can now drag files directly into Ubuntu Hardy from your Mac desktop!

            Note: A few of the lines of code you need to use above are single lines of code but spread over multiple lines on your screen when viewing this blog. Either make your browser wider, or copy and paste them into a text editor before continuing.


            posted on 2008-07-08 22:01 聶文龍 閱讀(2138) 評論(3)  編輯 收藏 引用 所屬分類: Linux

            FeedBack:
            # re: How to Install VMware Tools on Ubuntu Hardy 8.04 under VMware Fusion  2010-03-29 15:29 WyattAlberta29
            Following my exploration, billions of persons all over the world get the <a href="http://lowest-rate-loans.com/topics/business-loans">business loans</a> from different banks. Hence, there is good chances to get a sba loan in all countries.   回復  更多評論
              
            # re: How to Install VMware Tools on Ubuntu Hardy 8.04 under VMware Fusion  2010-08-05 21:49 custom essay
            this good topic is very hot knowledge and I think that people would like buy an essay or custom writing to know more facts close to it from essay writing service.   回復  更多評論
              
            # re: How to Install VMware Tools on Ubuntu Hardy 8.04 under VMware Fusion  2010-08-08 14:20 custom written essays
            Only here people have to see great information about this good topic. With the help of you the good features of become a freelance writer are apparent. I guess that after it used to be effortless to receaive well accomplished essay writing format at custom essay writing organization.   回復  更多評論
              
            # re: How to Install VMware Tools on Ubuntu Hardy 8.04 under VMware Fusion  2010-08-12 02:04 buy an essay online
            Students should acknowledge that the superb custom writing services can aid to reach good grades, accomplishing the great quality persuasive term paper. Thus, it's your choice to buy essay papers or to waste several days just for papers composing!   回復  更多評論
              
            99久久国产免费福利| 久久久久国产一级毛片高清板| 77777亚洲午夜久久多喷| 久久午夜伦鲁片免费无码| 国产成人综合久久久久久| 久久午夜福利无码1000合集| 国产精品99久久免费观看| 亚洲人成无码久久电影网站| 少妇久久久久久久久久| 久久久久国产| 久久精品国产精品青草app| 热久久国产欧美一区二区精品| 久久ZYZ资源站无码中文动漫| 久久亚洲国产成人精品无码区| av国内精品久久久久影院| 波多野结衣久久一区二区| 精品国产91久久久久久久a| 热久久最新网站获取| 嫩草影院久久99| 99久久精品午夜一区二区| 久久丝袜精品中文字幕| 夜夜亚洲天天久久| 精品国产福利久久久| 亚洲国产精品一区二区久久hs| 久久久久久国产a免费观看不卡| 国产精品久久永久免费| 国产亚洲精久久久久久无码| 久久AV高潮AV无码AV| 欧美麻豆久久久久久中文| 国产精品狼人久久久久影院 | 亚洲精品高清国产一久久| 国产精品9999久久久久| 国产成人综合久久综合 | 人人狠狠综合久久亚洲高清| 久久er国产精品免费观看8| 一级做a爰片久久毛片16| 国产A级毛片久久久精品毛片| 国产精品热久久无码av| 香蕉99久久国产综合精品宅男自| 色天使久久综合网天天| 色狠狠久久AV五月综合|