나는 깨끗한 centos6 시스템을 가지고있다. 소스에서 tor를 컴파일 해 보라. 첫 번째 방법 (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