Skip to content

Instantly share code, notes, and snippets.

@nimblemo
Created May 24, 2017 19:51

Revisions

  1. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -111,7 +111,7 @@ Next, [gnutls](http://www.gnutls.org/) (`>= 3.2.0` required):
    wget ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-3.2.10.tar.xz
    tar xf gnutls-3.2.10.tar.xz
    cd gnutls-3.2.10
    ./configure
    ./configure --disable-static --with-default-trust-store-file=/etc/ssl/ca-bundle.crt
    make
    sudo make install
    cd ..
  2. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,13 @@
    __NOTE:__ This guide is currently incomplete.

    Install general dependencies:

    ```
    sudo apt-get install git build-essential cmake pkg-config libboost-dev libboost-test-dev \
    libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config \
    libssl-dev libsoup2.4-dev libboost-system-dev libboost-filesystem-dev \
    libogg-dev libtheora-dev libasound2-dev libvorbis-dev libpango1.0-dev \
    libvisual-0.4-dev libffi-dev
    libvisual-0.4-dev libffi-dev libgmp-dev
    ```

    Install a Java JDK (if you don't already have one available):
  3. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -91,6 +91,18 @@ sudo make install
    cd ..
    ```

    Next [libnettle](http://www.lysator.liu.se/~nisse/nettle/) (`>= 2.7` required to build gnutls):

    ```
    wget http://www.lysator.liu.se/~nisse/archive/nettle-2.7.1.tar.gz
    tar xf nettle-2.7.1.tar.gz
    cd nettle-2.7.1
    ./configure
    make
    sudo make install
    cd ..
    ```

    Next, [gnutls](http://www.gnutls.org/) (`>= 3.2.0` required):

    ```
  4. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -91,6 +91,18 @@ sudo make install
    cd ..
    ```

    Next, [gnutls](http://www.gnutls.org/) (`>= 3.2.0` required):

    ```
    wget ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-3.2.10.tar.xz
    tar xf gnutls-3.2.10.tar.xz
    cd gnutls-3.2.10
    ./configure
    make
    sudo make install
    cd ..
    ```

    Clone the [kurento-media-server](https://github.com/Kurento/kurento-media-server) project:

    ```
  5. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -79,6 +79,18 @@ sudo make install
    cd ..
    ```

    Next, [nice](http://nice.freedesktop.org/wiki/) (`>= 0.1.3` required):

    ```
    wget http://nice.freedesktop.org/releases/libnice-0.1.4.tar.gz
    tar xf libnice-0.1.4.tar.gz
    cd libnice-0.1.4
    ./configure
    make
    sudo make install
    cd ..
    ```

    Clone the [kurento-media-server](https://github.com/Kurento/kurento-media-server) project:

    ```
  6. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ sudo apt-get install git build-essential cmake pkg-config libboost-dev libboost-
    libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config \
    libssl-dev libsoup2.4-dev libboost-system-dev libboost-filesystem-dev \
    libogg-dev libtheora-dev libasound2-dev libvorbis-dev libpango1.0-dev \
    libvisual-0.4-dev
    libvisual-0.4-dev libffi-dev
    ```

    Install a Java JDK (if you don't already have one available):
  7. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -70,7 +70,7 @@ Next, we need to build and compile a number of libraries that are used by kurent
    First [glib](https://developer.gnome.org/glib/) (>= 2.38.2 required):

    ```
    wget http://ftp.gnome.org/pub/gnome/sources/glib/2.38/glib-2.38.2.tar.xz
    wget ftp://ftp.gnome.org/pub/gnome/sources/glib/2.38/glib-2.38.2.tar.xz
    tar xf glib-2.38.2.tar.xz
    cd glib-2.38.2
    ./configure
  8. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -67,12 +67,12 @@ cd ..

    Next, we need to build and compile a number of libraries that are used by kurento that don't have recent enough versions available in the debian package repositories.

    First [glib](https://developer.gnome.org/glib/) [>= 2.38.2 required]:
    First [glib](https://developer.gnome.org/glib/) (>= 2.38.2 required):

    ```
    wget https://developer.gnome.org/glib/glib-html-2.38.2.tar.gz
    tar xf glib-html-2.38.2.tar.gz
    cd glib-html-2.38.2
    wget http://ftp.gnome.org/pub/gnome/sources/glib/2.38/glib-2.38.2.tar.xz
    tar xf glib-2.38.2.tar.xz
    cd glib-2.38.2
    ./configure
    make
    sudo make install
  9. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 14 additions and 0 deletions.
    14 changes: 14 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -65,6 +65,20 @@ sudo make install
    cd ..
    ```

    Next, we need to build and compile a number of libraries that are used by kurento that don't have recent enough versions available in the debian package repositories.

    First [glib](https://developer.gnome.org/glib/) [>= 2.38.2 required]:

    ```
    wget https://developer.gnome.org/glib/glib-html-2.38.2.tar.gz
    tar xf glib-html-2.38.2.tar.gz
    cd glib-html-2.38.2
    ./configure
    make
    sudo make install
    cd ..
    ```

    Clone the [kurento-media-server](https://github.com/Kurento/kurento-media-server) project:

    ```
  10. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,8 @@ Install general dependencies:
    sudo apt-get install git build-essential cmake pkg-config libboost-dev libboost-test-dev \
    libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config \
    libssl-dev libsoup2.4-dev libboost-system-dev libboost-filesystem-dev \
    libogg-dev libtheora-dev libasound2-dev libvorbis-dev libpango1.0-dev
    libogg-dev libtheora-dev libasound2-dev libvorbis-dev libpango1.0-dev \
    libvisual-0.4-dev
    ```

    Install a Java JDK (if you don't already have one available):
  11. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,7 @@ Next, we will build [orc](http://code.entropywave.com/orc/) as it is required by
    wget http://code.entropywave.com/download/orc/orc-0.4.18.tar.gz
    tar xf orc-0.4.18.tar.gz
    cd orc-0.4.18
    ./compile
    ./configure
    make
    sudo make install
    cd ..
  12. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,7 @@ Next, we will build [orc](http://code.entropywave.com/orc/) as it is required by
    wget http://code.entropywave.com/download/orc/orc-0.4.18.tar.gz
    tar xf orc-0.4.18.tar.gz
    cd orc-0.4.18
    ./complile
    ./compile
    make
    sudo make install
    cd ..
  13. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 14 additions and 1 deletion.
    15 changes: 14 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,8 @@ Install general dependencies:
    ```
    sudo apt-get install git build-essential cmake pkg-config libboost-dev libboost-test-dev \
    libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config \
    libssl-dev libsoup2.4-dev libboost-system-dev libboost-filesystem-dev
    libssl-dev libsoup2.4-dev libboost-system-dev libboost-filesystem-dev \
    libogg-dev libtheora-dev libasound2-dev libvorbis-dev libpango1.0-dev
    ```

    Install a Java JDK (if you don't already have one available):
    @@ -39,6 +40,18 @@ sudo make install
    cd ..
    ```

    Next, we will build [orc](http://code.entropywave.com/orc/) as it is required by the gstreamer base plugins if we want it to be as fast as possible:

    ```
    wget http://code.entropywave.com/download/orc/orc-0.4.18.tar.gz
    tar xf orc-0.4.18.tar.gz
    cd orc-0.4.18
    ./complile
    make
    sudo make install
    cd ..
    ```

    Next, we will build the base gstreamer plugins:

    ```
  14. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 13 additions and 0 deletions.
    13 changes: 13 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -36,6 +36,19 @@ cd gstreamer-1.2.2
    ./configure
    make
    sudo make install
    cd ..
    ```

    Next, we will build the base gstreamer plugins:

    ```
    wget http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.2.2.tar.xz
    tar xf gst-plugins-base-1.2.2.tar.xz
    cd gst-plugins-base-1.2.2
    ./configure
    make
    sudo make install
    cd ..
    ```

    Clone the [kurento-media-server](https://github.com/Kurento/kurento-media-server) project:
  15. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -27,7 +27,7 @@ cd ..

    If the above instructions fail for any reason, then consult the Thrift [Building from Source](http://thrift.apache.org/docs/BuildingFromSource/) documentation.

    Next, we will need to build [gstreamer](http://gstreamer.freedesktop.org/) 1.0 from source as support for gstreamer on Debian Wheezy seems pretty poor. If you are following these instructions on a later distribution of Debian or Ubuntu you may be able to skip this step:
    Next, we will need to build [gstreamer](http://gstreamer.freedesktop.org/) `1.x` from source as support for gstreamer on Debian Wheezy seems pretty poor. If you are following these instructions on a later distribution of Debian or Ubuntu you may be able to skip this step:

    ```
    wget http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.2.2.tar.xz
  16. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 11 additions and 0 deletions.
    11 changes: 11 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -27,6 +27,17 @@ cd ..

    If the above instructions fail for any reason, then consult the Thrift [Building from Source](http://thrift.apache.org/docs/BuildingFromSource/) documentation.

    Next, we will need to build [gstreamer](http://gstreamer.freedesktop.org/) 1.0 from source as support for gstreamer on Debian Wheezy seems pretty poor. If you are following these instructions on a later distribution of Debian or Ubuntu you may be able to skip this step:

    ```
    wget http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.2.2.tar.xz
    tar xf gstreamer-1.2.2.tar.xz
    cd gstreamer-1.2.2
    ./configure
    make
    sudo make install
    ```

    Clone the [kurento-media-server](https://github.com/Kurento/kurento-media-server) project:

    ```
  17. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 0 additions and 6 deletions.
    6 changes: 0 additions & 6 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -12,12 +12,6 @@ Install a Java JDK (if you don't already have one available):
    sudo apt-get install openjdk-7-jdk
    ```

    To complete the installation process, you will also need to bring in some packages from the [experimental](https://wiki.debian.org/DebianExperimental) packages. If you don't already have the experimental packages available, then add them so your `/etc/apt/sources.list`:

    ```
    echo " deb http://ftp.debian.org/debian experimental main" | sudo tee -a /etc/apt/sources.list
    ```

    Kurento uses [Apache Thrift](http://thrift.apache.org/), so we will need to build that for our machine first (well at least that's what I did, because I couldn't find a suitable installation candidate). I chose to build against the git repository as I encountered [this error](http://stackoverflow.com/questions/18643642/libtool-error-building-thrift-0-9-1-on-ubuntu-13-04) when attempting to compile the `0.9.1` source tarball.

    ```
  18. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,12 @@ Install a Java JDK (if you don't already have one available):
    sudo apt-get install openjdk-7-jdk
    ```

    To complete the installation process, you will also need to bring in some packages from the [experimental](https://wiki.debian.org/DebianExperimental) packages. If you don't already have the experimental packages available, then add them so your `/etc/apt/sources.list`:

    ```
    echo " deb http://ftp.debian.org/debian experimental main" | sudo tee -a /etc/apt/sources.list
    ```

    Kurento uses [Apache Thrift](http://thrift.apache.org/), so we will need to build that for our machine first (well at least that's what I did, because I couldn't find a suitable installation candidate). I chose to build against the git repository as I encountered [this error](http://stackoverflow.com/questions/18643642/libtool-error-building-thrift-0-9-1-on-ubuntu-13-04) when attempting to compile the `0.9.1` source tarball.

    ```
  19. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ Install general dependencies:
    ```
    sudo apt-get install git build-essential cmake pkg-config libboost-dev libboost-test-dev \
    libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config \
    libssl-dev libsoup2.4-dev
    libssl-dev libsoup2.4-dev libboost-system-dev libboost-filesystem-dev
    ```

    Install a Java JDK (if you don't already have one available):
  20. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ Install general dependencies:
    ```
    sudo apt-get install git build-essential cmake pkg-config libboost-dev libboost-test-dev \
    libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config \
    libssl-dev
    libssl-dev libsoup2.4-dev
    ```

    Install a Java JDK (if you don't already have one available):
  21. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ git checkout thrift-0.9.1 -b build
    ./configure
    make
    sudo make install
    cd ..
    ```

    If the above instructions fail for any reason, then consult the Thrift [Building from Source](http://thrift.apache.org/docs/BuildingFromSource/) documentation.
  22. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 14 additions and 1 deletion.
    15 changes: 14 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,20 @@ Install a Java JDK (if you don't already have one available):
    sudo apt-get install openjdk-7-jdk
    ```

    TODO: Install apache thrift
    Kurento uses [Apache Thrift](http://thrift.apache.org/), so we will need to build that for our machine first (well at least that's what I did, because I couldn't find a suitable installation candidate). I chose to build against the git repository as I encountered [this error](http://stackoverflow.com/questions/18643642/libtool-error-building-thrift-0-9-1-on-ubuntu-13-04) when attempting to compile the `0.9.1` source tarball.

    ```
    git clone https://git-wip-us.apache.org/repos/asf/thrift.git thrift
    cd thrift/
    git checkout thrift-0.9.1 -b build
    ./bootstrap.sh
    ./configure
    make
    sudo make install
    ```

    If the above instructions fail for any reason, then consult the Thrift [Building from Source](http://thrift.apache.org/docs/BuildingFromSource/) documentation.

    Clone the [kurento-media-server](https://github.com/Kurento/kurento-media-server) project:

  23. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,9 @@
    Install general dependencies:

    ```
    sudo apt-get install git build-essential cmake pkg-config libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config libssl-dev
    sudo apt-get install git build-essential cmake pkg-config libboost-dev libboost-test-dev \
    libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config \
    libssl-dev
    ```

    Install a Java JDK (if you don't already have one available):
  24. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 8 additions and 2 deletions.
    10 changes: 8 additions & 2 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,13 @@
    Install dependencies:
    Install general dependencies:

    ```
    sudo apt-get install git build-essential cmake pkg-config
    sudo apt-get install git build-essential cmake pkg-config libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config libssl-dev
    ```

    Install a Java JDK (if you don't already have one available):

    ```
    sudo apt-get install openjdk-7-jdk
    ```

    TODO: Install apache thrift
  25. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    Install dependencies:

    ```
    sudo apt-get install git build-essential cmake
    sudo apt-get install git build-essential cmake pkg-config
    ```

    TODO: Install apache thrift
  26. Damon Oehlman revised this gist Jan 31, 2014. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,11 @@
    Install dependencies:

    ```
    sudo apt-get install git
    sudo apt-get install git build-essential cmake
    ```

    TODO: Install apache thrift

    Clone the [kurento-media-server](https://github.com/Kurento/kurento-media-server) project:

    ```
    @@ -16,4 +18,10 @@ Initialise git submodules:
    ```
    git submodule init
    git submodule update
    ```

    Run cmake:

    ```
    cmake .
    ```
  27. Damon Oehlman revised this gist Jan 31, 2014. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,12 @@ Clone the [kurento-media-server](https://github.com/Kurento/kurento-media-server

    ```
    git clone https://github.com/Kurento/kurento-media-server
    cd kurento-media-server
    ```

    Initialise git submodules:

    ```
    git submodule init
    git submodule update
    ```
  28. Damon Oehlman created this gist Jan 31, 2014.
    11 changes: 11 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    Install dependencies:

    ```
    sudo apt-get install git
    ```

    Clone the [kurento-media-server](https://github.com/Kurento/kurento-media-server) project:

    ```
    git clone https://github.com/Kurento/kurento-media-server
    ```