fp@198: ------------------------------------------------------------------------------- fp@198: fp@198: This is the INSTALL file of the IgH EtherCAT Master. fp@198: fp@198: $Id$ fp@198: fp@1331: vim: set spelllang=en spell tw=78 fp@1331: fp@198: ------------------------------------------------------------------------------- fp@198: fp@198: Building and installing fp@355: ======================= fp@355: fp@1331: The complete build and installation procedure is described in the respective fp@1331: section of the documentation available from http://etherlab.org/en/ethercat. fp@355: fp@198: ------------------------------------------------------------------------------- fp@380: fp@785: For the impatient: The procedure mainly consists of calling fp@380: fp@1883: $ ./boostrap # to create the configure script, if downloaded from the repo fp@1883: fp@487: $ ./configure fp@1331: $ make all modules fp@380: fp@1331: ... and as root: fp@487: fp@1331: # make modules_install install fp@1106: # depmod fp@487: fp@1331: ... and linking the init script and copying the sysconfig file from $PREFIX/etc fp@1017: to the appropriate locations and customizing the sysconfig file. fp@1017: fp@1017: # ln -s ${PREFIX}/etc/init.d/ethercat /etc/init.d/ethercat fp@1017: # cp ${PREFIX}/etc/sysconfig/ethercat /etc/sysconfig/ethercat fp@1017: # vi /etc/sysconfig/ethercat fp@1017: fp@1214: Make sure, that the 'udev' package is installed, to automatically create the fp@1214: EtherCAT character devices. The character devices will be created with mode fp@1214: 0660 and group root by default. If you want to give normal users reading fp@1214: access, create a udev rule like this: fp@1017: fp@1017: # echo KERNEL==\"EtherCAT[0-9]*\", MODE=\"0664\" > /etc/udev/rules.d/99-EtherCAT.rules fp@1017: fp@1017: Now you can start the EtherCAT master: fp@1017: fp@1017: # /etc/init.d/ethercat start fp@1017: fp@1081: Have a look at the examples/ subdirectory for some application examples. fp@1081: fp@1017: Have fun! fp@380: fp@380: -------------------------------------------------------------------------------