Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jedi4ever/mcollective-cpp-agents
Sample code for writing c++ agent for mcollective
https://github.com/jedi4ever/mcollective-cpp-agents
Last synced: about 1 month ago
JSON representation
Sample code for writing c++ agent for mcollective
- Host: GitHub
- URL: https://github.com/jedi4ever/mcollective-cpp-agents
- Owner: jedi4ever
- Created: 2012-04-16T17:41:57.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-04-25T18:08:13.000Z (over 12 years ago)
- Last Synced: 2023-04-10T14:22:17.571Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 148 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README-libaqmp-cpp.md
Awesome Lists containing this project
README
## Required libraries
To make it work we require some libraries that are standard not (yet) available as rpm.
We install these libraries in /opt as prefix to avoid- ActiveMQ-cpp :
- APR :
- APR-util :
- Yaml-cpp :libapr-1 and libapr-util are already available on centos but ActiveMQ-cpp needs more recent versions
### APR
APR :# wget http://apache.cu.be//apr/apr-1.4.6.tar.gz
# tar -xzvf apr-1.4.6.tar.gz
# cd apr-1.4.6
# ./configure --prefix=/opt
# make install### APR-util
APR-util :# wget http://apache.cu.be//apr/apr-util-1.4.1.tar.gz
# tar -xzvf apr-1.4.1.tar.gz
# cd apr-1.4.1
# ./configure --prefix=/opt --with-apr=/opt
# make install### Activemq-cpp
ActiveMQ-cpp :This requires apr and apr-util:
Requires openssl-devel (but doesn't seem to work)
# yum install openssl-devel
# wget http://apache.megamobile.be/activemq/activemq-cpp/source/activemq-cpp-library-3.4.1-src.tar.gz
# tar -xzvf activemq-cpp-library-3.4.1-src.tar.gz
# cd activemq-cpp-library-3.4.1
# ./configure --prefix=/opt --with-apr=/opt/ --with-apr-util=/opt --disable-ssl
# make install### Yaml-cpp
Yaml-cpp :Requires cmake
# yum install cmake
To have it use /opt as prefix -
# wget http://yaml-cpp.googlecode.com/files/yaml-cpp-0.3.0.tar.gz
# cd yaml-cpp-0.3.0
# mkdir build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt ..