Ignore:
Timestamp:
06/09/13 23:52:36 (11 years ago)
Author:
jripsl
Message:

Add demo scenarios.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Monitoring/CNClient/README

    r854 r866  
    1 - This program uses rabbitmq-c library (v0.3.0) 
     1- this program uses rabbitmq-c library (v0.3.0) 
    22        - https://github.com/alanxz/rabbitmq-c 
    3 - Compilation (static) 
    4         - Library installation 
    5                 - using system package 
    6                         - install using commands below 
    7                                 - aptitude install librabbitmq0 
    8                                 - aptitude install librabbitmq-dev 
    9                         - note that it is likely that system packages versions are out of date (we need v0.3.0) 
    10                           so better use installation from source 
    11                 - from source 
    12                         - retrieve source 
    13                                 - wget https://github.com/alanxz/rabbitmq-c/archive/rabbitmq-c-v0.3.0.zip -O rabbitmq-c-v0.3.0.zip 
    14                                 - unzip rabbitmq-c-v0.3.0.zip 
    15                                 - cd rabbitmq-c-v0.3.0 
    16                         - compilation using autoconf (automake v1.9+, and libtool v2.2+) 
    17                                 - autoreconf -i 
    18                                         - if error occurs at this step, check requirement below 
    19                                                 - we require autotools v2.63 or better to build. I think RHEL5 ships with v2.59 which lacks the AC_PROC_CC_C99 macro. 
    20                                                         - You can do one of two things; 
    21                                                                 - Install a newer version of autotools 
    22                                                                 - Build using cmake (v2.6 or better). 
    23                                 - ./configure --enable-static 
    24                                 - make 
    25                                 - make install 
    26                         - compilation using cmake (CMake v2.6+) 
    27                                 - mkdir build && cd build 
    28                                 - cmake -DBUILD_STATIC_LIBS=True -DBUILD_SHARED_LIBS=True .. 
    29                                 - cmake --build . 
    30                                 - make 
    31                                         - you got error AAA below, it's normal 
    32                                                 make[2]: *** Pas de rÚgle pour fabriquer la cible « librabbitmq/librabbitmq.so.1.0.1 », nécessaire pour « examples/amqp_bind ». Arrêt. 
    33                                                 make[1]: *** [examples/CMakeFiles/amqp_bind.dir/all] Erreur 2 
    34                                                 make: *** [all] Erreur 2 
    35                                 - make 
    36                                   (because of the above error (AAA), you need to run make twice) 
    37                                 - make install 
     3- library installation 
     4        - using system package 
     5                - install using commands below 
     6                        - aptitude install librabbitmq0 
     7                        - aptitude install librabbitmq-dev 
     8                - note that it is likely that system packages versions are out of date (we need v0.3.0) 
     9                  so better use installation from source 
     10        - from source 
     11                - retrieve source 
     12                        - wget https://github.com/alanxz/rabbitmq-c/archive/rabbitmq-c-v0.3.0.zip -O rabbitmq-c-v0.3.0.zip 
     13                        - unzip rabbitmq-c-v0.3.0.zip 
     14                        - cd rabbitmq-c-v0.3.0 
     15                - compilation using autoconf (automake v1.9+, and libtool v2.2+) 
     16                        - autoreconf -i 
     17                                - if error occurs at this step, check requirement below 
     18                                        - we require autotools v2.63 or better to build. I think RHEL5 ships with v2.59 which lacks the AC_PROC_CC_C99 macro. 
     19                                                - You can do one of two things; 
     20                                                        - Install a newer version of autotools 
     21                                                        - Build using cmake (v2.6 or better). 
     22                        - ./configure --enable-static 
     23                        - make 
     24                        - make install 
     25                - compilation using cmake (CMake v2.6+) 
     26                        - mkdir build && cd build 
     27                        - cmake -DBUILD_STATIC_LIBS=True -DBUILD_SHARED_LIBS=True .. 
     28                        - cmake --build . 
     29                        - make 
     30                                - you got error AAA below, it's normal 
     31                                        make[2]: *** Pas de rÚgle pour fabriquer la cible « librabbitmq/librabbitmq.so.1.0.1 », nécessaire pour « examples/amqp_bind ». Arrêt. 
     32                                        make[1]: *** [examples/CMakeFiles/amqp_bind.dir/all] Erreur 2 
     33                                        make: *** [all] Erreur 2 
     34                        - make 
     35                          (because of the above error (AAA), you need to run make twice) 
     36                        - make install 
     37- compilation (static) 
    3838        - gcc -static -I/usr/local/include -L/usr/local/lib -Wall -o sendAMQPMsg send_AMQP_msg.c -lrabbitmq 
    3939                - we get warning below during compilation 
Note: See TracChangeset for help on using the changeset viewer.