ubuntu 14.04
$ sudo aptitude install cmake make gcc g++ libyaml-dev libssl-dev pkg-config
$ git clone git@github.com:h2o/h2o.git
$ cd h2o
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
$ make
$ ./h2o -c examples/h2o/h2o.conf8080portに接続すると繋がる。
makeしたらこんなのでたけど、特に問題なく動いてる。
vagrant@vagrant-ubuntu-trusty-64:~/h2o$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
CMake Warning at CMakeLists.txt:14 (MESSAGE):
***********************************************************************
OpenSSL 1.0.2 is required for HTTP/2 interoperability with web browsers
***********************************************************************
-- checking for module 'libyaml'
-- package 'libyaml' not found
-- checking for module 'libuv>=1.0.0'
-- package 'libuv>=1.0.0' not found
-- Could NOT find LIBUV (missing: LIBUV_LIBRARIES LIBUV_INCLUDE_DIR)
-- checking for module 'libwslay'
-- package 'libwslay' not found
-- Could NOT find WSLAY (missing: WSLAY_LIBRARIES WSLAY_INCLUDE_DIR)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vagrant/h2o