source: general/genlib/boost.xml@ 2b9f9dc

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2b9f9dc was 2b9f9dc, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Modify a boost header to fix a problem with Qt's moc command

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14920 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.3 KB
Line 
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 "1be49befbdd9a5ce9def2983ba3e7b76">
10 <!ENTITY boost-size "59 MB">
11 <!ENTITY boost-buildsize "805 MB">
12 <!ENTITY boost-time "4.4 SBU">
13]>
14
15<sect1 id="boost" xreflabel="Boost-&boost-version;">
16 <?dbhtml filename="boost.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Boost-&boost-version;</title>
24
25 <indexterm zone="boost">
26 <primary sortas="a-Boost">Boost</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Boost</title>
31
32 <para>
33 <application>Boost</application> provides a set of free peer-reviewed
34 portable C++ source libraries. It includes libraries for linear algebra,
35 pseudorandom number generation, multithreading, image processing, regular
36 expressions and unit testing.
37 </para>
38
39 &lfs76_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&boost-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&boost-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &boost-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &boost-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &boost-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &boost-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Boost Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="icu"/> and
80 <xref linkend="python2"/>
81 </para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/boost"/>
85 </para>
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of Boost</title>
90
91 <para>
92 Install <application>Boost</application> by running the following
93 commands:
94 </para>
95
96<screen><userinput>sed -e '1 i#ifndef Q_MOC_RUN' \
97 -e '$ a#endif' \
98 -i boost/type_traits/detail/has_binary_operator.hpp &amp;&amp;
99
100./bootstrap.sh --prefix=/usr &amp;&amp;
101./b2 stage threading=multi link=shared</userinput></screen>
102
103 <para>
104 This package does not come with a test suite.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<!-- dev note: ./b2 - -prefix=<DESTDIR>/usr install threading=multi link=shared -->
112
113<screen role="root"><userinput>./b2 install threading=multi link=shared</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <para>
121 <command>sed ... has_binary_operator.hpp</command>: This command
122 fixes a header to overcome a problem with Qt's moc command. It
123 is necessary for building some KDE packages.
124 </para>
125
126 <para>
127 <parameter>threading=multi</parameter>: This parameter ensures that
128 <application>Boost</application> is built with multithreading support.
129 </para>
130
131 <para>
132 <parameter>link=shared</parameter>: This parameter ensures that only shared
133 libraries are created, except for libboost_exception and libboost_test_exec_monitor
134 which are created as static. Most people will not need the static libraries, indeed
135 most programs using <application>Boost</application> only use the headers, but omit
136 this parameter if you do need them.
137 </para>
138
139 </sect2>
140
141 <sect2 role="content">
142 <title>Contents</title>
143
144 <segmentedlist>
145 <segtitle>Installed Programs</segtitle>
146 <segtitle>Installed Libraries</segtitle>
147 <segtitle>Installed Directory</segtitle>
148
149 <seglistitem>
150 <seg>
151 None
152 </seg>
153 <seg>
154 libboost_atomic.so, libboost_chrono.so, libboost_container.so,
155 libboost_context.so, libboost_coroutine.so, libboost_date_time.so,
156 libboost_exception.a, libboost_filesystem.so, libboost_graph.so,
157 libboost_iostreams.so, libboost_locale.so, libboost_log_setup.so,
158 libboost_log.so, libboost_math_c99.so, libboost_math_c99f.so,
159 libboost_math_c99l.so, libboost_math_tr1.so, libboost_math_tr1f.so,
160 libboost_math_tr1l.so, libboost_prg_exec_monitor.so,
161 libboost_program_options.so, libboost_python.so, libboost_random.so,
162 libboost_regex.so, libboost_serialization.so, libboost_signals.so,
163 libboost_system.so, libboost_test_exec_monitor.a, libboost_thread.so,
164 libboost_timer.so, libboost_unit_test_framework.so, libboost_wave.so,
165 and libboost_wserialization.so
166 </seg>
167 <seg>
168 /usr/include/boost
169 </seg>
170 </seglistitem>
171 </segmentedlist>
172
173 </sect2>
174
175</sect1>
Note: See TracBrowser for help on using the repository browser.