Instalando o tmux no Ubuntu da fonte

3

Eu baixei o tmux e estou tentando instalá-lo no 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
    
por oneself 07.10.2010 / 07:01

2 respostas

8

event.h está localizado no pacote libevent-dev .

apt-get install libevent-dev

Por acaso, você pode usar o pacote tmux Ubuntu?

    
por 07.10.2010 / 07:23
0

tmux.h:30:19: error: event.h: No such file or directory

Use o apt para descobrir qual *-dev package contém event.h .

    
por 07.10.2010 / 07:03