Re: jade error and not find comedi_config command

Steve,

can you please submit such patches to comedi's bugzilla. That's a safe 
place to store attachements.

/Bernd


www:    http://www.berndporr.me.uk/
         http://www.linux-usb-daq.co.uk/
Mobile: +44 (0)7769 506746
Work:   +44 (0)141 330 5237
         University of Glasgow
         Department of Electronics & Electrical Engineering
         Room 519, Rankine Building, Oakfield Avenue,
         Glasgow, G12 8LT


Steve Sharples wrote:
> Hi,
> 
> I wrote the pdf you mentioned, I admit it's a little inaccurate. It was
> only ever intended as an internal document.
> 
> At the time of writing it I thought I'd successfully installed comedi,
> however I didn't realise that the install process would stop after the
> errors but BEFORE the libraries are installed in the proper places. Hence
> the demo programs work locally, but perhaps comedi_config (as well as the
> libraries) are not installed due to compilation stopping at the jade
> errors.
> 
> The way I got around it was to (temporarily) remove all the tools comedi
> looks for in the ./configure script to see whether it should make
> documentation or not. If you remove enough of these tools, then comedilib
> will not attempt to build the documentation. You can then successfully
> compile comedilib, and when you do "make install" all the libraries and
> binaries will be put in their proper places.
> 
> Just last week Örnólfur E. Rögnvaldsson seemed to have finally solved
> the mystery about why so many people have been having so many problems
> with this. The version of docbook-sgml (or jadetex, or whatever it is
> that's compiling the sgml files that the comedilib documentation files)  
> that comes with Redhat (from 7.3 -> 9) seems to be less tolerant to
> missing tags than other versions. For instance, in
> comedilib-0.7.21/doc/driverwriting.sgml starting at line 261:
> 
>   <section id="comedisubdevice">
>   <title>
>   <function>comedi_subdevice</function>
>   <para>
>   The subdevice is the smallest &comedi; entity that can be used for
>   .......
> 
> The patch provided by Örnólfur E. Rögnvaldsson simply adds a </title>
> tag after the third line. There are about a dozen other similar patches.
> 
> The patch by Örnólfur E. Rögnvaldsson works beautifully, and I can now
> comile comedilib without resorting to removing packages. Unfortunately he
> included the patch as an attachment, which are not included in the comedi
> mailing list archives. You will now find the patch at:
> http://osam.eee.nottingham.ac.uk/optics/documentation/hardware/comedilib-0.7.21_sgmlpatch
> 
> (Örnólfur I hope you don't mind me putting a link to your patch here one
> the mailing list, please let me know if you do)
> 
> copy the patch to the directory above your comedilib-0.7.21 source
> directory, then use the command:
> 
> patch -p0 <comedilib-0.7.21_sgmlpatch
> 
> ...to apply the changes to the files. As Örnólfur E. Rögnvaldsson
> commented in his original email, you will have to run "make" twice,
> because latex bombs out on the first attempt due to undefined
> references... these are fixed on the second run.
> 
> In March 2004, Alberto Lusiani produced a patch for Fedora Core 1 which
> got around similar problems, quote:
> 
> 
>>It appears that the default configuration of Docbook in Fedora Core 1
>>is different w.r.t. the one used by the developers.  BTW I already
>>submitted a bunch of fixes to the SGML documents I had to apply on
>>RedHat 7.3 in the past.  This time I did not fully solve all the
>>problems, but reached a good compromise.  An obvious difference is
>>that OMITTAG is set to NO in Fedora and apparently otherwise for
>>developers: this results in errors with docbook2html and docbook2man.
> 
> 
> Again, this patch is not in the mailing list archives, and I did not pick
> it up when it came in.
> 
> I think it would be really useful if the files in the comedilib
> distribution were patched so that all tags are properly closed etc. Or
> perhaps we could have some information (on the mailing list) on how to
> disable documentation compilation so that the lack of documentation does
> not mean you cannot install the program.
> 
> Kind regards,
> 
>    Steve.
> 
> On Wed, 11 Aug 2004, Xiaomei Niu wrote:
> 
> 
>>I follow the PDF instruction at
>>
>>osam.eee.nottingham.ac.uk/optics/
>>documentation/hardware/installing_comedi.pdf
>>
>>. It is very useful! But still some questions:
>>
>>(1) During compiling the comedilib, during "make" and "make install", 
>>there are jade warning and error like the followings:
>>make[4] [all-html] error 8, /usr/local/comedilib../doc/html
>>make[3] [all-html] error 1, /usr/local/comedilib../doc/
>>make[2] [all-html] error 2, /usr/local/comedilib../doc/
>>make[1] [all-html] error 1, /usr/local/comedilib../doc/
>>
>>As the PDF said, I ignor these errors.  Then I use /sbin/insmod comedi 
>>to load comedi.o. But it is not working for ni_pcimio, so I use 
>>/sbin/modprobe ni_pcimio, then it loads this driver. I hope the above 
>>steps are ok.
>>
>>(2)Then I cannot find comedi_config command! Don't know why?
>>
>>Thanks for any help in advance
>>
>>Xiaomei
>>
>>
>>Andy Corless wrote:
>>
>>
>>>Check out this PDF doc
>>>
>>>osam.eee.nottingham.ac.uk/optics/
>>>documentation/hardware/installing_comedi.pdf
> 
> 
> 
> This message has been scanned but we cannot guarantee that it and any
> attachments are free from viruses or other damaging content: you are
> advised to perform your own checks.  Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
> 
> 
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

Received on 2004-08-11Z09:46:07