본문 바로가기

FreeBSD/Tip

FreeBSD 6.2 이전 버전에서 mrtg 설치시 X11 오류

FreeBSD 6.2 이전 버전에서 mrtg 설치할려고 하면 다음과 같이 토해 내었다

On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set variable USE_NONDEFAULT_X11BASE.
*** Error code 1

흠.. X11BASE=${LOCALBASE} 을 make.conf 에 넣어주라는 친절한 메세지가 출력 되었다 ㅡ_ㅡ 그럴꺼면 차라리
자동으로 넣어 주는 센스는 없는걸까??  아무튼 make.conf 를 찾아서 넣어주면 되는데 그넘이 어디 있냐 하면
/etc 밑에 있다. vi 편집기 등으로 열어 X11BASE=${LOCALBASE} 를 해주면 된다.