net-snmp-5.3.3에서 perl 설치 오류
안녕하세요...
net-snmp-5.3.3을 설치하여 사용하려고 하던중 설치부터 난관이네요.
설치를 위한 환경은 아래와 같습니다.
- 설치디렉토리 : /home/test/core-snmp
- 소스디렉토리 : /home/test/src/net-snmp-5.3.3
1. net-snmp 설치 완료
소스디렉토리에서 아래와 같은 configure를 사용하여 설치하였습니다.
./configure --prefix=/home/test/core-snmp
--with-mib-modules="agentx"
--with-perl-modules
2. mib2c 수행
skeleton file을 생성하기 위하여 mib2c를 수행한 결과, 아래와 같은 에러문구를 만났습니다.
---------------에러---------------------
ERROR: You don't have the SNMP perl module installed. Please obtain
this by getting the latest source release of the net-snmp toolkit from
http://www.net-snmp.org/download/ . Once you download the source and
unpack it, the perl module is contained in the perl/SNMP directory.
See the README file there for instructions.
==> perl에서 snmp 모듈을 설치하여야 할 것으로 파악이 되어 아래와 같이 설치시도하였습니다.
3. perl에서 snmp 모듈설치 시도
소스가 들어있는 디렉토리인 /home/test/src/net-snmp-5.3.3/perl에서 perl Makefile.PL시도시
아래와 같은 에러문구를 만났습니다.
---------------에러--------------------
ERROR from evaluation of /home/test/src/net-snmp-5.3.3/perl/default_store/Makefile.PL: You need to install net-snmp first (I can't find net-snmp-config) at ./Makefile.PL line 83.
이게 설치가 돼야 mib2c를 수행할 수 있을 거 같은데 어디서 손을 데야 할지 감이 안오네요..
많은 조언부탁드리겠습니다.
감사합니다.
댓글 달기