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

Re: [tor-bugs] #5009 [Obfsproxy]: obfsproxy does not build from instructions on debian squeeze



#5009: obfsproxy does not build from instructions on debian squeeze
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:     
Component:  Obfsproxy  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------

Comment(by arma):

 Replying to [comment:7 asn]:
 > {{{
 > $ export libevent_CFLAGS="/usr/local/include"
 > $ export libevent_LIBS="/usr/local/lib"
 > }}}
 > could help.

 Ok. I built libevent2 and set these two envs, and it looks like it's
 finding libevent fine.

 > obfsproxy doesn't have a --with-libevent-dir switch in its configure
 script, and I think it's intentional, because the correct way of doing
 this is by using `pkg-config`. I'm not sure what `pkg-config` is exactly
 -- I think it's a package with some rules for each library that tells you
 where to find its objects and headers -- but that's what I remember Nick
 saying in IRC.
 > That said, we should add `pkg-config` to the to-apt-get-install-list.

 That's odd -- tor doesn't use pkg-config. I wonder if the "pkg-config vs
 --with-libevent-dir" discussion is worth a separate ticket so it doesn't
 get lost.

 > BTW, I've heard reports of people having problems with `ntohl` during
 `configure`, and I remember seeing something similar in an Ubuntu system
 some months ago. I believe it's caused by the script in `m4/winsocks.m4`,
 which was added by Zack, because ''ntohl and a bunch of related functions
 require a special library on Windows.''. Could this also cause problems in
 Linux? Unfortunately, I don't know autotools, and I won't be able to play
 with this for the next some days. Nick, any ideas?

 Correct, my ./configure now fails at
 {{{
 checking for library containing ntohl... no
 configure: error: could not find ntohl
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5009#comment:10>
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