Search Criteria
Package Details: mongo-cxx-driver 3.5.1-3
Git Clone URL: | https://aur.archlinux.org/mongo-cxx-driver.git (read-only, click to copy) |
---|---|
Package Base: | mongo-cxx-driver |
Description: | C++ driver for MongoDB |
Upstream URL: | http://mongocxx.org/ |
Keywords: | mongodb |
Licenses: | Apache |
Conflicts: | libbsoncxx, libmongocxx |
Provides: | libbsoncxx, libmongocxx |
Submitter: | jbreams |
Maintainer: | sherilyn |
Last Packager: | sherilyn |
Votes: | 8 |
Popularity: | 0.003360 |
First Submitted: | 2016-01-28 21:25 (UTC) |
Last Updated: | 2021-09-16 10:07 (UTC) |
Dependencies (7)
- libbson (mongo-c-driver)
- libmongoc (mongo-c-driver)
- boost (boost-git) (make)
- cmake (cmake-git) (make)
- gcc (fastgcc, gccrs-git, gcc-multilib-git, gcc-git) (make)
- libbson (mongo-c-driver) (make)
- libmongoc (mongo-c-driver) (make)
Latest Comments
sherilyn commented on 2019-10-09 18:44 (UTC)
You have to build EP_mnmlstc_core as root, as long as EP_mnmlstc_core devs will fix it. You can edit PKGBUILD file and add sudo. I removed sudo because its violates AUR rules. I will fix that as soon as itpossible.
LMBernardo commented on 2019-10-05 18:33 (UTC) (edited on 2019-10-15 03:16 (UTC) by LMBernardo)
@steinbuch
It looks like MNMLSTC/core requires root permissions to install to the default location. Not sure what the "correct" fix is, but the mongocxx documentation states:
If you are using the default MNMLSTC polyfill and are installing to a directory requiring root permissions, you should install the polyfill with sudo before running make so you don’t have to run all of make with sudo
Modifying the build() section of the PKGBUILD to the following builds and installs properly, however it seems to ignore DESTDIR and installs the EP_mnmlstc files directly to /usr/include/bsoncxx/v_noabi/bsoncxx/third_party instead of into the built package. This means that pacman will not be able to track / manage these files. Removing the
sudo make EP_mnmlstc_core
line and just running the entire make command as root also installs the files directly instead of in the package, so I'm not sure if this is a result of something being broken or just how the AUR package has always installed.steinbuch commented on 2019-09-27 11:50 (UTC)
There must be some kind of permissions issue (I'm not building as root):
[ 2%] Performing install step for 'EP_mnmlstc_core' CMake Error at ./mongo-cxx-driver-r3.4.0/build/src/bsoncxx/third_party/EP_mnmlstc_core-prefix/src/EP_mnmlstc_core-stamp/EP_mnmlstc_core-install-Release.cmake:49 (message): Command failed: 2
'make' 'install'
See also
make[2]: [src/bsoncxx/third_party/CMakeFiles/EP_mnmlstc_core.dir/build.make:75: src/bsoncxx/third_party/EP_mnmlstc_core-prefix/src/EP_mnmlstc_core-stamp/EP_mnmlstc_core-install] Error 1 make[1]: [CMakeFiles/Makefile2:484: src/bsoncxx/third_party/CMakeFiles/EP_mnmlstc_core.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
xantares commented on 2019-04-04 17:09 (UTC)
hello,
build {
cd "$pkgname-$pkgver"
mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
make
package {
cd "$pkgname-$pkgver/build"
make install DESTDIR="$pkgdir"
gauravjuvekar commented on 2018-12-17 16:23 (UTC)
Packages should not install to /usr/local
sherilyn commented on 2018-12-03 11:16 (UTC)
3.4.0 is not STABLE at the moment.
tbrock commented on 2016-01-29 17:11 (UTC)