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

어떻게 해결할 수 있나요?

관련 정보