From: David Schleef Date: Thu, 24 May 2001 19:01:54 +0000 (+0000) Subject: Added email from Dan Christian about Red Hat X-Git-Tag: r0_7_59~27 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4f2c6fe59183fc3722848b20121564b3475e95ab;p=comedi.git Added email from Dan Christian about Red Hat --- diff --git a/Documentation/comedi/redhat-notes b/Documentation/comedi/redhat-notes new file mode 100644 index 00000000..4101fe4b --- /dev/null +++ b/Documentation/comedi/redhat-notes @@ -0,0 +1,49 @@ +From: Dan Christian +Reply-To: dac@ptolemy.arc.nasa.gov +Organization: NASA Ames Research Center +To: comedi@stm.lbl.gov +Subject: Notes on building under RedHat 7.1 +Date: Wed, 23 May 2001 10:25:37 -0700 + + +I just got comedi building under a stock Redhat 7.1 kernel. Here are +my notes on how to make it work. There are really just two issues to +fix: getting the right .config file, and working around RedHat's custom +version.h file. + +You have to have kernel-headers and kernel-source installed and then +you have to get the right config file in place. In my case, I'm +building for a K6-2 (i586 compatible). + +# as root +cd /usr/src +ln -s linux-2.4.2 linux # this may already have been done +cd linux +# now copy the right config file to the standard place +cp -p configs/kernel-2.4.2-i586.config .config + +# as any user +cd comedi +make config +# you will get a message about the kernel version. Ignore it (for now) +# This is due to RedHat's multi-kernel version.h file. +emacs .uts_version +# it will have multiple values for UTS_VERSION. +# Edit to just have your kernel (e.g. 2.4.2-2) +make clean +make dep +make + +# as root +make install + +Everything seems to work fine. + +-Dan + + +_______________________________________________ +comedi mailing list +comedi@stm.lbl.gov +http://stm.lbl.gov/cgi-bin/mailman/listinfo/comedi +