Tiny Core Extensions > TCE Corepure64
[SOLVED] Compiling Unclutter for TinyCore 5.1 x86_64
(1/1)
fodder:
I have been trying to compile unclutter for Corepure64 5.1 for some time now with no luck.
Here is my current process:
* tce-load -wi compiletc squashfs-tools Xorg-7.7-dev libX11 libX11-dev xorg-proto
* wget -O - http://mylocal.domain/setup/pure64/tczs/imake.tcz > /mnt/sda1/tce/optional/imake.tcz
* tce-load -i imake
* cd /home/tc/
* wget -O - http://mylocal.domain/setup/pure64/tarballs/unclutter-1.09.tar.gz > unclutter-1.09.tar.gz
* tar -xvf unclutter-1.09.tar.gz
* cd /home/tc/unclutter-1.09
* xmkmf
* make
* make DESTDIR=/tmp/unclutter install
* mksquashfs /tmp/unclutter/ /mnt/sda1/tce/optional/unclutter.tcz
* tce-load -i unclutter
Results of xmkmf:
--- Code: ---mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/local/lib/X11/config
--- End code ---
Results of make:
--- Code: ---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
--- End code ---
Results of make install:
--- Code: ---+ mkdir -p /tmp/unclutter/opt/csw/bin
install -c unclutter /tmp/unclutter/opt/csw/bin/unclutter
install in . done
--- End code ---
Unclutter appears to install correctly:
--- Code: ---/etc/sysconfig/tcedir/optional/unclutter.tcz: OK
--- End code ---
But trying to run it gives with no parameters or something like, "unclutter -idle 30 -root", results in:
--- Code: ---sh: unclutter: not found
--- End code ---
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
curaga:
The "not found" is a standard error for missing an interpreter. Double-check your unclutter binary, open it in nano, try file, ldd, strace on it, etc.
fodder:
--- Quote from: curaga on January 15, 2014, 02:50:55 PM ---The "not found" is a standard error for missing an interpreter. Double-check your unclutter binary, open it in nano, try file, ldd, strace on it, etc.
--- End quote ---
This is one of the many reasons I love the Tiny Core distro. The community is genuinely helpful and responsive.
Thanks so much, curaga - it hadn't crossed my mind that the source I downloaded form SourceForge could be the issue. But sure enough, I tried the older version (1.08) instead and it works like a charm. (I did try downloading 1.09 again, in case corruption was introduced during the download, but it still didn't work.)
Again, thanks so much for your help.
Navigation
[0] Message Index
Go to full version