You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,3 +140,40 @@ If you want to run the tests (because this is the first thing that you want to d
140
140
- If you have Docker, and `Canyon-SQL` cloned of forked, you can run our docker-compose file `(docker/docker-compose.yml)`, which will initialize a `PostgreSQL` and `MySql` database and will put content on it to make the tests able to work.
141
141
- Finally, some tests run against `MSSQL`. We didn't found a nice way of inserting data directly when the Docker wakes up, but instead, we run a very special test located at `tests/crud/mod.rs`, that is named `initialize_sql_server_docker_instance`. When you run this one, initial data will be inserted into the tables that are created when this test run.
142
142
(If you know a better way of doing this, please, open an issue to let us know, and improve this process!)
143
+
144
+
## Known issues
145
+
146
+
### Missing dependency: OpenSSL
147
+
148
+
There's a certain set of common issues while building `Canyon-SQL` in development or in client code. Those building issues
149
+
are related with missing packages or dependencies that `Cargo` doesn't resolves automatically depending on the underlying OS.
150
+
151
+
```
152
+
openssl-sys@0.9.104: Could not find directory of OpenSSL installation, and this `-sys` crate cannot proceed without this knowledge.
153
+
If OpenSSL is installed and this crate had trouble finding it, you can set the `OPENSSL_DIR` environment variable for the compilation process.
154
+
See stderr section below for further information.
155
+
```
156
+
157
+
This means that the `OpenSSL` package isn't installed on your system or not in *PATH*.
158
+
159
+
In a Debian based system, you can just `sudo apt install libssl-dev`. For others, just use your package manager
160
+
to solve it by install it.
161
+
162
+
### Missing dependency: pkg-config
163
+
164
+
```
165
+
Could not find openssl via pkg-config:
166
+
Could not run `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags openssl`
167
+
The pkg-config command could not be found.
168
+
```
169
+
`Cargo` may try to discover the `OpenSSL` package via `pkg-config`. If you find this error, you can
170
+
`sudo apt install pkg-config` on *apt* based systems. For other systems, you must read your package manager
171
+
docs and install it.
172
+
173
+
### failed to run custom build command for `libgssapi-sys vX.X.X`
0 commit comments