Tracker item #1983375, was opened at 2008-06-03 04:18
Message generated for change (Comment added) made by adembo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=1983375&group_id=204462

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: kernel modules
Group: v1.0 (example)
Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Craig Phillips (craig_phillips)
Assigned to: Ghais Issa (gissa)
Summary: configure: Cannot specify kernel constraints on command line

Initial Comment:
There are a few problems with the configure script.  We need to be able to 
build these tools across a variety of platforms using our own build 
environment.  However, there is no way to specify the environment to configure.

e.g. in configure script:

line 2195: getOsVersion() uses uname -r
   Assumes the running kernel is the kernel being built against.  This is 
incorrect.  The kernel built against is  defined within our environment.

expected flag to configure:

--kernel-version=2.6.22

line 26547: MODULES_DIR
   Assumes again that the running kernel is the kernel being built against and 
also that the modules are located in the system modules directory rather than 
that specified on the command line:

expected flag to configure:

--kernel-modules-dir=/home/someuser/src/someenvironment/lib/modules



----------------------------------------------------------------------

>Comment By: Adar Dembo (adembo)
Date: 2008-07-28 19:50

Message:
Logged In: YES 
user_id=1867590
Originator: NO

Thanks for the follow-up. Ghais has been working on a patch to fix this
new problem. I've attached it to this bug report. Apply it to your
open-vm-tools tree and run "autoreconf --install" (make sure you have your
distro's autoconf package and its dependencies installed) to rebuild the
build system. After that, --with-kernel-release at configure time should
work properly.
File Added: configure.ac.patch

----------------------------------------------------------------------

Comment By: Giandomenico  De Tullio (kheru)
Date: 2008-07-28 02:31

Message:
Logged In: YES 
user_id=760540
Originator: NO

Even if configure was called with with-kernel-release option, modules has
build from "uname -r" sourcetree.

VM_UNAME variable in modules/linux/*/Makefile are "hardcoded" to:
./modules/linux/vmblock/Makefile:29:VM_UNAME = $(shell uname -r)



----------------------------------------------------------------------

Comment By: ECL (sopwith)
Date: 2008-06-27 18:01

Message:
Logged In: YES 
user_id=18318
Originator: NO

Should be fixed in the latest refresh.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=1983375&group_id=204462

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to