Releases · mongodb/mongo-c-driver · GitHub
Программы Софт - скачать через торрент

Mongodb and driver c

The following guide will step you through the process of downloading, building, and installing the current release of the MongoDB C Driver. The MongoDB C Driver is continuously tested on variety of platforms including:. On Fedora, a mongo-c-driver package is available in the default repositories and can be installed with:. On recent Red Hat systems, such as CentOS and RHEL 7, a mongo-c-driver package is available in the EPEL repository. To check version available, see https: The package can be installed with:.

OpenSSL is required for authentication or for SSL connections to MongoDB. Kerberos or LDAP support requires Cyrus SASL.

Unless you intend on contributing to the mongo-c-driver, you will want to build from a release tarball. The most recent release of libmongoc is 1.

MongoDB from C# with the .NET driver 2.0

The following snippet will download and extract the driver, and configure it:. The --disable-automatic-init-and-cleanup option is recommended, see Initialization and cleanup.

For a list of all configure options, run. The configure script will detect if libbson is not installed and use the bundled libbson.

Once you have the dependencies installed, clone the repository and build the current master or a particular release tag:. Some Homebrew packages are also required. First install Homebrew according to its instructions , then:.

Mongodb and driver c

The MongoDB C Driver supports the Darwin native TLS and crypto libraries. Using the native libraries there is no need to install OpenSSL. By default however, the driver will compile against OpenSSL if it detects it being available. If OpenSSL is not available, it will fallback on the native libraries.

Mongodb and driver c

To compile against the Darwin native TLS and crypto libraries, even when OpenSSL is available, configure the driver like so:. To build the driver with SSL on El Capitan and later:. Building on Windows requires Windows Vista or newer and Visual Studio or newer. Additionally, cmake is required to generate Visual Studio project files.

The following assumes we are compiling for bit Windows using Visual Studio Express, which can be freely downloaded from Microsoft. Now that we have project files generated, we can either open the project in Visual Studio or compile from the command line.

Mongodb and driver c

You should now see libbson installed in C: The MongoDB C Driver supports the Windows native TLS and crypto libraries. To compile against the Windows native TLS and crypto libraries, even when OpenSSL is available, configure the driver like so:.

The following snippet will download and extract the driver, and configure it: To compile against the Darwin native TLS and crypto libraries, even when OpenSSL is available, configure the driver like so: To build the driver with SSL on El Capitan and later: To compile against the Windows native TLS and crypto libraries, even when OpenSSL is available, configure the driver like so:

Опубликовано в рубрике Driver
Twitter Delicious Facebook Digg Stumbleupon Favorites More
  • Прикрепленное видео

Все права защищены. © 2015 romantic-in-love.ru