[Clfs-support] Coreuti,ls-6.12: ginstall problem

Hugo Villeneuve hugo at hugovil.com
Sat Sep 13 17:57:55 PDT 2008


Host: LFS 32-bits
CLFS Version: SVN-20080913-x86_64-Pure64

Hi,
I have another problem compiling coreutils, at the "make install" stage:

---
test x = 'xuname chroot hostid nice who users pinky uptime stty df
[ chcon chgrp chown chmod cp dd dircolors du ginstall link ln dir vdir
ls mkdir mkfifo mknod mktemp mv nohup readlink rm rmdir shred stat sync
touch unlink cat cksum comm csplit cut expand fmt fold head join groups
md5sum nl od paste pr ptx sha1sum sha224sum sha256sum sha384sum
sha512sum shuf sort split sum tac tail tr tsort unexpand uniq wc
basename date dirname echo env expr factor false id kill logname
pathchk printenv printf pwd runcon seq sleep tee test true tty whoami
yes base64' && exit || : case 'uname chroot hostid nice who users pinky
uptime stty df [ chcon chgrp chown chmod cp dd dircolors du ginstall
link ln dir vdir ls mkdir mkfifo mknod mktemp mv nohup readlink rm
rmdir shred stat sync touch unlink cat cksum comm csplit cut expand fmt
fold head join groups md5sum nl od paste pr ptx sha1sum sha224sum
sha256sum sha384sum sha512sum shuf sort split sum tac tail tr tsort
unexpand uniq wc basename date dirname echo env expr factor false id
kill logname pathchk printenv printf pwd runcon seq sleep tee test true
tty whoami yes base64' in *\[*) \ echo "./ginstall '[' '/tools/bin/['";
\ ./ginstall '[' '/tools/bin/[';; esac ./ginstall '['
'/tools/bin/[' /bin/sh: line 2: ./ginstall: cannot execute binary file
make[5]: *** [cu-install-binPROGRAMS] Error 126 make[5]: Leaving
directory `/mnt/hvlinux64/tmp/coreutils-6.12/src'
---

It seems coreutils tries to install it's programs wih the newly
built src/ginstall. Since ginstall was compiled for a 64-bit target and
my host is 32-bits, it fails.

I have implemented a very crude workaround to use the host install
program:
  rm -v src/ginstall &&
  cp -av /usr/bin/install src/ginstall &&
  touch src/ginstall &&

Hugo V.



More information about the Clfs-support mailing list