Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is the method I followed to install Boost.Log in my Linux box. One important note before you build and install Boost libraries: Make sure you have installed a threading library like <code>pthreads</code>. Most package managers should have them.</p> <p>Here are the build steps:</p> <p>If you have installed Boost already from source, then its fine continue to next step. Otherwise download it from <a href="http://sourceforge.net/projects/boost/files/boost/" rel="noreferrer">here</a> (preferably the latest version (v1.46). I used v1.45). Extract the boost libraries at say: <code>/opt</code>. We can build the libraries along with Boost.Log.</p> <ul> <li>Download Boost.Log from <a href="http://sourceforge.net/projects/boost-log/" rel="noreferrer">Sourceforge</a>.</li> <li>Extract the Boost.Log source archive in a folder – say <code>/opt</code>. Copy the log folder in: <code>/opt/boost-log-1.0/boost</code> to your boost source directory <code>/opt/Boost_1_45_0/boost</code> (assuming that you have extracted it in <code>/opt</code>).</li> <li>Copy the log folder in: <code>/opt/boost-log-1.0/libs</code> to your boost libs directory <code>/opt/Boost_1_45_0/libs</code> (assuming that you have extracted it in <code>/opt</code>). If you haven’t installed other Boost libraries, then follow these steps: <ul> <li><code>cd /opt/Boost_1_45_0</code></li> <li><code>.bootstrap.sh --show-libraries</code> — this will list all the libraries that will be built and installed. You should see <code>log</code> listed as part of it.</li> <li><code>.bootstrap.sh --with-libraries=all --prefix=/usr/local --includedir=/usr/local/include --libdir=/usr/local/lib</code></li> <li><code>./bjam install</code></li> </ul></li> </ul> <p>Finally make sure <code>$LD_LIBRARY_PATH</code> has <code>/usr/local/lib</code> (the path specified in <code>bjam</code> to install the built libraries) as part of it. If it is not edit your <code>~/.bashrc</code> and add the following:</p> <pre><code>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib export LD_LIBRARY_PATH </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload