Gentoo Forums
Gentoo Forums
Quick Search: in
VMware Workstation 6 beta Installation on 64bit, Draft Howto
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Kaso_da_Zmok
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 96
Location: Cork, Ireland

PostPosted: Fri Jan 12, 2007 1:11 pm    Post subject: VMware Workstation 6 beta Installation on 64bit, Draft Howto Reply with quote

My intention was to install the Workstation 6.0 beta X86_64 onto a Gentoo x86_64 and power on a VM, and i did it successfully.

First register here to get to the download page (or not and use the direct link)
Code:

http://register.vmware.com/content/beta/ws/registration.html



register and download the WKS 6.0 beta, on the same page where you have the download link is also the registration number, just note it somewhere, you will need it at the end.
Code:
http://register.vmware.com/content/beta/ws/download.html


Code:

http://download3.vmware.com/software/wkst/VMware-workstation-e.x.p-36983.x86_64.tar.gz


unpack somewhere
Code:
tar xzf VMware-workstation-e.x.p-36983.x86_64.tar.gz

drwxr-xr-x 10 root root 4096 Dec 19 22:55 vmware-distrib

Create the linux runlevel dirs somewhere as the install will ask for it.
for example here:
cd /etc/runlevels
and create rc0.d - rc6.d
Note: I am creating the rc folders just to cheat the installer, or solve it DIY, this is just a quick workaround.
Anyways we don't need the folders after the install is done.

Run the installation

Code:
localhost risko # cd vmware-distrib/
localhost vmware-distrib # ./vmware-install.pl



Code:
Creating a new installer database using the tar4 format.

Installing the content of the package. This may take from several
minutes to
over an hour depending on the size of the package.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to
rc6.d/)? /etc/runlevels

What is the directory that contains the init scripts?
[/etc/runlevels] /etc/init.d/

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware]

The path "/usr/lib/vmware" does not exist currently. This program is
going to
create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the manual files?
[/usr/share/man]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]

The path "/usr/share/doc/vmware" does not exist currently. This program
is
going to create it, including needed parent directories. Is this what
you want?
[yes]

The installation of VMware Workstation e.x.p build-36983 for Linux
completed
successfully. You can decide to remove this software from your system at
any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Workstation for the first time, you need to
configure it
by invoking the following command: "/usr/bin/vmware-config.pl". Do you
want
this program to invoke the command for you now? [yes]

The correct version of one or more libraries needed to run VMware
Workstation
may be missing.  This is the output of ldd /usr/bin/vmware:
        linux-gate.so.1 =>  (0xffffe000)
        libm.so.6 => /lib32/libm.so.6 (0xf7f4e000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7f4a000)
        libc.so.6 => /lib32/libc.so.6 (0xf7e23000)
        /lib/ld-linux.so.2 (0xf7f7d000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf7e0c000)
        libX11.so.6 => not found
        libXtst.so.6 => not found
        libXext.so.6 => not found
        libXrender.so.1 => not found
        libz.so.1 => not found

This program cannot tell for sure, but you may need to upgrade libc5 to
glibc
before you can run VMware Workstation.

Hit enter to continue.

Making sure services for VMware Workstation are stopped.

Stopping VMware services:
/etc/init.d/vmware: line 660: /sbin/pidof: No such file or directory
   Virtual machine monitor
done
Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the theme icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have
a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

None of the pre-built vmmon modules for VMware Workstation is suitable
for your
running kernel.  Do you want this program to try to build the vmmon
module for
your system (you need to have a C compiler installed on your system)?
[yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your
running
kernel? [/lib/modules/2.6.19-gentoo-r3/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.19-gentoo-r3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r3'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/crosstalkContext.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/crosstalkDatagram.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/crosstalkDriver.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/crosstalkDs.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/crosstalkGroup.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/crosstalkHashtable.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/crosstalkProcess.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/crosstalkResource.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/crosstalkSharedMem.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/task.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config0/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r3'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.


Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmblock-only'
make -C /lib/modules/2.6.19-gentoo-r3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r3'
  CC [M]  /tmp/vmware-config0/vmblock-only/linux/block.o
  CC [M]  /tmp/vmware-config0/vmblock-only/linux/control.o
  CC [M]  /tmp/vmware-config0/vmblock-only/linux/dentry.o
  CC [M]  /tmp/vmware-config0/vmblock-only/linux/file.o
  CC [M]  /tmp/vmware-config0/vmblock-only/linux/filesystem.o
  CC [M]  /tmp/vmware-config0/vmblock-only/linux/inode.o
  CC [M]  /tmp/vmware-config0/vmblock-only/linux/module.o
  CC [M]  /tmp/vmware-config0/vmblock-only/linux/super.o
  LD [M]  /tmp/vmware-config0/vmblock-only/vmblock.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config0/vmblock-only/vmblock.mod.o
  LD [M]  /tmp/vmware-config0/vmblock-only/vmblock.ko
make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r3'
cp -f vmblock.ko ./../vmblock.o
make: Leaving directory `/tmp/vmware-config0/vmblock-only'
The module loads perfectly in the running kernel.

Do you want networking for your virtual machines? (yes/no/help) [yes]

Do you wish to configure another bridged network? (yes/no) [no]

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes] no

Do you want to be able to use host-only networking in your virtual machines?
[no]

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.19-gentoo-r3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r3'
  CC [M]  /tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config0/vmnet-only/userif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/bridge.o
  CC [M]  /tmp/vmware-config0/vmnet-only/filter.o
  CC [M]  /tmp/vmware-config0/vmnet-only/procfs.o
  CC [M]  /tmp/vmware-config0/vmnet-only/smac_compat.o
  SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x86_64.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config0/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r3'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

Do you want to install the Eclipse Integrated Virtual Debugger? You must have
the Eclipse IDE installed. [no]
Starting VMware services:
   Virtual machine monitor                                             done
   Blocking file system:                                               done
   Virtual ethernet                                                    done
   Bridged networking on /dev/vmnet0                                   done
   Host network detection                                              done

The configuration of VMware Workstation e.x.p build-36983 for Linux for this
running kernel completed successfully.

You can now run VMware Workstation by invoking the following command:
"/usr/bin/vmware".

Enjoy,

--the VMware team

===========================

Than i just started the Workstation from root console

Code:
localhost vmware-distrib # /usr/bin/vmware
Using log file /tmp/vmware-root/ui-7276.log
Dlg::GetButtonInfo(): Duplicate GTK icon/label pair: _Stop and _Stop
Dlg::GetButtonInfo(): Duplicate GTK icon/label pair: _Forward and _Forward
Dlg::GetButtonInfo(): Duplicate GTK icon/label pair: _Information and Information
VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.
VMWARE_LD_PRELOAD is already set, but it will be overridden.
VMWARE_PANGO_RC_FILE is already set, but it will be overridden.
VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.
VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.
VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.
VMWARE_GTK2_RC_FILES is already set, but it will be overridden.
VMWARE_GTK_PATH is already set, but it will be overridden.
/usr/lib/vmware/bin-debug/vmware-vmx: error while loading shared libraries: libX11.so.6: cannot open
shared object file: No such file or directory
VMHSHostConnectVMX: Failed to connect to pipe /tmp/vmware-root/vmx9e57539c7a11bd6e: No such file or
directory


And the Workstation 6 GUI appeared,i have created a test VM, and tried to power it on, (WKS started to ask for a registration number), it was on the download page. entered the reg num, continuing.

So than i tried to power the VM again getting an error that the power state cannot be changed. And received the error into the root console

Code:
usr/lib/vmware/bin-debug/vmware-vmx: error while loading shared libraries: libX11.so.6: cannot open
shared object file: No such file or directory
VMHSHostConnectVMX: Failed to connect to pipe /tmp/vmware-root/vmx9e57539c7a11bd6e: No such file or
directory


Tried to run

Code:
localhost runlevels # revdep-rebuild
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/lib/vmware/eclipse-ivd/com.vmware.bfg_1.0.0/os/linux/x86/libfoundryJava.so (requires
libvix.so)
  broken /usr/lib64/vmware/eclipse-ivd/com.vmware.bfg_1.0.0/os/linux/x86/libfoundryJava.so (requires
libvix.so)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.


Found some broken stuff but nothing was re-emerged.

So i went down to forums and found someone installing Enemy Territory and getting the same error message. He solved by emerging:

Code:
emerge -a app-emulation/emul-linux-x86-xlibs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-emulation/emul-linux-x86-compat-1.0-r2
[ebuild  N    ] app-emulation/emul-linux-x86-baselibs-2.5.5-r3
[ebuild  N    ] app-emulation/emul-linux-x86-xlibs-7.0-r8  USE="-opengl" VIDEO_CARDS="i810 -mach64
-mga -r128 -radeon -s3virge -savage -sis -tdfx -trident -via"

Would you like to merge these packages? [Yes/No]



And me too. After this emerge i have tried to power on the VM and there it goes.

Works,

the final touch is:

Code:
rc-update add vmware default


Last edited by Kaso_da_Zmok on Fri Jan 12, 2007 3:26 pm; edited 12 times in total
Back to top
View user's profile Send private message
kraix
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2005
Posts: 93

PostPosted: Fri Jan 12, 2007 1:16 pm    Post subject: Reply with quote

I don't believe Gentoo uses that init schema.
Back to top
View user's profile Send private message
Kaso_da_Zmok
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 96
Location: Cork, Ireland

PostPosted: Fri Jan 12, 2007 1:51 pm    Post subject: just cheating Reply with quote

yes you are right bout the init structure,

I create the rc folders just to cheat the installer and we don't need the rc0.d - rc6.d folders after the install.


I know this small how to is a very unpolished draft done in less than 15 minutes.

Hmm, now i am testing on 32 bit , no success yet, looks like something with hal or dbus , everything installs fine, but fails to run the GUI returning some signal 11 and backtrace into the log.
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1101

PostPosted: Thu Jan 18, 2007 4:38 pm    Post subject: Re: just cheating Reply with quote

Kaso_da_Zmok wrote:
Hmm, now i am testing on 32 bit , no success yet, looks like something with hal or dbus , everything installs fine, but fails to run the GUI returning some signal 11 and backtrace into the log.


just

Code:
/etc/init.d/dbus stop


run vmware and once it's started run

Code:
/etc/init.d/dbus start


agian
_________________
gentoo user
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum