COREEMU-SLACKWARE64-14.1-HOWTO (HOWTOYKY -> HOWTO You Know Why) Author: Rossano Pablo Pinto (rossano at gmail dot com) Date: Mon Feb 10 09:01:26 BRST 2014 This HOWTO shows how to install COREEMU into Slackware 14.1 64 bits. Also, HOWTOYKW tries to explain WHY some steps are required (when it steps off the beaten track). STEPS: 0. As root: cd /opt 1. Download http://downloads.pf.itd.nrl.navy.mil/core/source/core-4.6.tar.gz 2. Download http://dist.schmorp.de/libev/libev-4.15.tar.gz 3. cd /opt; tar -xvzf libev-4.15.tar.gz cd libev-4.15 ./configure make make install 4. cd /opt; tar -xvzf core-4.6.tar.gz cd core-4.6/ ./bootstrap.sh CFLAGS="-fno-strict-aliasing $CFLAGS" ./configure make make install 5. Update library stuff ldconfig 6. Create a link to wish8.6 named wish8.5 cd /usr/bin ln -s wish8.6 wish8.5 ------------------------------------------------------- ----------- Installation Complete --------------------- -------------------- Testing: 7. Start core-daemon /etc/init.d/core-daemon start 8. As a non-admin user core-gui 9. Enjoy ; ------------------------------- WHY SOME STEPS ?? ------------ ===> Step 4 CFLAGS="-fno-strict-aliasing $CFLAGS" ./configure This sub-step is necessary because of this error (appears when you execute only ./configure and tries to compile with "make"): ... vcmdmodule.c:168:3: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] ... So, the solution is to disable gcc strict-aliasing with a CFLAGS -fno-strict-aliasing. ====> Step 6 Step 6 must be execute because of this output from "strace core-gui": .... rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 faccessat(AT_FDCWD, "/usr/local/bin/wish8.5", X_OK) = -1 ENOENT (No such file or directory) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 faccessat(AT_FDCWD, "/usr/bin/wish8.5", X_OK) = -1 ENOENT (No such file or directory) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 write(1, "CORE could not locate the Tcl/Tk"..., 51CORE could not locate the Tcl/Tk binary (wish8.5). .... It tries to find wish8.5 but could not find. So, as Slackware64 14.1 comes with wish8.6, I created a link name wish8.5 pointing to wish8.6.