summaryrefslogtreecommitdiff
path: root/content/xdocs/Qpid Cpp Build How To.html
blob: 6cd43ab1969bc49b707c3bdd033c88e86e4a62df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<html>
    <head>
        <title>Apache Qpid : Qpid Cpp Build How To</title>
	    <link rel="stylesheet" href="styles/site.css" type="text/css" />
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">	    
    </head>

    <body>
	    <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
		    <tr>
			    <td valign="top" class="pagebody">
				    <div class="pageheader">
					    <span class="pagetitle">
                            Apache Qpid : Qpid Cpp Build How To
                                                    </span>
				    </div>
				    <div class="pagesubheading">
					    This page last changed on Jan 08, 2007 by <font color="#0050B2">aconway</font>.
				    </div>

				    <h2><a name="QpidCppBuildHowTo-Checkoutthesource"></a>Check out the source</h2>

<p>Firstly, check the source for Qpid java out of our subversion repository:</p>

<p><a href="https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid/" title="Visit page outside Confluence">https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid/</a></p>

<h2><a name="QpidCppBuildHowTo-Prerequisites"></a>Prerequisites</h2>

<p>For the gentools need JDK 1.5 or later. You should set JAVA_HOME and include the bin directory in your PATH.</p>

<p>Check it's ok by executing java &#45;v &#33;</p>

<p>For build tools you need to get the correct set of tooling for Linux/ Unix or cygwin. run</p>
<div class="preformatted"><div class="preformattedContent">
<pre>./qpid-autotools-install
</pre>
</div></div>

<h1><a name="QpidCppBuildHowTo-BuildInstructionsTrunk"></a>Build Instructions - Trunk</h1>


<h2><a name="QpidCppBuildHowTo-Autoconfandautobuild"></a>Autoconf and auto build</h2>

<p>First you need to create the gentools and initial set of files for automake and autoconf. Run:</p>

<div class="preformatted"><div class="preformattedContent">
<pre>./bootstrap
</pre>
</div></div>
<p>To build Qpid now run</p>
<div class="preformatted"><div class="preformattedContent">
<pre>./configure
make 
</pre>
</div></div>

<p>and finally to make sure all the test pass both C+&#43; and Pyhton run</p>
<div class="preformatted"><div class="preformattedContent">
<pre>make check
</pre>
</div></div>
<p>As a convenient shortcut you can do all of the above steps in one command with:</p>
<div class="code"><div class="codeContent">
<pre class="code-java"> ./bootstrap -build</pre>
</div></div>

				    
                    			    </td>
		    </tr>
	    </table>
	    <table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td height="12" background="border/border_bottom.gif"><img src="border/spacer.gif" width="1" height="1" border="0"/></td>
			</tr>
		    <tr>
			    <td align="center"><font color="grey">Document generated by Confluence on Apr 22, 2008 02:47</font></td>
		    </tr>
	    </table>
    </body>
</html>