환경은 영문 레드햇 7.2 입니다.
컴파일시 아래와 같은 오류가 납니다.
/usr/include/tk.h:83:29: X11/Xlib.h: 그런 파일이나 디렉토리가 없음
이라는 에러가 납니다. 이것을 어떻게 처리해야 할까요?
아래는 에러가 발생한 부분으로부터의 약간 윗줄부터의 내용입니다.
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpgtcl -I../../../src/include -I/usr/X11R6/include -c -o pgtclAppInit.o pgtclAppInit.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations pgtclAppInit.o -L../../../src/interfaces/libpgtcl -lpgtcl -L../../../src/interfaces/libpq -lpq -L/usr/lib -ltcl -ldl -lieee -lm -Wl,-rpath,/usr/local/pgsql/lib -lz -lcrypt -lresolv -lnsl -ldl -lm -lbsd -lreadline -ltermcap -o pgtclsh
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpgtcl -I../../../src/include -I/usr/X11R6/include -c -o pgtkAppInit.o pgtkAppInit.c
In file included from pgtkAppInit.c:15:
/usr/include/tk.h:83:29: X11/Xlib.h: 그런 파일이나 디렉토리가 없음
make[3]: *** [pgtkAppInit.o] 오류 1
|