From commits-return-7565-apmail-qpid-commits-archive=qpid.apache.org@qpid.apache.org Mon Dec 22 15:48:37 2008 Return-Path: Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: (qmail 21076 invoked from network); 22 Dec 2008 15:48:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2008 15:48:37 -0000 Received: (qmail 88707 invoked by uid 500); 22 Dec 2008 15:48:37 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 88695 invoked by uid 500); 22 Dec 2008 15:48:37 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 88686 invoked by uid 500); 22 Dec 2008 15:48:37 -0000 Delivered-To: apmail-incubator-qpid-commits@incubator.apache.org Received: (qmail 88679 invoked by uid 99); 22 Dec 2008 15:48:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Dec 2008 07:48:37 -0800 X-ASF-Spam-Status: No, hits=-1994.3 required=10.0 tests=ALL_TRUSTED,HTML_MESSAGE,MIME_HTML_ONLY X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Dec 2008 15:48:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E57AB234C403 for ; Mon, 22 Dec 2008 07:48:02 -0800 (PST) Message-ID: <536331900.1229960882937.JavaMail.www-data@brutus> Date: Mon, 22 Dec 2008 07:48:02 -0800 (PST) From: confluence@apache.org To: qpid-commits@incubator.apache.org Subject: [CONF] Apache Qpid: Qpid Cpp Build How To (page edited) MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org

Qpid Cpp Build How To has been edited by Kim van der Riet (Dec 22, 2008).

(View changes)

Content:

Qpid SVN Trunk Build Instructions

Prerequisites

Some of the source is auto-generated from the AMQP spec file. This generator is written in Ruby. Auto-generation is performed by running make (see below); no special steps are required.

Ensure you have the latest devel versions of the following packages installed:

* There is a patch to get v.1.32 working in the svn tree though that is only recommended as a last resort.

To build directly from the SVN repository you will need all of the above plus the following development tools:

Hint: To check and install all of the above, use (as root):

yum install boost-devel e2fsprogs-devel pkgconfig gcc-c++ make autoconf automake help2man libtool doxygen graphviz ruby

Optional cluster functionality requires:

Optional XML exchange requires:

Optional SSL support requires:

Check out the source

Check the source for Qpid java out of our subversion repository: https://svn.apache.org/repos/asf/qpid/trunk/qpid/

svn co https://svn.apache.org/repos/asf/qpid/trunk/qpid

Autoconf and auto build

First you need to initialize the autotools:

./bootstrap

To build Qpid, run

./configure
make

By default, configure will enable the options for which it finds the installed packages. However, to override this behavior, use parameters with configure to disable unwanted options.
Hint: To see all the configure options, run

./configure --help

Finally, to make sure all the test pass both C++ and Pyhton run

make check

As a convenient shortcut you can do all of the above steps in one command with:

./bootstrap -build