私はclean centos6システムを持っているので、ソースからtorをコンパイルしてみてください。 第1の方法(yumによるlibeventのインストール)。私が行いますcentos6でコンパイルしてください。 libeventの問題
yum install libevent2
yum install libevent2-devel
...
(inside tor folder): ./configure
make
とエラーが出る:
src/common/libor-event.a(compat_libevent.o): In function `tor_gettimeofday_cache_clear':
/root/tor-0.3.1.7/src/common/compat_libevent.c:250: undefined reference to `event_base_update_cache_time'
collect2: ld returned 1 exit status
make[1]: *** [src/or/tor] Error 1
make[1]: Leaving directory `/root/tor-0.3.1.7'
make: *** [all] Error 2
第二の方法(ソースからのlibeventをインストールします)。
yum remove libevent2
yum remove libevent2-devel
..
(from libevent folder): ./configure
make
make install
..
(from tor folder): ./configure
とエラーが表示されます。
だから、checking whether we need extra options to link libevent... configure: error: Found linkable libevent in (system), but it does not seem to run, even with -R. Maybe specify another using --with-libevent-dir}
、私が間違って何をやっている)次に何をすべきか?
正確なバージョン:Linuxバージョン2.6.32-696.13.2.el6.x86_64([email protected])(gccバージョン4.4.7 20120313(Red Hat 4.4.7-18)(GCC) ) – anagamin