On Thu, May 19, 2011 at 06:43:29PM +0300, David J. Weller-Fahy wrote:
While installing scrotwm today in a fresh installation of 2.7 (note - this is before installing xorg), the compilation failed with the error message below.
#v+ $ sudo prt-get depinst scrotwm ... gcc -O2 -march=i686 -pipe -Wall -ggdb -D_GNU_SOURCE -I. -DSWM_LIB=\"/usr/lib/libswmhack.so.0.0\" -c -fpic -DPIC swm_hack.c -o swm_hack.so swm_hack.c:51:27: fatal error: X11/Intrinsic.h: No such file or directory compilation terminated. make: *** [swm_hack.so] Error 1 #v-
Installing xorg-libxt fixes the problem, and I wonder: Based on the port guidelines [1], should xorg-libxt should be listed as a dependency in the scrotwm Pkgfile? Or should it remain unlisted because (in general) xorg will be installed before you start installing scrotwm?
Thanks for the report. It's a bug, the scrotwm port should list xorg-libxt as a dependency. I'll fix that. regards Juergen -- Juergen Daubert | mailto:jue@jue.li Korb, Germany | http://jue.li/crux