INSTALL
changeset 1331 7cd33a77f926
parent 1214 63802a52dd69
child 1883 57b500c062fe
equal deleted inserted replaced
1330:8bba0b595315 1331:7cd33a77f926
     2 
     2 
     3 This is the INSTALL file of the IgH EtherCAT Master.
     3 This is the INSTALL file of the IgH EtherCAT Master.
     4 
     4 
     5 $Id$
     5 $Id$
     6 
     6 
       
     7 vim: set spelllang=en spell tw=78
       
     8 
     7 -------------------------------------------------------------------------------
     9 -------------------------------------------------------------------------------
     8 
    10 
     9 Building and installing
    11 Building and installing
    10 =======================
    12 =======================
    11 
    13 
    12 The build and installation procedure is described in section 2.1 in the
    14 The complete build and installation procedure is described in the respective
    13 documentation available from http://etherlab.org/en/ethercat.
    15 section of the documentation available from http://etherlab.org/en/ethercat.
    14 
    16 
    15 -------------------------------------------------------------------------------
    17 -------------------------------------------------------------------------------
    16 
    18 
    17 For the impatient: The procedure mainly consists of calling
    19 For the impatient: The procedure mainly consists of calling
    18 
    20 
    19 $ ./configure
    21 $ ./configure
    20 $ make
    22 $ make all modules
    21 $ make modules
       
    22 
    23 
    23 (and as root)
    24 ... and as root:
    24 
    25 
    25 # make install
    26 # make modules_install install
    26 # make modules_install
       
    27 # depmod
    27 # depmod
    28 
    28 
    29 ...and linking the init script and copying the sysconfig file from $PREFIX/etc
    29 ... and linking the init script and copying the sysconfig file from $PREFIX/etc
    30 to the appropriate locations and customizing the sysconfig file.
    30 to the appropriate locations and customizing the sysconfig file.
    31 
    31 
    32 # ln -s ${PREFIX}/etc/init.d/ethercat /etc/init.d/ethercat
    32 # ln -s ${PREFIX}/etc/init.d/ethercat /etc/init.d/ethercat
    33 # cp ${PREFIX}/etc/sysconfig/ethercat /etc/sysconfig/ethercat
    33 # cp ${PREFIX}/etc/sysconfig/ethercat /etc/sysconfig/ethercat
    34 # vi /etc/sysconfig/ethercat
    34 # vi /etc/sysconfig/ethercat