[Tor-BSD] Building Tor 0.2.7.x on OpenBSD
mmcconville at mykolab.com
Wed Jul 15 17:14:50 EDT 2015
On Wed, Jul 15, 2015 at 01:52:02PM -0700, Seth wrote:
> On Wed, 15 Jul 2015 12:23:50 -0700, Michael McConville
> <mmcconville at mykolab.com> wrote:
> > Has anyone got this to work? I tried it on OpenBSD-current within the
> > past month, but it seemed that the system Libevent was too old and the
> > the Libevent 2 port presented a lot of problems.
> I was able to get it to build from source no problem with these commands on
> OpenBSD 5.7 amd64 w/LibreSSL 2.2.1
> ./configure --sysconfdir=/etc --with-openssl-dir=/usr/local
> --disable-gcc-hardening --disable-asciidoc
> CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib make check
> sudo make uninstall
Thanks for that. I'll try it out soon.
As you're probably aware, you're still using Libevent 1.x:
> Jul 16 06:50:59.000 [notice] Tor 0.2.7.1-alpha (git-df76da0f3bfd6897)
> opening log file.
> Jul 16 06:50:59.222 [notice] Tor v0.2.7.1-alpha (git-df76da0f3bfd6897)
> running on OpenBSD with Libevent 1.4.15-stable, OpenSSL LibreSSL 2.2.1 and
> Zlib 1.2.3.
Apparently I was wrong about the base version being incompatible or too
old. However, if there's an easy way to use Libevent 2, it'd be useful
to know. I wouldn't be surprised if Tor dropped Libevent 1.x soon, and
Libevent 2 could help with our relay performance problems.
More information about the Tor-BSD