Ticket #531 (closed task)
Opened 7 years ago
Mandrake 8 make install fails (Examined/Solved - lm_sensors 2.5.5 Mandrake 8 Kernel 2.4.3)
| Reported by: | contact | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | kernel | Version: | |
| Keywords: | Cc: |
Description
Please read #536 first...
So, checked makefile and found this:
# This is the directory into which the modules will be installed.
# The magic invocation will return something like this:
# /lib/modules/2.2.15-ac9/misc
MODDIR := /lib/modules/'grep UTS_RELEASE $(LINUX_HEADERS)/linux/version.h|cut -f
2 -d'"/misc
I ran this piece only (replaced linuxheaders with /usr/src/linux/include like
makefile does)
[root@St@rDusT molano]# grep UTS_RELEASE /usr/src/linux/include/linux/version.h
|cut -f 2 -d'"'
2.4.3-20mdksmp
2.4.3-20mdkenterprise
2.4.3-20mdk
[root@St@rDusT molano]#
which means version.h contains 3 lines instead of 1.
So, looks like lm_sensors tries to install the modules in 2.4.3-20mdksmp and
2.4.3-20mdkenterprise after which it fails (see #536)
I changed that whole grep-bunch with 2.4.3-20mdk and it did everything fine...
I don't know how you can change your Makefile to make ik still flexible.
Distribution: (new) Mandrake 8.0
Hoping for some feedback about my lecture ;)
Arnout Verbeken --- If you email your /usr/src/linux/include/linux/version.h file
to us then we can figure out how to fix our makefile to work with it.
Email it to sensors@… with the subject "ticket 538".
thanks
MDS 4/28/01
This is caused by multiple UTS_RELEASE lines in <linux/version.h>
which causes the "magic invocation" for MODDIR in our Makefile to fail.
This type of version.h file is non-standard and is not supported
by our package.
The workaround is to specify MODDIR on the command line
for 'make install', e.g.
make install MODDIR=/lib/modules/2.4.2-mandrake-smp/misc
Closed.
MDS 5/26/01
