I have been trying to compile unclutter for Corepure64 5.1 for some time now with no luck.
Here is my current process:
Results of xmkmf:
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/local/lib/X11/config
Results of make:
gcc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/local/include -Dlinux -D__amd64__ -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 -c -o unclutter.o unclutter.c
unclutter.c: In function 'pexit':
unclutter.c:45:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
rm -f unclutter
gcc -o unclutter -O2 -fno-strength-reduce -fno-strict-aliasing -L/usr/local/lib64 unclutter.o -lXext -lX11
rm -f unclutter._man
if test -z "" ; then \
cd `dirname unclutter` && \
ln -s `basename unclutter.man` `basename unclutter._man`; \
else \
cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \
< unclutter.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >unclutter._man; \
fi
Results of make install:
+ mkdir -p /tmp/unclutter/opt/csw/bin
install -c unclutter /tmp/unclutter/opt/csw/bin/unclutter
install in . done
Unclutter appears to install correctly:
/etc/sysconfig/tcedir/optional/unclutter.tcz: OK
But trying to run it gives with no parameters or something like, "unclutter -idle 30 -root", results in:
sh: unclutter: not found
The only dependencies that I can find are libX11, and xproto, both of which are loaded.
I'm probably missing something obvious, but am at a loss.
Any ideas? Am I missing a dependency or make flag?
Thanks for any help,
fodder