Re: first timer question

On 30/06/2006 15:28, Adrian T Sindile wrote:
> Hello,
> After compiling Fedora Core 5 kernel-2.6.17, I downloaded comedi and 
> comedilib:
> 
> drwxrwxr-x  7 adrian adrian    4096 Apr  2  2005 comedi-0.7.70
> -rw-rw-r--  1 adrian adrian 3266560 Jun 29 14:16 comedi-0.7.70.tar
> drwxrwxr-x 15 adrian adrian    4096 Oct  2  2004 comedilib-0.7.22
> -rw-rw-r--  1 adrian adrian 4904960 Jun 29 14:16 comedilib-0.7.22.tar

Use the current version of comedi from CVS because comedi-0.7.70 is too 
old for your kernel.  You can follow the instructions for anonymous CVS 
access or download a snapshot from here:
<http://www.comedi.org/cgi-bin/viewcvs.cgi/comedi.tar.gz?view=tar>
The above link was obtained by following the "Browse CVS repository" 
link on the download page, then following the link to the "comedi/" 
directory, then selecting the "Download tarball" link at the bottom.  Do 
not download the "Current Comedi CVS snapshot" link on the main download 
page as it will just screw you up (it needs fixing!).

After unpacking the comedi.tar.gz snapshot (or following the anonymous 
CVS instructions to check it out of the CVS repository), run 
./autogen.sh to generate the configure script and other files.  As 
autogen.sh also runs the configure script it generates, you can pass any 
configure command-line options to autogen.sh.  As you are a first timer, 
it will be better to run ./configure again separately with the correct 
options.  At the moment, you will need at least the --enable-kbuild and 
--disable-pcmcia options:

   ./autogen.sh
   ./configure --enable-kbuild --disable-pcmcia

(Or to do both steps at once:

   ./autogen.sh --enable-kbuild --disable-pcmcia

)

You probably won't need any --with-linuxdir option if you are building 
for the current kernel.  The --enable-kbuild option should take care of it.

You should then be able to run 'make' and 'make install'.

It is possible you may have further problems building, but at least I've 
filtered out the things that I know don't work!  If you have any more 
problems building it, please reply to the list, or at least Cc the list. 
(There's no need to reply to me directly as I'll see it on the list.)

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2006-07-03Z10:56:14