| 1 |
Configure with one of the following commands: |
| 2 |
# For udev: "./configure --with-udev-hotplug=/lib --sysconfdir=/etc" |
| 3 |
# For old hotplug: "./configure --enable-etc-hotplug --sysconfdir=/etc" |
| 4 |
This makes sure that the udev files are installed in /etc and not |
| 5 |
in /usr/local/etc. |
| 6 |
|
| 7 |
'./configure --help' will give the configuration options. |
| 8 |
|
| 9 |
If the configure script does not exist (if you checked comedilib out |
| 10 |
from git for example), it can be generated by running './autogen.sh'. |
| 11 |
The autoconf, automake, autoheader, etc. tools are required to |
| 12 |
generate the configure script (automake version >= 1.5 recommended). |
| 13 |
|
| 14 |
The configure script will not enable the Python or Ruby bindings |
| 15 |
unless 'swig' is installed and the Python or Ruby development |
| 16 |
packages are installed. |
| 17 |
|
| 18 |
Compile using 'make'. If this doesn't work, make sure you have the |
| 19 |
basic tools installed to compile. If you can successfully compile |
| 20 |
other things, consult the author, as he has probably made a mistake. |
| 21 |
|
| 22 |
Install using 'make install' as root. This installs the files: |
| 23 |
/usr/lib/libcomedi.so.0.x |
| 24 |
/usr/include/comedi.h |
| 25 |
/usr/include/comedilib.h |
| 26 |
and other things... |
| 27 |
|
| 28 |
To write programs that use comedi, look at examples in the demo/ and |
| 29 |
the documentation in the doc/ directory. |