obfsproxy 无法构建,因为它找不到 event2/util.h

obfsproxy 无法构建,因为它找不到 event2/util.h

我正在尝试建立obs代理。这些步骤都运行良好:

# git clone https://git.torproject.org/obfsproxy.git
# cd obfsproxy
# ./autogen.sh
# ./configure

但后来我开始:

# make
make  all-am
make[1]: Entering directory `/root/obfsproxy'
gcc -DHAVE_CONFIG_H   -I. -I./src  -Wall -Wwrite-strings -Werror -l/usr/local/libevent/include/ -l/usr/local/libevent/include/ -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -MT container.o -MD -MP -MF .deps/container.Tpo -c -o container.o `test -f 'src/container.c' || echo './'`src/container.c
In file included from src/container.c:14:
src/util.h:22:47: error: event2/util.h: No such file or directory
make[1]: *** [container.o] Error 1
make[1]: Leaving directory `/root/obfsproxy'
make: *** [all] Error 2

我该如何解决?

相关内容