`
hillmover
  • 浏览: 34051 次
  • 性别: Icon_minigender_2
  • 来自: 上海
社区版块
存档分类
最新评论

Installation - ActiveMQ CPP Library 2.1.3

阅读更多

ActiveMQ CPP Library 2.1.3

# Install dependencies

1. libuuid

  > sudo yum install e2fsprogs-devel


2. CppUnit

  > sudo yum install cppunit cppunit-devel


3. GNU Build System

Tool        Recommended Version
autoconf    >= 2.60
automake    >= 1.10
libtool     >= 1.5.24

# Building on Unix/Linux

  > ./autogen.sh

  > ./configure

  > make

  > make install

# To generate the doxygen documentation for the project

  > make doxygen-run

 

Troubleshooting:

The above offical instruction is just woks on paper. Actually, I cannot install activemq cpp well base on it. I got the following error messages:

Error:

> ./autogen.sh
configure.ac:173: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid
m4/ac_doxygen.m4:95: DX_REQUIRE_PROG is expanded from...
m4/ac_doxygen.m4:167: DX_ARG_ABLE is expanded from...
m4/ac_doxygen.m4:324: DX_INIT_DOXYGEN is expanded from...
configure.ac:173: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

The error is related to Doxygen.

Currently, I have no other ways except to disable all configurations about Doxygen.  Actually, it does not affect the main activemq work.

Solution:

1. > vi configure.ac

Comment on the following lines:

## Execute Doxygen macros
# DX_HTML_FEATURE(ON)
# DX_CHM_FEATURE(OFF)
# DX_CHI_FEATURE(OFF)
# DX_MAN_FEATURE(OFF)
# DX_RTF_FEATURE(OFF)
# DX_XML_FEATURE(OFF)
# DX_PDF_FEATURE(OFF)
# DX_PS_FEATURE(OFF)
# DX_INIT_DOXYGEN(activemq-cpp, doxygen.cfg, doc)

 

2. > vi Mikefile.am

Comment on the following lines:

# include doxygen-include.am


# EXTRA_DIST=autogen.sh $(DX_CONFIG) doc/html

 

OK. Please do autogen.sh, ./configure, make, and make install. It works fine now.

 

Start/Stop ActiveMQ

1. startup.sh

 if [ -e /tmp/smlog ]; then
         mv /tmp/smlog /tmp/smlog.bak;
 fi
 nohup bin/activemq > /tmp/smlog 2>&1 &
 echo "[INFO] ActiveMQ is running..."

 

2. shutdown.sh

 pid=`sudo ps -ef | grep "activemq" | awk ' { print $2 } '`
 kill $pid;
 echo "[INFO] ActiveMQ is stopped..."

分享到:
评论

相关推荐

    activemq-cpp-library-3.9.5 编译的windows库文件,支持vs2015、vs2017

    《ActiveMQ-CPP Library 3.9.5在Windows环境下的编译与应用》 ActiveMQ-CPP Library 3.9.5是一款专为C++开发者设计的、用于与Apache ActiveMQ集成的库,它提供了丰富的API接口,使得在C++环境中能够方便地发送和...

    activemq-cpp-library-3.9.5-src.zip

    《ActiveMQ-CPP库3.9.5源代码解析与应用》 ActiveMQ-CPP库是Apache ActiveMQ项目的一部分,它提供了一套C++接口,用于与ActiveMQ消息代理进行通信。这个库允许开发者在C++应用程序中实现高级消息队列协议(AMQP)和...

    apache-activemq-5.10到apache-activemq6.1大版本合集

    activemq-parent-5.10.0-source-release.zip activemq-parent-5.10.2-source-release.zip activemq-parent-5.12.3-source-release.zip apache-activemq-5.10.2-bin.tar.gz apache-activemq-5.11.4-bin.zip apache-...

    activemq-cpp-library-3.6.0-src.tar.gz_C# ActiveMQ_activemq_activ

    《ActiveMQ-CPP库3.6.0源码解析与C#应用实践》 ActiveMQ是Apache软件基金会开发的一款开源消息中间件,它基于开放标准的JMS(Java消息服务)协议,支持多种语言,包括C++。在本文中,我们将深入探讨ActiveMQ-CPP库...

    apache-activemq-5.8.0-bin.zip

    这个压缩包"apache-activemq-5.8.0-bin.zip"包含了ActiveMQ 5.8.0版本的二进制发行版,供用户在本地计算机上安装和运行。 1. **Apache ActiveMQ简介** - Apache ActiveMQ是业界广泛使用的消息代理,提供可靠的消息...

    apache-activemq-5.9.0-bin

    这个“apache-activemq-5.9.0-bin”压缩包包含了Apache ActiveMQ 5.9.0版本的完整二进制文件,用于在本地或网络环境中安装和运行。 Apache ActiveMQ的核心功能包括: 1. **消息队列**:ActiveMQ支持多种消息模式,...

    apache-activemq-5.5.1-bin.zip加上入门demo

    解压缩apache-activemq-5.5.1-bin.zip,然后双击apache-activemq-5.5.1\bin\activemq.bat运行ActiveMQ程序。 包含了apache-activemq-5.5.1-bin.zip以及ActiveMQ一个helloworld的demo启动ActiveMQ以后,登陆:...

    apache-activemq-5.15.12-bin.tar.gz

    tar -zxvf apache-activemq-5.15.12-bin.tar.gz 2.进入bin目录 cd /apache-activemq-5.15.12/bin 3.运行,没有配置环境变量只能在bin目录下使用命令 ./activemq 4.配置环境变量,配置完环境变量之后...

    apache-activemq-5.15.9.rar

    在本文中,我们将深入探讨Apache ActiveMQ,特别是针对“apache-activemq-5.15.9-bin.zip”这个版本在Windows平台上作为MQTT服务器的使用。 首先,让我们理解MQTT(Message Queuing Telemetry Transport)。MQTT是...

    apache-activemq-5.16.0-linux版本

    apache-activemq-5.16.0

    apache-activemq-5.15.8-bin.zip

    这个"apache-activemq-5.15.8-bin.zip"文件包含了ActiveMQ的可执行版本,用于在本地计算机上安装和运行ActiveMQ服务。 首先,我们需要了解ActiveMQ的核心概念。它是一个消息代理,扮演着消息生产者与消费者之间的...

    apache-activemq-5.13.2-bin.tar.gz

    这个`apache-activemq-5.13.2-bin.tar.gz`压缩包包含了ActiveMQ的可执行版本,适用于运行在Linux环境下的Java应用程序。版本号5.13.2意味着这是该软件的特定稳定版本,它可能包含了bug修复和性能优化。 ActiveMQ的...

    apache-activemq-5.16.6-bin.zip

    这个"apache-activemq-5.16.6-bin.zip"文件包含了ActiveMQ的最新稳定版本5.16.6的二进制发行版,主要用于在各种环境中部署和运行。 **Apache ActiveMQ核心概念** 1. **消息队列(Message Queue)**: 消息队列是...

    apache-activemq-5.8.0.zip

    apache-activemq-5.8.0,包解压后可以直接使用,用于系统间的消息的发布与消费。 pom添加: <groupId>org.apache.activemq <artifactId>activemq-all <version>5.11.1 </dependency>

    apache-activemq-5.14.3-bin.zip

    这个"apache-activemq-5.14.3-bin.zip"压缩包包含了在Windows环境下部署和运行ActiveMQ所需的所有文件。让我们深入探讨一下这个版本的ActiveMQ及其在Java消息服务中的应用。 首先,Java消息服务(JMS)是一种标准...

    linux activemq-cpp-library-3.8.2-src.tar.gz

    3. 解压源代码:将`activemq-cpp-library-3.8.2.tar.gz`解压到指定目录,如`/usr/local/src/`。 4. 配置并编译:进入源代码目录,运行`mkdir build && cd build`,然后`cmake ..`,最后`make`进行编译。 5. 安装编译...

    pcp-pmda-activemq-5.3.1-2.el8.x86_64.rpm

    官方离线安装包,测试可用。请使用rpm -ivh [rpm完整包名] 进行安装

    apache-activemq-5.16.5

    标题"apache-activemq-5.16.5"指的是该软件的一个特定版本,即5.16.5版本,通常每个新版本都会包含错误修复、性能提升以及新功能的添加。 描述中提到"启动要求jdk版本8+", 这意味着在运行Apache ActiveMQ 5.16.5...

    apache-activemq-5.16.5-bin.tar.gz 下载(5积分)

    Apache ActiveMQ是Apache软件基金会的一个开源项目,是一个基于消息的通信中间件。ActiveMQ是JMS的一个具体实现,支持JMS的两种消息模型。ActiveMQ使用AMQP协议集成多平台应用,使用STOMP协议通过websockets在Web...

    apache-activemq-5.15.15二进制包,安装包

    这个“apache-activemq-5.15.15二进制包,安装包”包含了运行和配置ActiveMQ所需的所有组件,方便用户在本地计算机或服务器上快速部署和使用。该版本5.15.15是Apache ActiveMQ的一个稳定版本,提供了许多增强的功能...

Global site tag (gtag.js) - Google Analytics