Add new version of web pages
[platform/upstream/openconnect.git] / www / building.xml
1 <PAGE>
2         <VAR match="VAR_ORIGIN" replace="" />
3         <VAR match="VAR_CVSID" replace=""/>
4         <INCLUDE file="inc/header.tmpl" />
5
6         <VAR match="VAR_SEL_STARTED" replace="selected" />
7         <VAR match="VAR_SEL_BUILDING" replace="selected" />
8         <PARSE file="menu1.xml" />
9         <PARSE file="menu2-started.xml" />
10         
11         <INCLUDE file="inc/content.tmpl" />
12
13         <h1>Building OpenConnect</h1>
14
15 <p>Unless you need to test the very latest version, you should not
16 need to build OpenConnect for yourself. Your operating system should
17 have a <a href="packages.html">prepackaged</a> version which you can
18 install; if it does not then file a bug or enhancement request asking for
19 one.</p>
20
21 <h2>Requirements</h2>
22 <p>To build OpenConnect from its source code, you will need the following
23 libraries and tools installed:</p>
24
25 <ul>
26   <li><b><tt>libxml2</tt></b></li>
27   <li><b><tt>zlib</tt></b></li>
28   <li><b><tt>OpenSSL</tt></b></li>
29   <li><b><tt>pkg-config</tt></b></li>
30 </ul>
31 And <em>optionally</em> also:
32 <ul>
33   <li><b><a href="http://code.google.com/p/libproxy/">libproxy</a></b></li>
34 </ul>
35 <p>OpenConnect supports the use of HTTP and SOCKS proxies to connect to the
36 AnyConnect service, even without using libproxy. You may wish to use libproxy
37 if you want OpenConnect to automatically use the appropriate proxies for your
38 environment, without having to manually give it the <tt>--proxy</tt> argument
39 on the command line.</p>
40
41 <h2>Building OpenConnect</h2>
42
43 <p>If you checked the source code out from git rather from a release tarball
44   then run this command first to prepare the build system:</p>
45   <ul>
46     <li><tt>./autogen.sh</tt></li>
47   </ul>
48   <p>Then to build it, run the following commands:</p>
49   <ul>
50     <li><tt>./configure</tt></li>
51     <li><tt>make</tt></li>
52     <li><tt>make install</tt> <i>(If you want to install it)</i></li>
53   </ul>
54
55 <p>If compilation fails, please make sure you have a working compiler and the
56 <b>development</b> packages for all the required libraries mentioned above. If
57 it still doesn't build, please send the full output in a plain-text mail to the
58 <a href="mail.html">mailing list</a>.</p>
59
60 <h2>TUN/TAP driver</h2>
61
62 <p>Mac OS X users will also need to install the
63 <a href="http://tuntaposx.sourceforge.net/">Mac OS X tun/tap driver</a>, and Solaris users will need the <a href="http://www.whiteboard.ne.jp/~admin2/tuntap/">Solaris one</a>. Note that for IPv6 support, the Solaris tun/tap driver from 16th Nov 2009 or newer is required.</p>
64
65         <INCLUDE file="inc/footer.tmpl" />
66 </PAGE>
67