On Tue, 29 Jan 2008 19:49:30 +0000
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Tue, 29 Jan 2008 11:20:38 -0800, Michael Higgins wrote:
> 
> > So, the quick question is, is VM Ware the best way to go? I think
> > XP is still lurking on a partition here... and I do need to run
> > Internet Extorter, Outlook, etc... pretend I'm in their "domain"...
> 
> VMware is a good way to go, whether it's the best is open to debate.
> While you can run it from a physical partition, trying to use an
> existing install may cause problems. At the very least you'll need to
> re-activate is with MS because it is now running on a different
> computer (the virtual one).
> 
> > * app-emulation/vmware-workstation
> >      Available versions:  4.5.3.19414-r7 5.5.5.56455 ~6.0.1.55017!f
> > ~6.0.2.59824!f
> > 
> > ... when I downloaded the evaluation license and a tar.gz, does that
> > satisfy the "!f", for example? What do I do with it, then? I do
> > notice the version number matches.
> 
> If you try to emerge it, you will be told which file to download and
> where to put it. Put the one you have in $DISTDIR and use the -v
> option with emerge. If it shows a 0KB download, you know you have the
> right file.
> 
> 

So, here's how it went, more or less:
emerge -av =app-emulation/vmware-workstation-6.0.2.59824

[ nope... ]

echo app-emulation/vmware-workstation ~x86 \
app-emulation/vmware-modules ~x86 \
dev-cpp/libsexymm ~x86 \
x11-libs/libview ~x86 >> /etc/portage/package.keywords

[ so: ]

[ebuild  N    ] app-emulation/vmware-modules-1.0.0.17-r1  483 kB 
[ebuild  N    ] dev-cpp/libsexymm-0.1.9  USE="-debug -doc" 341 kB 
[ebuild  N    ] x11-libs/libview-0.6.1  USE="-debug" 274 kB 
[ebuild  N F  ] app-emulation/vmware-workstation-6.0.2.59824  213,943
kB 

Total: 4 packages (4 new), Size of downloads: 215,039 kB
Fetch Restriction: 1 package (1 unsatisfied)
[...]
  
http://download3.vmware.com/software/wkst/VMware-workstation-6.0.2-59824.i386.tar.gz
           =>
`/portdir/portage/distfiles/VMware-workstation-6.0.2-59824.i386.tar.gz' ... 
 * Fetch failed for 'app-emulation/vmware-workstation-6.0.2.59824'

[ so I: ]

 mv dump/downloads/VMware-workstation-6.0.2-59824.i386.tar.gz \
 /portdir/portage/distfiles/

# emerge -av =app-emulation/vmware-workstation-6.0.2.59824

Total: 1 package (1 new), Size of downloads: 0 kB [ ... thanks, Neil! ]
Fetch Restriction: 1 package
...

* checking
vmware-any-any-update115.tar.gz ;-) ...                       [ ok ]

[ but I must first: ]
* Rebuild dev-cpp/gtkmm with USE="accessibility"

echo dev-cpp/gtkmm accessibility >> /etc/portage/package.use
emerge -av dev-cpp/gtkmm
...

Machine crashes, locks hard... I clean the CPU heatsink fan... :( 

emerge --resume

 * Messages for package app-emulation/vmware-workstation-6.0.2.59824:

 * Fallback PaX marking -m
 * VMWare allows for the potential of overwriting files as root.  Only
 * give VMWare access to trusted individuals.
 * Remember, in order to run VMware Workstation, you have to
 * be in the 'vmware' group.
 * You need to run 
 *     /opt/vmware/workstation/bin/vmware-config.pl
 * to complete the install.
 * After configuring, run vmware-workstation to launch
 * Also note that when you reboot you should run:
 *     /etc/init.d/vmware start
 * before trying to run vmware.  Or you could just add it to
 * the default runlevel:
 *     rc-update add vmware default
 * GNU info directory index is up-to-date.

Linux lbg2 2.6.23-gentoo-r6 #1 Sun Jan 27 22:25:30 PST 2008 i686 AMD
Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux

passwd -a myuser vmware
Adding user myuser to group vmware

Running /opt/vmware/workstation/bin/vmware-config.pl 

[I know no surely appropriate answer to any of the questions, but: ]
 * Loading vmblock for drag and drop
support ...                          [ ok ]
 * Starting VMware
services:                                              [ ok ]
 *   Virtual machine
monitor                                              [ ok ]
 *   Bridged networking
on /dev/vmnet0                                    [ ok ]
 *   DHCP server
on /dev/vmnet1                                           [ ok ]
 *   Host-only networking
on /dev/vmnet1                                  [ ok ]
 *   DHCP server
on /dev/vmnet8                                           [ ok ]
 *   NAT service
on /dev/vmnet8                                           [ ok ]
 *   Host-only networking
on /dev/vmnet8                                  [ ok ]
 *   Virtual
ethernet                                                     [ ok ]

The configuration of VMware Workstation 6.0.2 build-59824 for Linux for
this running kernel completed successfully.

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

I installed it. It runs. Now what?

"After configuring, run vmware-workstation to launch"

# which vmware-workstation
which: no vmware-workstation in (/sbin:/bin:/usr/sbin:/usr/bin)

updatedb

locate vmware-workstation |grep -v -P 'db/pkg|cache|portage'
...

Okay, so that was a ruse. Hmm. Yes, I have to log back into X to have
my new group honored. Duh.
...

which vmware
/opt/vmware/workstation/bin/vmware

Wow. Magic. And it's in my Gnome menu too.

/opt/vmware/workstation/lib/bin/vmware: symbol lookup
error: /opt/vmware/workstation/lib/lib/libvmwareui.so.0/libvmwareui.so.0:
undefined symbol: _ZThn12_N4view10FieldEntry17delete_text_vfuncEii

[google...]

I tried emerging bits of the libraries... can't figure out where this
error comes from... not much help on the web yet, but for this:

~ $ cat .xinitrc 
# Use thoughtfully the GTK+ runtime environment (lib & conf files) from
VMware 
export VMWARE_USE_SHIPPED_GTK=yes
exec gnome-session

(Have to export _before_ starting X, yes.)

Hope this helps someone else. If anyone knows about the above error,
I'd love to fix this properly.

[I] x11-libs/gtk+
     Available versions:  
        (1)     1.2.10-r12
        (2)     2.10.14 2.12.1-r2 ~2.12.5-r1

echo x11-libs/gtk+ ~x86 >> /etc/portage/package.keywords 

Recompiling that. I'll let y'all know if it matters. Meanwhile, none of
the file browser routines to access my system (say, for configuring
virtual machine storage location) work, but crash with a libgnome-vfs.0
error about undefined symbol g_get_user_special_dir. Somehow, that
makes sense, given that I'm using different libraries. Well, that's a
lot like ndoze, anyway.

Maybe I have to down/upgrade to the versions of libraries shipped with
vmware?

Meanwhile, I made an ISO image of my XP disk and got the VMWare to use
it as a boot. 

Chose bridged networking in the setup. ISO image for CD-ROM.

Installed ndoze. Set up networking with a fixed IP and DNS info as from
my ISP. Ran I-extort-ya. And it works. How 'bout that? 

None of the upgrades to the Gtk and related libraries seemed to make
any difference.

Anyway, this little annoyance on vmware startup: 
(vmware-tray:21028): Gtk-WARNING **: GModule initialization check
failed: Gtk+ version too old (micro mismatch)

And no file browser when setting up the package. Other than that, it's
working (so far) with:

export VMWARE_USE_SHIPPED_GTK=yes
exec gnome-session

... in my user's .xinitrc.

Well, there it is. Now, to install with a bigger footprint and figure
out how to register my copy of XP again.

Cheers,

-- 
 |\  /|        |   |          ~ ~  
 | \/ |        |---|          `|` ?
 |    |ichael  |   |iggins    \^ /
 michael.higgins[at]evolone[dot]org
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to