tatsuhiro-t / spdylay

The experimental SPDY protocol version 2, 3 and 3.1 implementation in C
http://tatsuhiro-t.github.io/spdylay/
MIT License
603 stars 102 forks source link

Could not build spdyd #94

Open brantxiong opened 10 years ago

brantxiong commented 10 years ago

Hi, I can both build shrpx and spdycat, but not spdyd. The make install result is as following:

.
|-- bin
|   |-- shrpx
|   `-- spdycat
|-- include
|   `-- spdylay
|       |-- spdylay.h
|       `-- spdylayver.h
|-- lib
|   |-- libspdylay.a
|   |-- libspdylay.la
|   `-- pkgconfig
|       `-- libspdylay.pc
`-- share
    `-- doc
        `-- spdylay
            `-- README.rst

8 directories, 8 files

Should I lose some package to install? If so, whats that? How can I make spdyd?

Thanks a lot~

tatsuhiro-t commented 10 years ago

spdyd depends on libxml2. Please make sure that its development package and runtime are installed.

tatsuhiro-t commented 10 years ago

My previous comment is wrong. Ignore it.

spdyd requires that epoll or kqueue event polling mechanism exist in the system. If your system lacks neither of them, spdyd is not built.

brantxiong commented 10 years ago

How could I fix the problem(system lacks epoll or kqueue event polling mechanism)?

I already have libevent 2.0.21-1 installed, Should I install some other librarys or fix it in other way? I didn't figure it out through google.. Thanks so much for replying!

tatsuhiro-t commented 10 years ago

Which OS are you using? epoll or kqueue is implemented in kernel, so if you don't use the OS supporting them, you are out of luck. But first of all, are you really going to use spdyd? It is just a test server to experiment SPDY protocol.