Results 1 to 2 of 2

Thread: building boost

  1. #1
    Join Date
    Oct 2010
    Ubuntu Studio 10.04 Lucid Lynx

    building boost


    i want to start a project in c++ which will require some Parts of the boost library but unfortunatly my Ubuntu denies me any kind of building the boost libraries.

    First i thought it might be a good idea ('cause i actually work on two computers) to build boost on my USB-Stick so i won't have to change my #include paths everytim i change my Computer, but bjam just throws error after error.
    Next step was to bjam it in the ("normal") directory /usr/local/boost but it is failing there as well! I don't know why and the official guide isn't any help.

    failed common.copy /usr/local/lib/
          ...failed common.copy /usr/local/lib/
    ...skipped <p/usr/local/lib> for lack of <p/usr/local/lib>
    ...failed common.copy /usr/local/lib/
    ...skipped <p/usr/local/lib> for lack of <p/usr/local/lib>
    ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.4.3/release/threading-multi/object/enum.o...
    .failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.4.3/release/threading-multi/object/function.o...
    and so on....
    I hope any of you have expierenced this problem and is able to help me, because i am clueless. Last time i installed it on an Windows OS and it worked perfectly fine!

  2. #2
    Join Date
    Sep 2009

    Re: building boost

    Hi.In general i'd say that unless you specifically need the newest boost libraries then just install the repository ones
    $ sudo apt-get install libboost-dev

    For your build errors, well i dont really use bjam and i dont generally install to /usr/local often but at a guess 'failed common.copy' to /usr/local looks like you dont have permissions to copy there, are you root? maybe something like
    $ sudo bjam install

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts