Como compilar o Aterm no Slackware 10
Dica publicada em Linux / Miscelânea
Como compilar o Aterm no Slackware 10
# make install
./autoconf/mkinstalldirs /usr/local/bin
./autoconf/mkinstalldirs /usr/local/man/man1
make[1]: Entering directory `/home/dizastix/aterm-0.4.1/src'
gcc -DHAVE_CONFIG_H -DDEBUG_STRICT -c -I/usr/X11R6/include -I. -I.. -I. -O
ximage_utils.c
ximage_utils.c:830:2: #endif without #if
make[1]: *** [ximage_utils.o] Error 1
make[1]: Leaving directory `/home/dizastix/aterm-0.4.1/src'
make[1]: Entering directory `/home/dizastix/aterm-0.4.1/doc'
/usr/bin/ginstall -c -m 644 aterm.1 /usr/local/man/man1/aterm.1
make[1]: Leaving directory `/home/dizastix/aterm-0.4.1/doc'
make[1]: Entering directory `/home/dizastix/aterm-0.4.1/src/graphics'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/dizastix/aterm-0.4.1/src/graphics'
Para contornar o problema:
Vá para o diretório src dentro da raíz do pacote descompactado, encontre o arquivo ximage_utils.c e comente a linha 830:
829: #endif /* #ifndef LIBAFTERSTEP_HAS_SHADEXIMAGE */
830: /* #endif defined(BACKGROUND_IMAGE) || defined(TRANSPARENT) || !defined(ATERM) */ #comment this line
830: /* #endif defined(BACKGROUND_IMAGE) || defined(TRANSPARENT) || !defined(ATERM) */ #comment this line
Execute o "make" novamente que funcionará.
NOTA: Esta dica foi respondida por mim no site:
http://www.linuxquestions.org/questions/showthread.php?s=&threadid=209166
Outras dicas deste autor
Man e less não funcionam com kernel 2.6.9
Xterm e rxvt não iniciam com kernel 2.6.9?
Leitura recomendada
Trocar senha do webmin via console
Como dividir duas janelas igualmente e lado-a-lado na sua tela
SongBird 1.10, via apt-get, através do repositório Livre SO