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

Installation on CentOS 6.2 notes #133

Open

Description

@jamshid

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"

Activity

  1. mcsrainbow commented on Jul 17, 2013

    @mcsrainbow

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

  2. added a commit that references this issue on Nov 19, 2014
  3. chip commented on Mar 4, 2015

    @chip

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions