spdylay icon indicating copy to clipboard operation
spdylay copied to clipboard

Could not build spdyd

Open brantxiong opened this issue 11 years ago • 4 comments

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~

brantxiong avatar Nov 19 '13 04:11 brantxiong

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

tatsuhiro-t avatar Nov 19 '13 13:11 tatsuhiro-t

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.

tatsuhiro-t avatar Nov 19 '13 13:11 tatsuhiro-t

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!

brantxiong avatar Nov 19 '13 14:11 brantxiong

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.

tatsuhiro-t avatar Nov 19 '13 14:11 tatsuhiro-t