Trying to compile kmods for 0.9.68

Samuel Rydh mol-general@lists.maconlinux.org
Wed, 19 Mar 2003 12:46:12 +0100


On Tue, Mar 18, 2003 at 10:40:22PM -0600, Eric Volker wrote:
> I recently downloaded the 0.9.68 RPM along with the kmod source RPM from 
> the www.maconlinux.org download page. After I switch to the kmod source 
> directory, do ./configure and do make install I get:
> ==================================================
>   This tree does not contain the binary support
>   files. Do 'make libimport' to download them.
> ==================================================
> 
> Then I do:
> 
> [root@localhost mol-kmods-0.9.68]# make libimport
> scripts/libimport import
> make: scripts/libimport: Command not found
> make: *** [libimport] Error 127
> 
> There is no 'import' or 'libimport' in the scripts directory. Is 
> something missing out of that source RPM? Where can I get these 'binary 
> support files'?

Well, this is because you are compiling the mol-kmods RPM.
It should be built using something like

	./configure
	make modules
	make install_modules

The mol-kmods RPM uses the same makefiles as mol proper, but
all the source is not included. In particular, the make and make
libimport targets might not work.

The mol RPM contains the full source although the RPM spec
only builds the userspace part.

/Samuel