Muli Ben-Yehuda <[EMAIL PROTECTED]> writes: > > On Thu, Feb 08, 2007 at 03:46:25PM +0000, Omar Khan wrote: > > hi, > > > > "make install" does not install the modules in the right > > directory (actually it is not making the 'extra' directory). I > > changed > > > > KERNELDIR ?= /lib/modules/$(shell uname -r)/build > > to > > KERNELDIR := /lib/modules/$(shell uname -r)/build > > > > in the kernel/Makefile and it is working now. > > - what does 'grep KERNELDIR config.mak' at the top level say after > you've run configure? your change should not have any effect since > KERNELDIR is set in config.mak to /lib/modules/$(shell uname > -r)/build if --kerneldir is not specified. Did you do 'make install' > without configuring and building first? > > - 'make install' seems pretty bogus, it relies on KERNELDIR ending in > 'build', which is wrong for --kerneldir=xxx and it uses DESTDIR > without ever setting it. What was DESTDIR supposed to do? any > objections to removing it? > > Cheers, > Muli > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >
I am using opensuse 10.2 and the build directory is linked to the default directory: lrwxrwxrwx 1 root root 43 Feb 7 01:29 /lib/modules/2.6.18.2-34-default/build -> /usr/src/linux-2.6.18.2-34-obj/i386/default so KERNELDIR get set to the default directory (KERNELDIR=$(readlink -f $kerneldir)) in configure I installed kvm-12 before this, could it have caused this? Omar ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
