|
From: Adam T. <moz...@gm...> - 2007-10-30 14:09:30
|
Sadly, when I was working with SuSE, I couldn't find the script either.
Typically it would simply be a make rule (ie make install) but since that
doesn't work correctly (it does'nt install the modules, or, iirc, anything
but the hgfsclient). I ended up writing my own: here is my script
<script>
echo "Running './configure' on open-vm-tools"
./configure
echo "Running 'make' on open-vm-tools"
make
# Clean up things for installing tools
mv vmware-user/vmware-user vmware-user/user
mv vmware-user user
for i in user hgfsclient toolbox; do
echo "Installing vmware-${i}"
mv ${i}/${i} /usr/bin/vmware-${i}
done
for i in guestd checkvm; do
echo "Installing vmware-${i}"
mv ${i}/${i} /usr/sbin/vmware-${i}
done
# Allow you to mount shared folders...
mv hgfsmounter/hgfsmounter /usr/sbin/mount.vmhgfs
chmod u+s /usr/sbin/mount.vmhgfs
# Make and Install the modules
for i in vmblock vmhgfs vmmemctl vmxnet; do
cd modules/linux/${i}
echo "Perfoming 'make' on ${i}"
make
echo "Installing the '${i}' module"
if [ "$i" == "vmxnet" ]
then
mkdir /lib/modules/`uname -r`/net/ &>/dev/null
mv ../${i}.o /lib/modules/`uname -r`/net/${i}.ko
else
mkdir /lib/modules/`uname -r`/openvmtools/ &>/dev/null
mv ../${i}.o /lib/modules/`uname -r`/openvmtools/${i}.ko
fi
done
# This rebuilds the module dependency tree, and allows these modules to be
found...
depmod -a
</script>
On 10/30/07, Sanford Armstrong <san...@gm...> wrote:
>
> Hi there,
>
> I'm trying to set up a nice Ubuntu 7.10 (Gutsy) guest in Fusion, but
> the provided VMware Tools don't work correctly. According to the
> VMware forums, the problems may have been fixed in open-vm-tools.
>
> I got the latest code from SVN trunk, configured with
> --disable-multimon, ran `make modules` and `make`, and now I can't
> seem to find the perl script to actually install this stuff. Should I
> just use the same perl script provided with the version of VMware
> Tools provided by Fusion? Am I going about this whole thing the wrong
> way?
>
> Thanks for any hints,
> Sandy
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> open-vm-tools-discuss mailing list
> ope...@li...
> https://lists.sourceforge.net/lists/listinfo/open-vm-tools-discuss
>
|