stud icon indicating copy to clipboard operation
stud copied to clipboard

Installation on CentOS 6.2 notes

Open jamshid opened this issue 11 years ago • 2 comments

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"

jamshid avatar Apr 30 '13 22:04 jamshid

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

mcsrainbow avatar Jul 17 '13 08:07 mcsrainbow

Thanks @jamshid! :+1:

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.

chip avatar Mar 04 '15 18:03 chip