bumptech / stud

The Scalable TLS Unwrapping Daemon
Other
1.43k stars 194 forks source link

Missing build instructions / openssl #116

Closed cloudrkt closed 7 years ago

cloudrkt commented 12 years ago

Hi,

Downloaded the master branch to ubuntu 12.04, when i try to make i get:

root@os-proxy-01:~/bumptech-stud-84797cc# make cc -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/local/include -c -o stud.o stud.c stud.c:56:26: fatal error: openssl/x509.h: No such file or directory compilation terminated. make: *\ [stud.o] Error 1

What am I missing here? SSL is installed.

cloudrkt commented 12 years ago

Ah, just found out i needed to set:

env CFLAGS=-I/usr/bin/openssl

It works, but now i get:

stud.c:60:16: fatal error: ev.h: No such file or directory

I bet this has something to do with libev. What must I add or change here?

timdoug commented 12 years ago

Looks like libev-dev is the package you want: http://packages.ubuntu.com/precise/amd64/libev-dev/filelist

cloudrkt commented 12 years ago

That was it!

make worked, thank you!