building boost on linux

using the instructions at http://www.boost.org/doc/libs/1_46_1/more/getting_started/unix-variants.html

I am at the instructions at ./bjam install

Just received the error "skipped 831 targets"

I am pretty sure something is wrong. Anyone done this before on Ubuntu? Can any one help me?

--------------Solutions-------------

I highly recommend you to use Personal Package Archives (PPAs) if you're on Ubuntu. This one provides

the absolute latest bleeding edge versions of boost, currently 1.47, that works great for my development.

To add this archive to your package database just do

sudo add-apt-repository ppa:purplekarrot/ppa;
sudo apt-get update;

and to install for example Boost.Thread you do

sudo apt-get install libboost-thread-dev;

Why reinvent the wheel? This also prevents you from having to redirect include and library paths in your build settings.

You can find most open source software already packaged on Launchpad PPAs. Here you can search its contents.

This is an example of Ubuntus nice trade-off between user freedom and control.

Note that different PPAs support different combinations of Ubuntu releases. This link is a sample search for boost and 1.46.

This one installs, I guess more tested, 1.46.1 on Natty, Maverick and Karmic alongside existing Boost version using

sudo add-apt-repository ppa:tim-klingt/ppa;

and this one install 1.47 on Oeneric, Natty and Maverick by replacing the existing version through

sudo add-apt-repository ppa:purplekarrot/ppa; # Upgrades default boost

You can also undo these operations using the shell command ppa-purge. There is also y-ppa-manager which you can get from, you guessed it, a PPA!

Good luck!

Probably, you need to have administrator privileges to install libraries in /lib or /usr/lib directories. Try sudo ./bjam install

Category:c# Time:2011-07-07 Views:0

Related post

  • Building Boost on Linux - library names 2009-11-20

    I am trying to build an application which depends on Boost. So I downloaded Boost 1_41_0 to my Linux box and followed the instructions found on the Boost site for Unix variants, http://www.boost.org/doc/libs/1%5F41%5F0/more/getting%5Fstarted/unix-var

  • Install and build Boost library in Linux 2009-07-09

    I'm following the Boost Getting Started article. I've installed it with Bjam and I could see include files and library files (.a, .so). #include <boost/regex.hpp> #include <iostream> #include <string> int main() { std::string line;

  • Move C++ app with Boost from Linux to Windows with Visual Studio 6 2010-02-16

    I made a small program with Boost in Linux 2 yrs ago. Now I want to make it work in Windows. I found there are few .a files in my libs folder. I am wondering how to make it works in Windows? do I need to build Boost in Windows to get library or I can

  • Building Boost with LSB C++ Compiler 2010-04-26

    I want to build my program with LSB C++ Compiler from the Linux Standard Base http://www.linuxfoundation.org/collaborate/workgroups/lsb. Program depends on the Boost library, built with gcc 4.4 version. Compilation fails. Is it possible to build the

  • Building boost library 2011-03-11

    I'm trying to build boost library under Arch Linux $ uname -a Linux wincode 2.6.37-ARCH #1 SMP PREEMPT Fri Feb 25 07:53:43 CET 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD GNU/Linux $ python --version Python 3.2 $ ls /usr/i

  • Building boost with different gcc version 2011-03-17

    I have access to server where I need to build boost 1.46. How can I force bootstrap.sh to use /usr/bin/gcc-4.4. By default it uses /usr/bin/gcc and I can't figure out how to change this --------------Solutions------------- I cross built Boost for an

  • How to build Boost as static libraries under Mountain Lion and XCODE 4.6 2013-05-15

    I'm trying to install and use Boost 1_53_0 on MAC OS X Mountain Lion and use it with the latest XCODE 4.6 I want to port a small MS VS MFC C++ app. I developed on Windows to MAC. Specifically I need to install and build boost as static libraries. I'm

  • Building Boost for static linking (MinGW) 2009-01-30

    I'm building Boost (I'm using System and FileSystem) for MinGW using bjam: bjam --toolset=gcc stage And it builds fine, but I want to be able to statically link to it (I have to have a single file for the final product) so I tried: bjam --link=static

  • Build Boost on Mac with Xcode 2009-05-21

    I've recently got acquainted with Boost library and I'd like to use it in my Xcode project. But sadly there is no HowTo or FAQ on how to do it :( What's the sequence of actions to build and use Boost libraries in Xcode? --------------Solutions-------

  • How to learn about building tools in linux? 2009-09-25

    I am writing code in embedded linux since last couple of years, I use make utility to build my code and I am not at all an advance user of it. But now, It is necessary to have better compilation, cross-compilation knowledge, so that I can easily port

  • Installing Adobe Flex builder in Ubuntu/Linux? 2010-02-19

    Is working fine?, i found instruction in Adobe site confusing and i am not confident at all since it says that only works with eclipse 3.3 (actual version should be 3.5 or close) There is any special instructions to do it well. Thanks! --------------

  • How do I build boost examples with bjam? 2010-04-28

    Boost library is full of examples and tests and I would like to build them using bjam if possible. How do I build boost examples with bjam? PS. I wasn't able to locate proper documentation for this option. --------------Solutions------------- It depe

  • How to build Boost with C++0x support? 2010-05-22

    I don't know how to build Boost with C++0x compilers. Which option must be given to bjam? Should the user.config file be modified?Can someone help me? Best, Vicente --------------Solutions------------- I have found the answer. I was waiting for a fea

  • How to remove compiler flag when building Boost 2010-06-01

    I need to build Boost with a non-standard set of flags (due to a conflict between Boost threading and C++/CLI). I'm adding the required flag (/clr) using CXXFLAGS, but this flag conflicts with the Boost default /EHs flag (/clr implies /EHa which is i

  • How do I specify 64-bit machine architecture when building boost libraries with bjam on solaris? 2010-06-29

    How do I specify 64-bit machine architecture when building boost libraries with bjam on solaris? --------------Solutions------------- Not a real answer, just a note - Sun compiler is something boost has always had trouble with. Only fairly recent ver

  • extractin/building boost program_options 2010-07-17

    I have successfully installed boost, compiled binaries, and built bcp. I have also been able to extract the regex library using bcp. After doing this, I found a gcc_gen.sh script and bunch of makefiles under my_exported_boost_regex/libs/regex/build/

  • Build Boost for Windows CE 5.0 2010-08-19

    Does anyone have a set of instructions for building boost libraries for use on Windows CE? I've found some discussions on it: boost build mailing list and another one from the boost build mailing list ... but surely someone has written up something m

  • building boost with unicode regex enabled on x64 windows 2011-01-04

    Am trying to build boost on x64 windows. So far all is going well, however, I can't persuade boost to find the ICU library. I have a binary release of x64 ICU available at c:\dev so, using the MSVC x64 tools prompt I am issuing the following: set PAT

  • Build Boost 1.45 using MinGW 2011-02-07

    Try to compile Boost 1.45 on Windows XP using MinGW. I did it a year ago and almost forgot how to repeat it. %PATH% contains MinGW path. user-config.jam contains using gcc ; bjam (the ntx86 one) from here. Output: <path> > bjam --build-dir="

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 0.366 (s). 13 q(s)