[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #2698 [Tor Client]: Tor static build issues with libevent



#2698: Tor static build issues with libevent
------------------------+---------------------------------------------------
 Reporter:  ioerror     |          Owner:     
     Type:  defect      |         Status:  new
 Priority:  major       |      Milestone:     
Component:  Tor Client  |        Version:     
 Keywords:              |         Parent:     
   Points:              |   Actualpoints:     
------------------------+---------------------------------------------------
 When attempting to configure Tor with a static libevent, I find that Tor
 incorrectly bitches about the following:
 {{{
 checking for u_int8_t... yes
 checking for libevent directory... (system)
 checking whether we need extra options to link libevent... (none)
 checking for event_get_version... yes
 checking for event_get_version_number... no
 checking for event_get_method... yes
 checking for event_set_log_callback... yes
 checking for evdns_set_outgoing_bind_address... no
 checking for event_base_loopexit... yes
 checking for struct event.min_heap_idx... yes
 checking event2/event.h usability... no
 checking event2/event.h presence... no
 checking for event2/event.h... no
 checking event2/dns.h usability... no
 checking event2/dns.h presence... no
 checking for event2/dns.h... no
 checking event2/bufferevent_ssl.h usability... no
 checking event2/bufferevent_ssl.h presence... no
 checking for event2/bufferevent_ssl.h... no
 configure: error: "You must specify an explicit --with-libevent-dir=x
 option when using --enable-static-libevent"
 }}}

 I configured with this configure switch:
 {{{
 ./configure --enable-static-libevent --with-libevent-dir=/tmp/static-
 tor/libevent/usr/local
 }}}

 There are two problems.

 First it declares that libevent is satisfied with the system libs:
 {{{
 checking for libevent directory... (system)
 }}}

 Secondly it complains that we didn't give a directory:
 {{{
  --with-libevent-dir=/path/to/libevent/stuff
 }}}

 Configure stops here and we're unable to proceed normally. However, we
 hacked our way past this and discovered that configure may find include
 files but will not find the library files for libevent.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2698>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs