Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Installation on CentOS 6.2 notes #133

Open
jamshid opened this issue Apr 30, 2013 · 2 comments
Open

Installation on CentOS 6.2 notes #133

jamshid opened this issue Apr 30, 2013 · 2 comments

Comments

@jamshid
Copy link

jamshid commented Apr 30, 2013

Maybe this could be added to the README? Some notes on compiling stud on CentOS / RHEL 6.2.

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpmRetrieving http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# yum install openssl-devel
# yum install libev-devel

and I had to change the #include in stud.c:

$ git diff
diff --git a/stud.c b/stud.c
index 1e83617..1cdca85 100644
--- a/stud.c
+++ b/stud.c
@@ -60,7 +60,7 @@
 #include <openssl/err.h>
 #include <openssl/engine.h>
 #include <openssl/asn1.h>
-#include <ev.h>
+#include <libev/ev.h>

 #include "ringbuffer.h"
 #include "shctx.h"
@mcsrainbow
Copy link

Thank you very much! I have the same issue on CentOS6.3.

downneck pushed a commit to downneck/stud that referenced this issue Nov 19, 2014
…t put libev in its own subdir. does not affect compilation on debian derivatives.
@chip
Copy link

chip commented Mar 4, 2015

Thanks @jamshid! 👍

I had a similar issue on Ubuntu 14.04.1 LTS and did not need to edit stud.c, but instead was able to fix it by installing the development package for libev:

sudo apt-get install libev-dev

Hope this helps someone else.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants