VMware Communities
platojones
Contributor
Contributor

vmware workstation 6.5 - Linux host - where is vmware-config.pl? How do I recompile kernel modules?

I have to admit I am at a loss here. I have a Gentoo box and upgraded to vmware ws 6.5...though not in the approved Gentoo way. However, the install works fine (I had to make some simple startup-script adjustments, but it worked). However...I just built a new kernel and I discovered there is no vmware-config.pl anymore. In fact, I can't figure out how to rebuild the vmware modules with any of the utilities I've found, and there is nothing in the user manual which mentions it that I could find. What gives...how do I do it?

Reply
0 Kudos
4 Replies
louyo
Virtuoso
Virtuoso

Well, I am not sure if it is the best way but one way is to install again with the .bundle. That will un-install/re-install/configure. At least it did on Ubuntu and openSUSE.

Lou

Reply
0 Kudos
platojones
Contributor
Contributor

louyo,

Yes, that looks to be the only automated way to do it. I did discover the module source files, so it looks like I can compile them manually...I give that a go first. Thanks for the response.

Reply
0 Kudos
mkossmann
Enthusiast
Enthusiast

Just start vmware. It will miss the modules and try to compile them.

Reply
0 Kudos
platojones
Contributor
Contributor

Thanks mkossmann,

Yes...well it tried. But the 'gksu-run-helper' was not in the path so it failed. Fortunately, the dialog displayed the command it was trying to run, so I just copied it and ran it from the command line...and it worked fine. As an added plus, I can incorporate that command directly into my automatic kernel build script. Here it is, if anybody wants to do the same:

'/usr/bin/vmware-modconfig' --icon='vmware-workstation' --appname='VMware Workstation' --gcc='/usr/bin/gcc' --headers='/lib/modules/2.6.25-gentoo-r8/build/include' --gcc-ignore-minor

You need to adjust for you kernel header path, but other than that, this will do the trick. Thanks for the responses.

Reply
0 Kudos