리눅스 ./configure 에서 특정 파일을 못 찾네요.

wbjun1의 이미지

root@maverick-virtual-machine:/usr/local/src/rtsim-code-173/rtsgui# ./configure
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
...
checking for max... no
checking for min... no
checking for pow... yes
checking if debug is enabled... no
checking for pkg-config... no
checking metasim.hpp usability... no
checking metasim.hpp presence... no
checking for metasim.hpp... no
configure: error: metasim header not found.

./configure 중 metasim 헤더를 못 찾네요.
metasim은 설치가 완료된 상태이며 /usr/local/include/metasim 폴더에 metasim.hpp 파일 등이 존재함을 확인하였습니다.

어떻게 해야될 지 힌트 좀 주시기 바랍니다.

김정균의 이미지

다음과 같이 한번 해 보시죠.

CPPFLAGS="-I/usr/local/include/metasim" ./configure

"metasim.hpp"를

#include <metasim/metasim.hpp>

와 같이 검사하는 것이 아니라면, metasim/metasim.hpp 로 위치한다면, 해당 디렉토리를 명시해 줘야 할 것 같습니다.