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

compilation of seafile-server failed due to missing includes #1861

Closed
sh-dvl opened this issue Mar 10, 2017 · 2 comments
Closed

compilation of seafile-server failed due to missing includes #1861

sh-dvl opened this issue Mar 10, 2017 · 2 comments

Comments

@sh-dvl
Copy link

sh-dvl commented Mar 10, 2017

error is: http-server.c:15:19: fatal error: evhtp.h: No such file or directory

same error for upload-file.c and access-file.c

this is somehow irritating, because configure checks for libevent > 2.0 (is 2.0.19), but this include-file seems to be part of libevhtp, but using this instead leads to compilation-errors of other files.

because I don't know the intention of the includes and don't know, if both libs are compatible/exchangeable, I can't fix this by myself

@lvedie
Copy link

lvedie commented Jun 19, 2017

[Edited]
Same issue here. The build documentation recommand to use the version 1.1.6 for libevhtp. But even with this version, I doesn't compile, with the issue spotted here :
#1082

@Ant-lib
Copy link

Ant-lib commented Aug 8, 2017

Solve this problem by installing libevhtp-dev package:
sudo apt-get install libevhtp-dev
and then..
sudo cp /usr/local/include/evhtp/*.* /usr/local/include/

@shoeper shoeper closed this as completed Oct 29, 2018
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

4 participants