本帖最后由 xiaolang0302 于 2018-1-18 18:22 编辑
openwrt 14.07 46817 gargoyle1.18.1
大神们,请教个问题,我编译gargoyle时,出现libevent版本不符的问题,不太清楚怎么搞,我觉得应该是PKG_CONFIG_PATH没设置好,但我看不懂configure文件,不知道默认去哪找,或者我自己下载个libevent新版本的话,怎么设置才能让obfsproxy编译时去check我的新版本呢,大神能不能帮忙看看,附上日志:
checking for netinet/in.h... yes
checking for libevent... no
configure: error: Package requirements (libevent >= 2.0) were not met:
No package 'libevent' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables libevent_CFLAGS
and libevent_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Makefile:45: recipe for target '/home/huilai/gargoyle/custom-src/build_dir/target-mips_34kc_uClibc-0.9.33.2/obfsproxy-0.1.4/.configured_' failed
make[4]: *** [/home/huilai/gargoyle/custom-src/build_dir/target-mips_34kc_uClibc-0.9.33.2/obfsproxy-0.1.4/.configured_] Error 1
make[4]: Leaving directory '/home/huilai/gargoyle/custom-src/package/net/obfsproxy'
package/Makefile:175: recipe for target 'package/net/obfsproxy/compile' failed
make[3]: *** [package/net/obfsproxy/compile] Error 2
make[3]: Leaving directory '/home/huilai/gargoyle/custom-src'
package/Makefile:172: recipe for target '/home/huilai/gargoyle/custom-src/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile' failed
make[2]: *** [/home/huilai/gargoyle/custom-src/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[2]: Leaving directory '/home/huilai/gargoyle/custom-src'
/home/huilai/gargoyle/custom-src/include/toplevel.mk:171: recipe for target 'world' failed
make[1]: *** [world] Error 2
make[1]: Leaving directory '/home/huilai/gargoyle/custom-src'
cp: cannot stat 'bin/ar71xx/uboot-ar71xx-nbg460n_550n_550nh:': No such file or directory
请不要胡乱输入以及粘贴、复制等方式灌水
请尊重作者、并共同维护网站的正常阅读,否则账户将会被限制发帖、回帖,并且积分可能会被清零,站内短信以及阅读权限等都会受到影响,谢谢。
具体限制方式:https://www.right.com.cn/forum/thread-8307840-1-1.html
|