>>> Compiling source in /var/tmp/portage/xsnap-1.4.3-r1/work/xsnap-1.4.3 ... imake -DUseInstalled -I/usr/lib/X11/config gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/X11R6/include/X11 -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DXPM -DPNG -DJPG -c -o xsnap.o xsnap.c xsnap.c:1138:17: error: xpm.h: No such file or directory xsnap.c: In function 'save_as_xpm_file': xsnap.c:1147: error: 'XpmAttributes' undeclared (first use in this function) xsnap.c:1147: error: (Each undeclared identifier is reported only once xsnap.c:1147: error: for each function it appears in.) xsnap.c:1147: error: expected ';' before 'attributes' xsnap.c:1149: error: 'attributes' undeclared (first use in this function) xsnap.c:1152: error: 'XpmColormap' undeclared (first use in this function) xsnap.c:1152: error: 'XpmSize' undeclared (first use in this function) make: *** [xsnap.o] Error 1 !!! ERROR: x11-misc/xsnap-1.4.3-r1 failed
The dependency was ok - Imakefile used /usr/X11R6/ instead of /usr/ - fixed.