(1) 编译安装libuuid-1.0.2,
tar xvf libuuid-1.0.2.tar.gz,切换至该目录。
./configure –prefix=/usr/local/libuuid
make && make install
下载地址:http://download.csdn.net/detail/wei_xiaox126/8249635
(2) 编译安装cppunit-1.12.1 ,
tar xvf cppunit-1.12.1.tar.gz,切换至该目录。
./configure --prefix=/usr/local/cppunit/
make && make install
下载地址:http://download.csdn.net/detail/wei_xiaox126/8249639
(3) 编译安装apr-1.5.1 ,
tar xvf apr-1.5.1.tar.gz,切换至该目录。
./configure --prefix=/usr/local/apr/ ,
make && make install
下载地址:http://download.csdn.net/detail/wei_xiaox126/8249665
(4) 编译安装apr-util-1.5.4,
tar xvf apr-util-1.5.4.tar.gz,切换至该目录。
./configure --prefix=/usr/local/aprutil--with-apr=/usr/local/apr/
make&& make install
下载地址:http://download.csdn.net/detail/wei_xiaox126/8249651
(5) 编译安装apr-iconv-1.2.1 ,
tar xvf apr-iconv-1.2.1.tar.gz,切换至该目录。
./configure --prefix=/usr/local/apr-iconv/ --with-apr=/usr/local/apr/,
make && make install
下载地址:http://download.csdn.net/detail/wei_xiaox126/8249659
(6) 编译安装ActiveMQ-CPP ,
切换至该目录。
./configure --prefix=/usr/local/ActiveMQ-cpp --with-apr=/usr/local/apr/--with-apr-util=/usr/local/aprutil --with-cppunit=/usr/local/cppunit
Make && make install
下载地址:http://download.csdn.net/detail/wei_xiaox126/8249673可用
外文网站:http://activemq.apache.org/cms/download.html
总结:
网上可以找到c++的测试文件
下载地址:http://download.csdn.net/detail/wei_xiaox126/8249719
“Readme“中都有
错误:
1.cannot open shared object file: No such file or directory
可以试着:sudoldconfig
如果还不行可链接:
http://www.cnblogs.com/smartvessel/archive/2011/01/21/1940868.html