Gentoo Archives: gentoo-user

From: Michael Higgins <linux@×××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] VM Ware or not?
Date: Wed, 30 Jan 2008 05:38:15
Message-Id: 20080129213805.361fe2c0@lbg2.evolone.org
In Reply to: Re: [gentoo-user] VM Ware or not? by Neil Bothwick
1 On Tue, 29 Jan 2008 19:49:30 +0000
2 Neil Bothwick <neil@××××××××××.uk> wrote:
3
4 > On Tue, 29 Jan 2008 11:20:38 -0800, Michael Higgins wrote:
5 >
6 > > So, the quick question is, is VM Ware the best way to go? I think
7 > > XP is still lurking on a partition here... and I do need to run
8 > > Internet Extorter, Outlook, etc... pretend I'm in their "domain"...
9 >
10 > VMware is a good way to go, whether it's the best is open to debate.
11 > While you can run it from a physical partition, trying to use an
12 > existing install may cause problems. At the very least you'll need to
13 > re-activate is with MS because it is now running on a different
14 > computer (the virtual one).
15 >
16 > > * app-emulation/vmware-workstation
17 > > Available versions: 4.5.3.19414-r7 5.5.5.56455 ~6.0.1.55017!f
18 > > ~6.0.2.59824!f
19 > >
20 > > ... when I downloaded the evaluation license and a tar.gz, does that
21 > > satisfy the "!f", for example? What do I do with it, then? I do
22 > > notice the version number matches.
23 >
24 > If you try to emerge it, you will be told which file to download and
25 > where to put it. Put the one you have in $DISTDIR and use the -v
26 > option with emerge. If it shows a 0KB download, you know you have the
27 > right file.
28 >
29 >
30
31 So, here's how it went, more or less:
32 emerge -av =app-emulation/vmware-workstation-6.0.2.59824
33
34 [ nope... ]
35
36 echo app-emulation/vmware-workstation ~x86 \
37 app-emulation/vmware-modules ~x86 \
38 dev-cpp/libsexymm ~x86 \
39 x11-libs/libview ~x86 >> /etc/portage/package.keywords
40
41 [ so: ]
42
43 [ebuild N ] app-emulation/vmware-modules-1.0.0.17-r1 483 kB
44 [ebuild N ] dev-cpp/libsexymm-0.1.9 USE="-debug -doc" 341 kB
45 [ebuild N ] x11-libs/libview-0.6.1 USE="-debug" 274 kB
46 [ebuild N F ] app-emulation/vmware-workstation-6.0.2.59824 213,943
47 kB
48
49 Total: 4 packages (4 new), Size of downloads: 215,039 kB
50 Fetch Restriction: 1 package (1 unsatisfied)
51 [...]
52 http://download3.vmware.com/software/wkst/VMware-workstation-6.0.2-59824.i386.tar.gz
53 =>
54 `/portdir/portage/distfiles/VMware-workstation-6.0.2-59824.i386.tar.gz' ...
55 * Fetch failed for 'app-emulation/vmware-workstation-6.0.2.59824'
56
57 [ so I: ]
58
59 mv dump/downloads/VMware-workstation-6.0.2-59824.i386.tar.gz \
60 /portdir/portage/distfiles/
61
62 # emerge -av =app-emulation/vmware-workstation-6.0.2.59824
63
64 Total: 1 package (1 new), Size of downloads: 0 kB [ ... thanks, Neil! ]
65 Fetch Restriction: 1 package
66 ...
67
68 * checking
69 vmware-any-any-update115.tar.gz ;-) ... [ ok ]
70
71 [ but I must first: ]
72 * Rebuild dev-cpp/gtkmm with USE="accessibility"
73
74 echo dev-cpp/gtkmm accessibility >> /etc/portage/package.use
75 emerge -av dev-cpp/gtkmm
76 ...
77
78 Machine crashes, locks hard... I clean the CPU heatsink fan... :(
79
80 emerge --resume
81
82 * Messages for package app-emulation/vmware-workstation-6.0.2.59824:
83
84 * Fallback PaX marking -m
85 * VMWare allows for the potential of overwriting files as root. Only
86 * give VMWare access to trusted individuals.
87 * Remember, in order to run VMware Workstation, you have to
88 * be in the 'vmware' group.
89 * You need to run
90 * /opt/vmware/workstation/bin/vmware-config.pl
91 * to complete the install.
92 * After configuring, run vmware-workstation to launch
93 * Also note that when you reboot you should run:
94 * /etc/init.d/vmware start
95 * before trying to run vmware. Or you could just add it to
96 * the default runlevel:
97 * rc-update add vmware default
98 * GNU info directory index is up-to-date.
99
100 Linux lbg2 2.6.23-gentoo-r6 #1 Sun Jan 27 22:25:30 PST 2008 i686 AMD
101 Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux
102
103 passwd -a myuser vmware
104 Adding user myuser to group vmware
105
106 Running /opt/vmware/workstation/bin/vmware-config.pl
107
108 [I know no surely appropriate answer to any of the questions, but: ]
109 * Loading vmblock for drag and drop
110 support ... [ ok ]
111 * Starting VMware
112 services: [ ok ]
113 * Virtual machine
114 monitor [ ok ]
115 * Bridged networking
116 on /dev/vmnet0 [ ok ]
117 * DHCP server
118 on /dev/vmnet1 [ ok ]
119 * Host-only networking
120 on /dev/vmnet1 [ ok ]
121 * DHCP server
122 on /dev/vmnet8 [ ok ]
123 * NAT service
124 on /dev/vmnet8 [ ok ]
125 * Host-only networking
126 on /dev/vmnet8 [ ok ]
127 * Virtual
128 ethernet [ ok ]
129
130 The configuration of VMware Workstation 6.0.2 build-59824 for Linux for
131 this running kernel completed successfully.
132
133 You can now run VMware Workstation by invoking the following command:
134 "/opt/vmware/workstation/bin/vmware".
135
136 I installed it. It runs. Now what?
137
138 "After configuring, run vmware-workstation to launch"
139
140 # which vmware-workstation
141 which: no vmware-workstation in (/sbin:/bin:/usr/sbin:/usr/bin)
142
143 updatedb
144
145 locate vmware-workstation |grep -v -P 'db/pkg|cache|portage'
146 ...
147
148 Okay, so that was a ruse. Hmm. Yes, I have to log back into X to have
149 my new group honored. Duh.
150 ...
151
152 which vmware
153 /opt/vmware/workstation/bin/vmware
154
155 Wow. Magic. And it's in my Gnome menu too.
156
157 /opt/vmware/workstation/lib/bin/vmware: symbol lookup
158 error: /opt/vmware/workstation/lib/lib/libvmwareui.so.0/libvmwareui.so.0:
159 undefined symbol: _ZThn12_N4view10FieldEntry17delete_text_vfuncEii
160
161 [google...]
162
163 I tried emerging bits of the libraries... can't figure out where this
164 error comes from... not much help on the web yet, but for this:
165
166 ~ $ cat .xinitrc
167 # Use thoughtfully the GTK+ runtime environment (lib & conf files) from
168 VMware
169 export VMWARE_USE_SHIPPED_GTK=yes
170 exec gnome-session
171
172 (Have to export _before_ starting X, yes.)
173
174 Hope this helps someone else. If anyone knows about the above error,
175 I'd love to fix this properly.
176
177 [I] x11-libs/gtk+
178 Available versions:
179 (1) 1.2.10-r12
180 (2) 2.10.14 2.12.1-r2 ~2.12.5-r1
181
182 echo x11-libs/gtk+ ~x86 >> /etc/portage/package.keywords
183
184 Recompiling that. I'll let y'all know if it matters. Meanwhile, none of
185 the file browser routines to access my system (say, for configuring
186 virtual machine storage location) work, but crash with a libgnome-vfs.0
187 error about undefined symbol g_get_user_special_dir. Somehow, that
188 makes sense, given that I'm using different libraries. Well, that's a
189 lot like ndoze, anyway.
190
191 Maybe I have to down/upgrade to the versions of libraries shipped with
192 vmware?
193
194 Meanwhile, I made an ISO image of my XP disk and got the VMWare to use
195 it as a boot.
196
197 Chose bridged networking in the setup. ISO image for CD-ROM.
198
199 Installed ndoze. Set up networking with a fixed IP and DNS info as from
200 my ISP. Ran I-extort-ya. And it works. How 'bout that?
201
202 None of the upgrades to the Gtk and related libraries seemed to make
203 any difference.
204
205 Anyway, this little annoyance on vmware startup:
206 (vmware-tray:21028): Gtk-WARNING **: GModule initialization check
207 failed: Gtk+ version too old (micro mismatch)
208
209 And no file browser when setting up the package. Other than that, it's
210 working (so far) with:
211
212 export VMWARE_USE_SHIPPED_GTK=yes
213 exec gnome-session
214
215 ... in my user's .xinitrc.
216
217 Well, there it is. Now, to install with a bigger footprint and figure
218 out how to register my copy of XP again.
219
220 Cheers,
221
222 --
223 |\ /| | | ~ ~
224 | \/ | |---| `|` ?
225 | |ichael | |iggins \^ /
226 michael.higgins[at]evolone[dot]org
227 --
228 gentoo-user@l.g.o mailing list