After applying patch I get: Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- config.c.orig Sun Jun 3 14:15:13 2007 |+++ config.c Sun Jun 3 14:15:17 2007 -------------------------- Patching file config.c using Plan A... patch: **** malformed patch at line 5: defined(__NetBSD__)
and after ./configure && make I get same error as before ----- Original Message ----- From: "Nils Vogels" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: or-talk@freehaven.net Date: Sun, 3 Jun 2007 14:38:44 +0200 Subject: Re: Compile TOR 0.1.2.14 under FreeBSD > > Copy the patch as a file into your tor-1.2.14/src/or, and apply it like > this: > > # cp /tmp/patch tor-1.2.14/src/or > # cd tor-1.2.14/src/or > # patch -p0 < patch > # cd ../.. > # ./configure && make > > It's all in the patch manpage as well, btw. > > HTH & HAND > > On 6/3/07, Mr. Blue <[EMAIL PROTECTED]> wrote: > > How should Iapply it? > > > > > > ----- Original Message ----- > > From: "Nils Vogels" <[EMAIL PROTECTED]> > > To: or-talk@freehaven.net > > Date: Sun, 3 Jun 2007 14:20:13 +0200 > > Subject: Re: Compile TOR 0.1.2.14 under FreeBSD > > > > > > > > > > > There is a small typo there. > > > > > > Try this patch: > > > > > > --- config.c.orig Sun Jun 3 14:15:13 2007 > > > +++ config.c Sun Jun 3 14:15:17 2007 > > > @@ -3901,7 +3901,7 @@ > > > #if defined(__OpenBSD__) || defined(__FreeBSD__) || > > > > > defined(__NetBSD__) > > > if (server && version < LE_13B) { > > > thread_unsafe = 1; > > > - sad_os = "BSD variants" > > > + sad_os = "BSD variants"; > > > } > > > #elif defined(__APPLE__) || defined(__darwin__) > > > if (server && version < LE_13B) { > > > > > > > > > On 6/3/07, Mr. Blue <[EMAIL PROTECTED]> wrote: > > > > cd /usr/local/tor-0.1.2.14 > > > > ./configure > > > > make > > > > > > > > And here is an echo after typing make: > > > > > > > > make all-recursive > > > > Making all in src > > > > Making all in common > > > > Making all in or > > > > gcc -DHAVE_CONFIG_H -I. -I../.. > > > > -I/usr/local/include -g -O2 -Wall -g -O2 -MT > > config.o > > > > -MD -MP -MF .deps/config.Tpo -c -o config.o > > config.c > > > > config.c: In function `check_libevent_version': > > > > config.c:3905: error: syntax error before '}' > > token > > > > *** Error code 1 > > > > > > > > Stop in /usr/local/tor-0.1.2.14/src/or. > > > > *** Error code 1 > > > > > > > > Stop in /usr/local/tor-0.1.2.14/src. > > > > *** Error code 1 > > > > > > > > Stop in /usr/local/tor-0.1.2.14. > > > > *** Error code 1 > > > > > > > > Stop in /usr/local/tor-0.1.2.14. > > > > > > > > > > > > Libevent is 1.3b latest version and it works with > > > > current Tor version > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Peter Palfrader" <[EMAIL PROTECTED]> > > > > To: or-talk@freehaven.net > > > > Date: Sun, 3 Jun 2007 14:03:15 +0200 > > > > Subject: Re: Compile TOR 0.1.2.14 under FreeBSD > > > > > > > > > > > > > > On Sun, 03 Jun 2007, Mr. Blue wrote: > > > > > > > > > > > Has anyone done this successfully under > > FreeBSD 6. > > > > > > > > > > > > There is no package for latest Tor but onlty > > for > > > > > > 0.1.1.26, so I am forced to install it from > > > > source. > > > > > > > > > > > > ./configure passes well, but > > > > > > I get error after typing: make > > > > > > > > > > Much to learn you have, young Skywalker. One of > > the > > > > things is that > > > > > crystal balls are hardly reliably (for instance > > mine > > > > has been in > > > > > maintenance for the last three weeks and it's > > still > > > > not back), so it's > > > > > always a good idea to share the error message > > with > > > > some context. At > > > > > least for those whose divination devices are not > > in > > > > working order at > > > > > the > > > > > moment. > > > > > -- > > > > > | .''`. ** Debian GNU/Linux ** > > > > > Peter Palfrader | : :' : The universal > > > > > http://www.palfrader.org/ | `. `' Operating > > System > > > > > | `- http://www.debian.org/ > > > > > > > > > > > > > > > > > > > > > > > > > > ____________________________________________________________________________________ > > > > Got a little couch potato? > > > > Check out fun summer activities for kids. > > > > > > > > > > > > > > http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz > > > > > > > > > > > > > -- > > > Simple guidelines to happiness: > > > Work like you don't need the money, > > > Love like your heart has never been broken and > > > Dance like no one can see you. > > > > > > > > > > > > > ____________________________________________________________________________________ > > Yahoo! oneSearch: Finally, mobile search > > that gives answers, not web links. > > http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC > > > > > -- > Simple guidelines to happiness: > Work like you don't need the money, > Love like your heart has never been broken and > Dance like no one can see you. > ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097