Commit 3d5b7478 authored by Andrea Bignamini's avatar Andrea Bignamini
Browse files

Fix include dir for zmq and update README

The old path for zmq library is no more valid for zmq version 4.1.5.
It has been updated in all Makefile.
The README has been updated with more details on installation of
tango demons.
parent bc88c894
Loading
Loading
Loading
Loading
+31 −6
Original line number Diff line number Diff line
@@ -22,15 +22,40 @@ Enter the `tango_demons` directory, copy the scripts in `/etc/init.d` and chmod

    cp tango-databaseds /etc/init.d/
    cp tango-starter /etc/init.d/
    chmod +x /etc/init.d/tango-databaseds
    chmod +x /etc/init.d/tango-starter
    chmod 711 /etc/init.d/tango-databaseds
    chmod 711 /etc/init.d/tango-starter
    chkconfig --add tango-databaseds
    chkconfig --add tango-starter

Edit both tango-databaseds and tango-starter setting MYSQL_PASSWORD with the password of controls to access MySQL

    vim /etc/init.d/tango-databaseds
    vim /etc/init.d/tango-starter
    
Copy the service files in the systemd and enable them

    cp tango-databaseds.service /etc/systemd/system/
    cp tango-starter.service /etc/systemd/system/
    cp tango-databaseds.service /usr/lib/systemd/system/
    cp tango-starter.service /usr/lib/systemd/system/

Edit `mysqld.service` to be run before Tango services

    vim /usr/lib/systemd/system/mysqld.service

adding the following two lines under the `[Unit]` section

    Before=tango-databaseds.service
    Before=tango-starter.service

Enable Tango services

    systemctl enable tango-databaseds
    systemctl start tango-databaseds
    systemctl enable tango-starter

Reload all units

    systemctl daemon-reload

Start Tango services

    systemctl start tango-databaseds
    systemctl start tango-starter
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ EXEC_NAME :=astorcli
INSTALL_DIR=/usr/local/bin
RUN_ARGS :=
INC_DIR=/usr/local/omniORB/include \
	   /usr/local/zeromq/include/zmq \
	   /usr/local/zeromq/include \
	   /usr/local/tango/include/tango \
	   ./src
LIB_DIR=/usr/local/omniORB/lib \
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ EXEC_NAME :=atkcli
INSTALL_DIR=/usr/local/bin
RUN_ARGS :=
INC_DIR=/usr/local/omniORB/include \
	   /usr/local/zeromq/include/zmq \
	   /usr/local/zeromq/include \
	   /usr/local/tango/include/tango \
	   ./src
LIB_DIR=/usr/local/omniORB/lib \
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ EXEC_NAME :=jivecli
INSTALL_DIR=/usr/local/bin
RUN_ARGS :=
INC_DIR=/usr/local/omniORB/include \
	   /usr/local/zeromq/include/zmq \
	   /usr/local/zeromq/include \
	   /usr/local/tango/include/tango \
	   ./src
LIB_DIR=/usr/local/omniORB/lib \