Synss / python-mbedtls

Cryptographic library with an mbed TLS back end
MIT License
79 stars 28 forks source link

Compile Issues #50

Closed Jnetops closed 2 years ago

Jnetops commented 2 years ago

NOTE: Please use stackoverflow for support questions. This repository's issues are reserved for feature requests and bug reports.

I am submitting a …

Description

I am having a hell of a time compiling this project from source on Linux Ubuntu Desktop LTS

Current behavior

I get this error when trying to run build wheel main

I get the same error when trying to install with sudo python3 setup.py install

Expected behavior

I was getting a similar error trying to compile on linux. it does not appear the requirements.txt in main dir, nor the build.txt or tests.txt in requirements dir covers everything you need. I also went and installed pretty much everything in this stackoverflow thread https://stackoverflow.com/questions/26053982/setup-script-exited-with-error-command-x86-64-linux-gnu-gcc-failed-with-exit still not working. I need to be able to compile this myself to apply the changes we talked about in a previous ticket

Synss commented 2 years ago

First and foremost

Moreover, the error message tells your everything your need to know. Anyway, have you had a look into scripts, especially scripts/install-pymbedtls.sh? Maybe even scripts/install-mbedtls.sh because I do not know whether you have installed mbedtls 2.16.

The CI scripts also contain working examples