[tor-bugs] #1989 [Tor bundles/installation]: Tor in OS X bundle uses wrong path for geoip file

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Oct 25 02:47:40 UTC 2010


#1989: Tor in OS X bundle uses wrong path for geoip file
--------------------------------------+-------------------------------------
 Reporter:  Tas                       |       Owner:  erinn              
     Type:  defect                    |      Status:  assigned           
 Priority:  normal                    |   Milestone:  Tor: 0.2.2.x-final 
Component:  Tor bundles/installation  |     Version:  Tor: 0.2.2.15-alpha
 Keywords:  help                      |      Parent:                     
--------------------------------------+-------------------------------------

Comment(by Sebastian):

 Replying to [comment:11 arma]:
 > Replying to [comment:9 arma]:
 > > Another cheap solution would be to build the tor binary that goes in
 the os x vidalia bundle with a hard-coded sharedir which is the place
 where we put geoip, polipo.conf, etc. That would solve the immediate
 problem.
 >
 > I think this is the short-term hack that we should do. The OS X Vidalia
 bundle will already fail if they install it to anywhere other than the
 directory we expect them to install it to, because the polipo paths will
 be wrong. So why not assume just one more hard-coded path. :/

 I believe this to be wrong for tbb (mac & linux) also. I believe we can't
 really fix it without the Vidalia fix.

 >
 > > How does OS X TBB solve this? As Sebastian says, it needs to have its
 paths be relative to where you're running it from. Does OS X TBB still use
 a hard-coded polipo config file location?
 >
 > The answer is that the paths specified in the vidalia.conf file are
 relative. So we should just make sure that the Tor built for the OS X TBB
 has a sharedir arg set during ./configure to point to the directory that
 we put the geoip file. Done.

 It's not that easy, that was my first thought. We can't pick relative
 paths:

 {{{
 configure: error: expected an absolute directory name for --datarootdir:
 test/bla
 }}}

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


More information about the tor-bugs mailing list