[tor-dev] Fwd: [tor-relays] tcmalloc in FreeBSD

Robert Ransom rransom.8774 at gmail.com
Wed Aug 8 21:22:48 UTC 2012


On 8/8/12, Nick Mathewson <nickm at alum.mit.edu> wrote:
> On Wed, Aug 8, 2012 at 4:26 PM, Jordi Espasa Clofent
> <jespasac at minibofh.org> wrote:
>>> What line does the build process use when linking Tor?
>>
>>
>> Hi again Nick,
>>
>> I have no idea, but I guess I could do the next:
>>
>> 1. Stop the tor service
>> 2. deinstall the present port
>> 3. Check the tcmalloc option is enabled
>> 4. install the port and redirect all the output to a log file
>>
>> $ /usr/local/etc/rc.d/tor stop
>> $ cd /usr/ports/security/tor
>> $ make deinstall
>> $ make showconfig
>> $ make install >& /tmp/tor_freebsd_port.log
>>
>> and send to you the log.
>>
>> What do you think?
>
> Sounds pretty involved!  Is there really no way to recompile software
> from a freebsd port without uninstalling it?

Remove (or move) the port's ‘work’ directory and run ‘make’.

(You can't easily *install* an upgraded or recompiled FreeBSD port or
package without removing the old one, though.)


Robert Ransom


More information about the tor-dev mailing list