There have been several updates of the open-vm-source package in Sid since this bug was filed, as well as a new kernel 2.6.30 and a new source package at SourceForge. I just want to confirm that the current open-vm-source package in Sid (2009-06-18) still does not build with m-a, and that the work-around posted above does also apply to all these updates.

To clarify for those unfamiliar with the syntax of makefiles:

1. Run "m-a a-i h...@debianvm:~$ lsmod |grep vm
vmsync                  4704  0
vmmemctl                8824  0
vmhgfs                 50408  0
vmci                   30016  0
hpen-vm" (as root) --> this still fails, but leaves an unpacked
   source in the /usr/src/modules/open-vm/ directory.
2. Download the latest stable tar-ball open-vm-tools-2009.06.18-172495.tar.gz from http://sourceforge.net/projects/open-vm-tools/files/ and unpack it, e.g. in /home/user/Downloads. 3. As root, edit /usr/src/modules/open-vm/Makefile and add at the beginning of each of the lines under 'build'
OVT_SOURCE_DIR=/home/user/Download/open-vm-tools-2009.06.18-172495
(let the remainder of the line wrap around).
4. Now rerun the m-a command, except that the source must not be unpacked again (that would override the changes just made), so use the command (as root) "m-a -O a-i open-vm" (that's a capital letter O), and now the compilation and the subsequent Debian packaging and installation of the modules succeeds (it did for my 2.6.30-1-amd64 kernel in a mixed testing/Sid system) --> open-vm-modules-2.6.30-1-amd64 package listed in Aptitude under Obsolete and Locally created packages. The modules load properly:
$ lsmod |grep vm
vmsync                  4704  0
vmmemctl                8824  0
vmhgfs                 50408  0
vmci                   30016  0

Cheers!

--
Henk Koster
"Behavioral axioms are right, but agents make mistakes."
Attributed to L.J. Savage






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to