1 activemq-cpp安装前准备:
首先安装libuuid,cppunit两个依赖库,分别到下面的路径去下载最新的tar.gz包(注意根据系统选择要安装的包)。
1.1 libuuid
On *nix sytems, the build requires the libuuid library that is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net/ which is not always installed by default.
On Fedora/Red Hat/openSUSE, you should install the e2fsprogs and e2fsprogs-devel packages. On Debian/Ubuntu, you should install uuid and uuid-dev packages.
1.2 CppUnit
The package contains a complete set of CppUnit tests. In order for you to build an run the tests, you will need to download and install the CppUnit library. See http://cppunit.sourceforge.net/cppunit-wiki
On Fedora/Red Hat/openSUSE, you should install the cppunit and cppunit-devel packages. On Debian/Ubuntu, you should install the libcppunit and libcppunit-dev packages.
Make sure that the paths to the installed CppUnit library and includes are visible in your current shell before you try building the tests.
Windows users will need to build the CppUnit library using the CppUnit MSVC project files. A discussion of the build process can be found on the CppUnit wiki under CppUnit build instructions this covers both MSVC along with many other platforms and tool suites.