Changeset 866 for trunk/Monitoring/CNClient/README
- Timestamp:
- 06/09/13 23:52:36 (11 years ago)
- 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) 2 2 - https://github.com/alanxz/rabbitmq-c 3 - Compilation (static)4 - Library installation5 - using system package6 - install using commands below7 - aptitude install librabbitmq08 - aptitude install librabbitmq-dev9 - note that it is likely that system packages versions are out of date (we need v0.3.0)10 so better use installationfrom source11 - fromsource12 - retrieve source13 - wget https://github.com/alanxz/rabbitmq-c/archive/rabbitmq-c-v0.3.0.zip -Orabbitmq-c-v0.3.0.zip14 - unzip rabbitmq-c-v0.3.0.zip15 - cd rabbitmq-c-v0.3.016 - compilation using autoconf (automake v1.9+, and libtool v2.2+)17 - autoreconf -i18 - if error occurs at this step, check requirement below19 - 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 autotools22 - Build using cmake (v2.6 or better).23 - ./configure --enable-static24 - make25 - make install26 - compilation using cmake (CMake v2.6+)27 - mkdir build && cd build28 - cmake -DBUILD_STATIC_LIBS=True -DBUILD_SHARED_LIBS=True ..29 - cmake --build .30 - make31 - you got error AAA below, it's normal32 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 234 make: *** [all] Erreur 235 - make36 (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) 38 38 - gcc -static -I/usr/local/include -L/usr/local/lib -Wall -o sendAMQPMsg send_AMQP_msg.c -lrabbitmq 39 39 - we get warning below during compilation
Note: See TracChangeset
for help on using the changeset viewer.