brave/tor_build_scripts

Update to libevent-2.1.12-stable

Pernat1y opened this issue · 1 comments

Latest version of libevent includes many fixes (see Changelog), but I am unable to build it because of missing OpenSSL includes for some reason:

checking for openssl/ssl.h... no
configure: error: openssl is a must but can not be found. You should add the directory containing `openssl.pc' to the `PKG_CONFIG_PATH' environment variable, or set `CFLAGS' and `LDFLAGS' directly for openssl, or use `--disable-openssl' to disable support for openssl encryption
The command '/bin/sh -c curl -fsSL "https://github.com/libevent/libevent/releases/download/release-$libevent_version/libevent-$libevent_version.tar.gz" -o libevent-$libevent_version.tar.gz && curl -fsSL "https://github.com/libevent/libevent/releases/download/release-$libevent_version/libevent-$libevent_version.tar.gz.asc" -o libevent-$libevent_version.tar.gz.asc && gpg --import /libevent.gpg && gpg libevent-$libevent_version.tar.gz.asc && echo "$libevent_hash libevent-$libevent_version.tar.gz" | shasum -a 256 -c - && tar -zxvf libevent-$libevent_version.tar.gz && cd libevent-$libevent_version && ./configure LDFLAGS="-L$PWD/../openssl-$openssl_version/root" CPPFLAGS="-I$PWD/../oppenssl-$openssl_version/include" --prefix=$PWD/install --disable-shared --enable-static --with-pic --host=i686-w64-mingw32 && make ${jobs:+-j$jobs} && make ${jobs:+-j$jobs} install' returned a non-zero code: 1

Help appreciated :)