boost安装/qpidc安装
2009-10-29 16:31

apache qpidc安装:

必须安装:

* boost <http://www.boost.org> (1.35)(*)

* e2fsprogs <http://e2fsprogs.sourceforge.net/> (1.39)

* pkgconfig <http://pkgconfig.freedesktop.org/wiki/> (0.21)

可选:

集群特性依赖:

* openais <http://openais.org/> (0.80.3)

XML依赖:

* xqilla <http://xqilla.sourceforge.net/HomePage> (2.0.0)

* xerces-c <http://xerces.apache.org/xerces-c/> (2.7.0)

SSL 支持依赖:

* nss <http://www.mozilla.org/projects/security/pki/nss/>

* nspr <http://www.mozilla.org/projects/nspr/>

基础依赖:

* gcc <http://gcc.gnu.org/> (3.4.6) 一定能够要达到要求,笔者在3.3.4编译不过,在4.1。0编译ok

* GNU make <http://www.gnu.org/software/make/> (3.8.0)

* autoconf <http://www.gnu.org/software/autoconf/> (2.61)

* automake <http://www.gnu.org/software/automake/> (1.9.6)

* help2man <http://www.gnu.org/software/help2man/> (1.36.4)

* libtool <http://www.gnu.org/software/libtool/> (1.5.22)

* doxygen <ftp://ftp.stack.nl/pub/users/dimitri/> (1.5.1)

* graphviz <http://www.graphviz.org/> (2.12)

* ruby 1.8 <http://www.ruby-lang.org> (1.8.4)

以下只安装

boost-devel 编译不过报缺lboost_program lboost_file_system时创建两个库连接

e2fsprogs-devel

pkgconfig

ruby

qpidc安装在/usr/local/qpid-tools

mkdir /usr/local/qpid-tools

A.

boost安装: [比较费力]

等到花儿都谢啦 ^_^

1.Tar zxvf boost*.tgz

2.Cd $(pwd)/boost/tools/jam/src

3../build.sh

4.Cp ./bin-*x86*/bjam ../../../../ ; Cd $(pwd)

5../bjam toolset=gcc variant=release threading=single link=shared --layout=system --prefix=/usr/local/qpid-tools install

6.一个小时

export CXXFLAGS=/usr/local/qpid-tools/include/boost

B. e2fsprogs-devel

./configure ;make;make install

c. pkgconfig 0.9.8版本以上

./configure ;make;make install

export PATH=/usr/local/qpid-tools/bin:/usr/bin:$PATH

export PKG_CONFIG_PATH=/usr/local/qpid-tools/lib/pkgconfig:/usr/local/pkgconfig:/usr/local/lib/pkgconfig

export PKG_CONFIG=/usr/local/qpid-tools/bin/pkg-config:/usr/local/bin

d. qpidc

./configure --prefix=/usr/local/qpid-tools/

发表回复