After getting nowhere with the latest stable version (as stated on the
sourceforge site, 8.4.2-261024), I grabbed a different build from the site.
 I got the one dated 2010.11.17.    That version got much further in the
build process, and eventually failed when making vmsync because of a missing
file "Makefile.normal".

After more experimentation, I finally was able to get past this by creating
links to my kernel source/headers in /usr/src and /usr/lib.

Some basic documentation about system requirements, dependencies, and
assumptions about directory locations would go a long way toward making this
much easier.    As it is now, the docs are not very helpful.

On Wed, Dec 15, 2010 at 3:14 PM, Tom Harris <[email protected]> wrote:

> I am trying to build open-vm-tools, and running into a problem with where
> it's looking for header files.   I am building it on a different system than
> it will run on (the virtual machine doesn't have dev tools, so I'm building
> it on a different machine.  I am using --with-linuxdir to point it to the
> correct kernel source.  I'm also setting --with-kernel-release, --build, and
> --host.
>
> But, when I try to make it, I get an error:
> ---
> make[1]: Entering directory
> `/home/tjh/Build/Linux2/Test/open-vm-tools-8.4.2-261024/modules'
> make VM_UNAME=2.6.34.6 MV=mv RM=rm    \
>
> OVT_SOURCE_DIR=/home/tjh/Build/Linux2/Test/open-vm-tools-8.4.2-261024  \
>            -C "../modules/linux/vmmemctl"
> Using standalone build system.
> In file included from
> /home/tjh/Build/Linux2/Test/open-vm-tools-8.4.2-261024/modules/linux/shared/autoconf/geninclude.c:20:
> /home/tjh/Build/Linux2/Test/open-vm-tools-8.4.2-261024/modules/linux/shared/compat_autoconf.h:38:
> fatal error: generated/autoconf.h: No such file or directory
> compilation terminated.
> ---
>
> It doesn't appear to be looking for the header files in the Linuxdir that I
> configured it with.    Is there another setting needed to point it to the
> correct kernel source tree?
>
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
open-vm-tools-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-discuss

Reply via email to