다운로드했습니다티먹스Ubuntu 10.04에 설치하려고합니다.
$ ./configure
Configured for Linux
$ make
cc -DBUILD="\"1.3\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o attributes.o attributes.c
In file included from attributes.c:23:
tmux.h:30:19: error: event.h: No such file or directory
In file included from attributes.c:23:
tmux.h:831: error: field ‘name_timer’ has incomplete type
tmux.h:1025: error: field ‘key_timer’ has incomplete type
tmux.h:1086: error: field ‘event’ has incomplete type
tmux.h:1102: error: field ‘repeat_timer’ has incomplete type
tmux.h:1122: error: field ‘identify_timer’ has incomplete type
tmux.h:1125: error: field ‘message_timer’ has incomplete type
make: *** [attributes.o] Error 1
답변1
event.h는 패키지에 있습니다 libevent-dev
.
apt-get install libevent-dev
그런데 tmux
Ubuntu 패키지를 사용할 수 있나요?
답변2
tmux.h:30:19: 오류: event.h: 해당 파일이나 디렉터리가 없습니다.
apt를 사용하여 어떤 *-dev
패키지에 event.h
.