# Prerequisites For Building Connector/C From Source

#### Windows

* Visual Studio 2013 or newer (older versions of Visual Studio may also work but have not been tested).
* cmake 2.8.12 or newer, available from the [CMake website](https://www.cmake.org).
* for Connector/C 2.x: OpenSSL libraries and include files.
* for Connector/C 3.0 remote-io plugin: [Curl](https://curl.haxx.se) libraries and include files

#### Linux / Mac OS X

The following is a list of tools that are required for building MariaDB Connector/C on Linux and Mac OS X. Most, if not all, of these will exist as packages in your distribution's package repositories, so check there first.

* gcc 3.4.6 or newer C compiler
* TLS/SSL libraries and include files
  * OpenSSL 1.0.1 or newer or
  * GnuTLS 3.4 or newer
* cmake 2.8.12 or newer, available from the [CMake website](https://www.cmake.org).
* for Connector/C 3.0 remote-io plugin: [Curl](https://curl.haxx.se) libraries and include files
* For GSSAPI plugin: [Kerberos V5](https://web.mit.edu/kerberos/dist/) libraries

On Linux you can get those programs with your package manager. On Mac OS X you will need Xcode and to install the remaining programs with [Fink](https://www.finkproject.org/) or [MacPorts](https://www.macports.org/).

{% @marketo/form formId="4316" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/connectors/mariadb-connector-c/building-connectorc-from-source/prerequisites-for-building-connectorc-from-source.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
