[tor-bugs] #16651 [Tor]: Tor fails to build on OpenBSD due to libevent config options

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 29 02:09:12 UTC 2015


#16651: Tor fails to build on OpenBSD due to libevent config options
------------------------+---------------------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  normal  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  bsd 026-backport libevent
Actual Points:          |  Parent ID:
       Points:          |
------------------------+---------------------------------------

Comment (by sysfu):

 I tried this again on an OpenBSD 5.8 amd64 current snapshot against the
 latest Tor source from the git repository. Build crapped again, commands
 and build error output below.

 $ git clone https://git.torproject.org/git/tor
 $ cd tor
 $ ftp https://trac.torproject.org/projects/tor/raw-attachment/ticket/16651
 /tor-libevent2-4.patch
 $ patch < tor-libevent2-4.patch
 $ env AUTOMAKE_VERSION=1.15 AUTOCONF_VERSION=2.69 ./autogen.sh
 $ env CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
 --with-ssl-dir=/usr --disable-gcc-hardening --disable-asciidoc
 $ env AUTOMAKE_VERSION=1.15 AUTOCONF_VERSION=2.69 gmake


 src/common/libor-event.a(procmon.o): In function
 `tor_process_monitor_new':
 procmon.c:(.text+0x256): undefined reference to `event_new'
 collect2: ld returned 1 exit status
 Makefile:2655: recipe for target 'src/or/tor' failed
 gmake[1]: *** [src/or/tor] Error 1
 gmake[1]: Leaving directory '/usr/local/src/tor'
 Makefile:1864: recipe for target 'all' failed
 gmake: *** [all] Error 2

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16651#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list