Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install : "olm/olm.h: No such file or directory" #86

Closed
technics303 opened this issue Sep 11, 2018 · 5 comments
Closed

install : "olm/olm.h: No such file or directory" #86

technics303 opened this issue Sep 11, 2018 · 5 comments

Comments

@technics303
Copy link

On debian 9 with all the dependencies, when i run "make" the command return :

matrix-e2e.c:35:21: fatal error: olm/olm.h: No such file or directory
#include "olm/olm.h"
^
compilation terminated.
Makefile.common:40: recipe for target 'matrix-e2e.o' failed
make: *** [matrix-e2e.o] Error 1

@richvdh
Copy link
Member

richvdh commented Sep 17, 2018

try building with make MATRIX_NO_E2E=1

Looks like the docs could do with an update.

@technics303
Copy link
Author

Thanks to @richvdh i tried make MATRIX_NO_E2E=1 and an other error appears :

matrix-room.c:40:20: fatal error: gcrypt.h: No such file or directory
 #include <gcrypt.h>

I'm not good enough to solve it by my own sorry :( thanks for your help !

@steils
Copy link
Contributor

steils commented Sep 19, 2018

@technics303 seems wrong that even with MATRIX_NO_E2E=1 matrix-room.c still includes gcrypt.h.
I think matrix-room.c shouldn't include this header file at all as it uses no functions from gcrypt. gcrypt is used only in martix-e2e.c. I'll make a trivial patch to fix that.

Thanks for pointing out!

@steils
Copy link
Contributor

steils commented Sep 20, 2018

Done #87

@technics303
Copy link
Author

thanks a lot @steils ! It solve my problem :)

@richvdh richvdh closed this as completed Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants