nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.83k stars 304 forks source link

linux build script #1

Closed branaway closed 13 years ago

branaway commented 13 years ago

Hi,

Is there a build instruction?

I got this error:

bran@r610:~/downloads/webdis$ make cc -c -O3 -Wall -Wextra -I. -Ijansson/src -o webdis.o webdis.c webdis.c:4: fatal error: evhttp.h: No such file or directory compilation terminated. make: *\ [webdis.o] Error 1 bran@r610:~/downloads/webdis$

nicolasff commented 13 years ago

Hello Bing,

evhttp.h is part of libevent. You need to install the development package if you want the header files; on ubuntu, you can do this by running :

sudo apt-get install libevent-dev

Nicolas

branaway commented 13 years ago

Thanks Nicolas. That worked on a Ubuntu Lucid.