Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to install MongoDB C++ drivers for Ubuntu?
    primarykey
    data
    text
    <p>I have downloaded the latest MongoDB C++ driver, <a href="http://downloads.mongodb.org/cxx-driver/mongodb-linux-x86_64-2.5.2.tgz" rel="nofollow">http://downloads.mongodb.org/cxx-driver/mongodb-linux-x86_64-2.5.2.tgz</a>. When I do 'scons', it builds just fine. Once the building is complete, I am getting the following:</p> <pre><code>ranlib build/libmongoclient.a Install file: "build/libmongoclient.a" as "libmongoclient.a" scons: done building targets. </code></pre> <p>It says it installs mongo, but I would like to install the lib and the headers in a proper place, like /usr/local. No matter what I try (scons install, with or without --prefix), it just doesn't want to install it in /usr/local. In fact, It says that the install target is up to date:</p> <pre><code>$sudo scons install --prefix=/usr/local scons: Reading SConscript files ... Checking for C++ library boost_thread-mt... (cached) yes Checking for C++ library boost_filesystem-mt... (cached) yes Checking for C++ library boost_system-mt... (cached) yes Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... (cached) yes Checking for C++ header file execinfo.h... (cached) yes Checking whether backtrace is declared... (cached) yes Checking whether backtrace_symbols is declared... (cached) yes Checking whether backtrace_symbols_fd is declared... (cached) yes scons: done reading SConscript files. scons: Building targets ... scons: `install' is up to date. scons: done building targets. </code></pre> <p>Should i maybe use other parameters to install it? For the library, I can just copy it, but the headers would be more tedious to install manually.</p>
    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.
 

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