1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY boost-download-http "&sourceforge-repo;/boost/boost_&boost-dl-version;.tar.bz2">
|
---|
8 | <!ENTITY boost-download-ftp " ">
|
---|
9 | <!ENTITY boost-md5sum "52dd00be775e689f55a987baebccc462">
|
---|
10 | <!ENTITY boost-size "49 MB">
|
---|
11 | <!ENTITY boost-buildsize "630 MB">
|
---|
12 | <!ENTITY boost-time "10 SBU">
|
---|
13 |
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="boost" xreflabel="Boost-&boost-version;">
|
---|
17 | <?dbhtml filename="boost.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Boost-&boost-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="boost">
|
---|
27 | <primary sortas="a-Boost">Boost</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to Boost</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | <application>Boost</application> provides free peer-reviewed
|
---|
35 | portable C++ source libraries.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs71_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&boost-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&boost-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &boost-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &boost-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &boost-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &boost-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">Boost Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
77 | <para role="Optional">
|
---|
78 | <xref linkend="icu"/> and
|
---|
79 | <xref linkend="python2"/>
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <para condition="html" role="usernotes">User Notes:
|
---|
83 | <ulink url="&blfs-wiki;/boost"/>
|
---|
84 | </para>
|
---|
85 | </sect2>
|
---|
86 |
|
---|
87 | <sect2 role="installation">
|
---|
88 | <title>Installation of Boost</title>
|
---|
89 |
|
---|
90 | <para>
|
---|
91 | Install <application>Boost</application> by running the following
|
---|
92 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <screen role="root"><userinput>./bootstrap.sh --prefix=/usr &&
|
---|
96 | ./b2 install threading=multi link=shared</userinput></screen>
|
---|
97 |
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2 role="commands">
|
---|
101 | <title>Command Explanations</title>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | <parameter>threading=multi</parameter>: This parameter ensures that
|
---|
105 | <application>Boost</application> is built with multithreading support.
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | <parameter>link=shared</parameter>: This parameter ensures that only shared
|
---|
110 | libraries are created, except for libboost_exception and libboost_test_exec_monitor
|
---|
111 | which are created as static. Most people will not need the static libraries, indeed
|
---|
112 | most programs using boost only use the headers, but omit this parameter if you
|
---|
113 | do need them.
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="content">
|
---|
119 | <title>Contents</title>
|
---|
120 |
|
---|
121 | <segmentedlist>
|
---|
122 | <segtitle>Installed Libraries</segtitle>
|
---|
123 | <segtitle>Installed Directory</segtitle>
|
---|
124 |
|
---|
125 | <seglistitem>
|
---|
126 | <seg>
|
---|
127 | libboost_chrono.so, libboost_date_time.so, libboost_exception.a,
|
---|
128 | libboost_filesystem.so, libboost_graph.so, libboost_iostreams.so,
|
---|
129 | libboost_locale.so, libboost_math_c99f.so, libboost_math_c99l.so,
|
---|
130 | libboost_math_c99.so, libboost_math_tr1f.so,
|
---|
131 | libboost_math_tr1l.so, libboost_math_tr1.so,
|
---|
132 | libboost_prg_exec_monitor.so, libboost_program_options.so,
|
---|
133 | libboost_python.so, libboost_random.so, libboost_regex.so,
|
---|
134 | libboost_serialization.so, libboost_signals.so,
|
---|
135 | libboost_system.so, libboost_test_exec_monitor.a,
|
---|
136 | libboost_thread.so, libboost_timer.so, libboost_unit_test_framework.so,
|
---|
137 | libboost_wave.so and libboost_wserialization.so
|
---|
138 | </seg>
|
---|
139 | <seg>
|
---|
140 | /usr/include/boost
|
---|
141 | </seg>
|
---|
142 | </seglistitem>
|
---|
143 | </segmentedlist>
|
---|
144 |
|
---|
145 | </sect2>
|
---|
146 |
|
---|
147 | </sect1>
|
---|