Attached is an ebuild and related files to get VM Ware Workstation 3 running on gentoo. The install process that comes with VM Ware makes assumptions about the init process that doesn't hold up with gentoo. VM Ware is a commercial emulator that virtualizes the PC hardware. I personally found VM Ware a great to become familar with the install process for gentoo before I actually reformatted my machine. Some of the cooler features are booting off of an iso image with out burning it to CD. Being able to suspend the virtual machine, reboot the real machine, and resume the virtual machine with out it knowing a reboot ever took place. I suggest app-emulation. This package rdepends on x11, kernel headers, and perl. This is really a follow up of Bug #448 because I couldn't attach new files to it.
Created attachment 108 [details] vmwareworkstation-3.0.0.1455-r1.ebuild and related files $ tar tzf vmwareworkstation-r1.tar.gz vmwareworkstation/ vmwareworkstation/files/ vmwareworkstation/files/digest-vmwareworkstation-3.0.0.1455-r1 vmwareworkstation/files/3.0.0.1455-r1/ vmwareworkstation/files/3.0.0.1455-r1/90vmware vmwareworkstation/files/3.0.0.1455-r1/vmware vmwareworkstation/vmwareworkstation-3.0.0.1455-r1.ebuild
*** Bug 448 has been marked as a duplicate of this bug. ***
I added this ebuild and it's almost working, but /etc/vmware/not_configured doesn't get removed after a successful vmware_config.pl. This prevents /etc/init.d/vmware start from completing successfully. Once this problem is fixed I'll commit it.
I chatted with Daniel Robbins on IRC and was unable to figure out any of the described problems. If you have problems with this ebuild please contact me with any related info. Specifically I'm instersted in any error message and the related history of your maching, like if you had VM Ware already installed. Any info would be helpful because despite my best efforts I can't make the merge process break on my box which probably means my brain is in a rut and I can't think outside the box.
I'm keeping this bug assigned to me and I'll try some additional things as I have time. Sorry to make this confusing for you :)
I was able to reproduce the not_configured bug. I should be able to fix it now. :~) I'll try to find the time tommorow.
OK, got a report on irc that the current ebuild on Portage (still masked out) worked for someone. So once you fix the "not configured" bug, it should be perfect, hopefully :)
Below is a diff that should fix any problems that should prevent any future problems for people what start by using this version of the ebuild. People that have installed vmware before won't. I think if you simply append the new /etc/vmware/locations with the previous one all will be fine and preference will be preserved but I have yet to test this. I'll try to test when I get home tonight. *** vmware-workstation-3.0.0.1455.ebuild Sun Feb 10 23:43:00 2002 --- vmware-workstation-3.0.0.1455-r1.ebuild Wed Feb 13 13:30:49 2002 *************** *** 104,109 **** --- 104,112 ---- if [ "${x}" == "/etc/vmware/locations" ] then echo "" >> ${D}/etc/vmware/locations + elif [ "${x}" == "/etc/vmware/not_configured" ] + then + echo "" >> ${D}/etc/vmware/locations else echo -n " " >> ${D}/etc/vmware/locations perl -e "@a = stat('${D}${x}'); print \$a[9]" >> ${D}/etc/vmware/locations
applied the patch and tried to install it, worked like a charm :)
William, I didn't quite understand your comment in post #8. Are you saying that this ebuild *will* work for new users as well as those who have had vmware installed before by hand?
The patch in #8 should fix the ebuild enough that people that use the patched version to do a fresh vmware install will not have any future problems. People with existing vmware installs will still have the not_configured problem. I believe the correct fix is to simply append the new /etc/vmware/locations to the existing one but I have yet to test that.
Daniel, Ok, I'm attching a new version of the ebuild. I think it is well tested and I'll explain what has changed when I get back from going out tonight.
Freaking bugzilla attach! You can get it from: http://Leknor.com/vmware-workstation-r1.tar.gz
OK, adding this to cvs now. Could you send me a proper ChangeLog along with this ebuild so we can start tracking improvements? I'll leave this bug open until I get one :)