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? [1]: http://crux.nu/Main/PortGuidelines Just curious and looking to fix a problem that vexed me for a bit, or at least document it for future users. Regards, -- dave [ please don't CC me ]
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
* Juergen Daubert <jue@jue.li> [2011-05-19 19:14 +0300]:
Based on the port guidelines [1], should xorg-libxt should be listed as a dependency in the scrotwm Pkgfile?
Thanks for the report. It's a bug, the scrotwm port should list xorg-libxt as a dependency. I'll fix that.
Good to know I didn't miss something simple - thanks! -- dave [ please don't CC me ]
participants (2)
-
David J. Weller-Fahy
-
Juergen Daubert